DeterminateSystems/zero-to-nix

Is `github:DeterminateSystems/zero-to-nix#example` not reproducible?

l0b0 opened this issue · 1 comments

l0b0 commented

https://zero-to-nix.com/start/nix-develop says (my emphasis):

For curl, for example, you should see a strange path like this (the hash part should be different on your machine):

Shouldn't the hash part be identical on every machine?

The hash should be different on each system type (x86_64 Linux vs aarch64 macOS vs etc) because system is a required attribute in every Nix derivation. I typically use fake hashes in documentation to make sure not to confuse readers by ensuring that no one sees the hash that I get on my own machine.