Update doc/manual/src/advanced-topics/post-build-hook.md

Co-authored-by: Valentin Gagarin <valentin.gagarin@tweag.io>
This commit is contained in:
Robert Hensing 2023-09-27 23:10:39 +01:00 committed by GitHub
parent c4df53f154
commit dafa38213b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -69,7 +69,7 @@ exec nix copy --to "s3://example-nix-cache" $OUT_PATHS
> store sign`. 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` > however a store path might contain glob characters. The `set -f`
> disables globbing in the shell. > disables globbing in the shell.
> If you want to upload the .drv file too, the `$DRV_PATH` variable > If you want to upload the `.drv` file too, the `$DRV_PATH` variable
> is also defined for the script and works just like `$OUT_PATHS`. > is also defined for the script and works just like `$OUT_PATHS`.
Then make sure the hook program is executable by the `root` user: Then make sure the hook program is executable by the `root` user: