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)
|
||||
for pkg, out in staged:
|
||||
print(f" attic push {ATTIC_CACHE} {out} ({pkg})", flush=True)
|
||||
print(
|
||||
"Re-run with --push (or PUBLISH=1) to actually publish.", flush=True
|
||||
)
|
||||
print("Re-run with --push (or PUBLISH=1) to actually publish.", flush=True)
|
||||
return
|
||||
|
||||
# PUBLISH: build attic-client out of nixpkgs, log in, push every closure.
|
||||
|
||||
@@ -371,8 +371,7 @@
|
||||
type = "app";
|
||||
program = "${prog}/bin/${name}";
|
||||
meta.description =
|
||||
"flake-hub ${arch} — stage closures then attic push "
|
||||
+ "(dry-run unless --push/PUBLISH=1)";
|
||||
"flake-hub ${arch} — stage closures then attic push " + "(dry-run unless --push/PUBLISH=1)";
|
||||
};
|
||||
in
|
||||
{
|
||||
@@ -408,8 +407,7 @@
|
||||
};
|
||||
in
|
||||
"${p}/bin/publish";
|
||||
meta.description =
|
||||
"flake-hub — publish all locally-buildable arches (amd64; arm64 node-bound)";
|
||||
meta.description = "flake-hub — publish all locally-buildable arches (amd64; arm64 node-bound)";
|
||||
};
|
||||
}
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user