style: auto-format from pre-push hooks
This commit is contained in:
+1
-3
@@ -136,9 +136,7 @@ def main():
|
|||||||
print("DRY-RUN: would push the following closures:", flush=True)
|
print("DRY-RUN: would push the following closures:", flush=True)
|
||||||
for pkg, out in staged:
|
for pkg, out in staged:
|
||||||
print(f" attic push {ATTIC_CACHE} {out} ({pkg})", flush=True)
|
print(f" attic push {ATTIC_CACHE} {out} ({pkg})", flush=True)
|
||||||
print(
|
print("Re-run with --push (or PUBLISH=1) to actually publish.", flush=True)
|
||||||
"Re-run with --push (or PUBLISH=1) to actually publish.", flush=True
|
|
||||||
)
|
|
||||||
return
|
return
|
||||||
|
|
||||||
# PUBLISH: build attic-client out of nixpkgs, log in, push every closure.
|
# PUBLISH: build attic-client out of nixpkgs, log in, push every closure.
|
||||||
|
|||||||
@@ -371,8 +371,7 @@
|
|||||||
type = "app";
|
type = "app";
|
||||||
program = "${prog}/bin/${name}";
|
program = "${prog}/bin/${name}";
|
||||||
meta.description =
|
meta.description =
|
||||||
"flake-hub ${arch} — stage closures then attic push "
|
"flake-hub ${arch} — stage closures then attic push " + "(dry-run unless --push/PUBLISH=1)";
|
||||||
+ "(dry-run unless --push/PUBLISH=1)";
|
|
||||||
};
|
};
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
@@ -408,8 +407,7 @@
|
|||||||
};
|
};
|
||||||
in
|
in
|
||||||
"${p}/bin/publish";
|
"${p}/bin/publish";
|
||||||
meta.description =
|
meta.description = "flake-hub — publish all locally-buildable arches (amd64; arm64 node-bound)";
|
||||||
"flake-hub — publish all locally-buildable arches (amd64; arm64 node-bound)";
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user