aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2021-01-13 23:31:18 +0100
committerEelco Dolstra <edolstra@gmail.com>2021-01-13 23:32:37 +0100
commitd33eca8539d2e66759f7b52fa7b0db4a6a1ba673 (patch)
tree19b8c8ba6d0d5fc08e6b046e1090ae7e95d979f5 /doc
parent61216d32e1c0973424d549c9f3065426b51015c9 (diff)
Rename 'nix store sign-paths' to 'nix store sign'
Diffstat (limited to 'doc')
-rw-r--r--doc/manual/src/advanced-topics/post-build-hook.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/manual/src/advanced-topics/post-build-hook.md b/doc/manual/src/advanced-topics/post-build-hook.md
index bbdabed41..fcb52d878 100644
--- a/doc/manual/src/advanced-topics/post-build-hook.md
+++ b/doc/manual/src/advanced-topics/post-build-hook.md
@@ -53,7 +53,7 @@ set -f # disable globbing
export IFS=' '
echo "Signing paths" $OUT_PATHS
-nix sign-paths --key-file /etc/nix/key.private $OUT_PATHS
+nix store sign --key-file /etc/nix/key.private $OUT_PATHS
echo "Uploading paths" $OUT_PATHS
exec nix copy --to 's3://example-nix-cache' $OUT_PATHS
```
@@ -63,7 +63,7 @@ exec nix copy --to 's3://example-nix-cache' $OUT_PATHS
> The `$OUT_PATHS` variable is a space-separated list of Nix store
> paths. In this case, we expect and want the shell to perform word
> splitting to make each output path its own argument to `nix
-> sign-paths`. Nix guarantees the paths will not contain any spaces,
+> store sign`. Nix guarantees the paths will not contain any spaces,
> however a store path might contain glob characters. The `set -f`
> disables globbing in the shell.