From 91132ba30f71e94228a29b317e2dabd0dc13435e Mon Sep 17 00:00:00 2001 From: Noam Yorav-Raphael Date: Fri, 12 Apr 2024 13:26:28 +0300 Subject: [PATCH] Fix description: Nix only looks at the hashes of all referenced outputs. --- pills/09-automatic-runtime-dependencies.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pills/09-automatic-runtime-dependencies.md b/pills/09-automatic-runtime-dependencies.md index 67c23d2..727c3e2 100644 --- a/pills/09-automatic-runtime-dependencies.md +++ b/pills/09-automatic-runtime-dependencies.md @@ -55,7 +55,7 @@ Nix handles runtime dependencies for us automatically. The technique it uses to 3. Each hash which is found somewhere in the NAR is recorded as a runtime dependency. -(For completeness: some derivations have multiple output paths. In that case, Nix will search for the hashes of all the outputs. Also, Nix will search for the hashes of source dependencies, such as our `build.sh` file. The authoritative definition is the [source code](https://github.com/NixOS/nix/blob/a268c0de7192188c7233bf83a4635198c360e270/src/libstore/build/local-derivation-goal.cc#L2220-L2227).) +(For completeness: some derivations have multiple output paths. In that case, Nix will search for the hashes of all the referenced outputs. Also, Nix will search for the hashes of source dependencies, such as our `build.sh` file. The authoritative definition is the [source code](https://github.com/NixOS/nix/blob/a268c0de7192188c7233bf83a4635198c360e270/src/libstore/build/local-derivation-goal.cc#L2220-L2227).) The snippet below shows the dependencies for `hello`.