Open
Description
Describe the bug
The derivation for Nix itself does not produce the same output every time on aarch64-darwin
Steps To Reproduce
- clone
https://github.com/NixOS/nix
on an aarch64-darwin machine (reproduced most recently on ef26133) - run
nix build
- run
nix build --rebuild
- observe the message
error: derivation '/nix/store/bihwslylwknilfw0pvwdry5nfp5snjhh-nix-2.22.0pre20240328_ef26133.drv' may not be deterministic: output '/nix/store/wsy8xc2c2s2q1na18h6n1jc0q9qjv5sp-nix-2.22.0pre20240328_ef26133' differs
Expected behavior
Nix's build should have deterministic outputs
nix-env --version
output:
nix-env (Nix) 2.19.2
(The Nix version I'm using to build Nix master)
Additional context
I reproduced this with sandboxing on, and on two different M1 MacBooks.
Priorities
Add 👍 to issues you find important.