diff options
Diffstat (limited to 'doc/manual/src/advanced-topics/diff-hook.md')
-rw-r--r-- | doc/manual/src/advanced-topics/diff-hook.md | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/doc/manual/src/advanced-topics/diff-hook.md b/doc/manual/src/advanced-topics/diff-hook.md index 6e5834a15..367de6d6d 100644 --- a/doc/manual/src/advanced-topics/diff-hook.md +++ b/doc/manual/src/advanced-topics/diff-hook.md @@ -1,6 +1,6 @@ # Verifying Build Reproducibility -You can use Nix's `diff-hook` setting to compare build results. Note +You can use Lix's `diff-hook` setting to compare build results. Note that this hook is only executed if the results differ; it is not used for determining if the results are the same. @@ -44,7 +44,7 @@ built. Verify a path which already exists in the Nix store by passing `--check` to the build command. -If the build passes and is deterministic, Nix will exit with a status +If the build passes and is deterministic, Lix will exit with a status code of 0: ```console @@ -59,7 +59,7 @@ checking outputs of '/nix/store/z98fasz2jqy9gs0xbvdj939p27jwda38-stable.drv'... /nix/store/yyxlzw3vqaas7wfp04g0b1xg51f2czgq-stable ``` -If the build is not deterministic, Nix will exit with a status code of +If the build is not deterministic, Lix will exit with a status code of 1: ```console @@ -75,7 +75,7 @@ error: derivation '/nix/store/cgl13lbj1w368r5z8gywipl1ifli7dhk-unstable.drv' may not be deterministic: output '/nix/store/krpqk0l9ib0ibi1d2w52z293zw455cap-unstable' differs ``` -In the Nix daemon's log, we will now see: +In the Lix daemon's log, we will now see: ``` For derivation /nix/store/cgl13lbj1w368r5z8gywipl1ifli7dhk-unstable.drv: @@ -85,7 +85,7 @@ For derivation /nix/store/cgl13lbj1w368r5z8gywipl1ifli7dhk-unstable.drv: > 30204 ``` -Using `--check` with `--keep-failed` will cause Nix to keep the second +Using `--check` with `--keep-failed` will cause Lix to keep the second build's output in a special, `.check` path: ```console @@ -98,7 +98,7 @@ from '/nix/store/krpqk0l9ib0ibi1d2w52z293zw455cap-unstable.check' ``` In particular, notice the -`/nix/store/krpqk0l9ib0ibi1d2w52z293zw455cap-unstable.check` output. Nix +`/nix/store/krpqk0l9ib0ibi1d2w52z293zw455cap-unstable.check` output. Lix has copied the build results to that directory where you can examine it. > []{#check-dirs-are-unregistered} **Note** @@ -114,7 +114,7 @@ has copied the build results to that directory where you can examine it. > build was not deterministic and also a check path does not exist. `--check` is only usable if the derivation has been built on the system -already. If the derivation has not been built Nix will fail with the +already. If the derivation has not been built Lix will fail with the error: error: some outputs of '/nix/store/hzi1h60z2qf0nb85iwnpvrai3j2w7rr6-unstable.drv' |