diff --git a/pkgs/test/stdenv/hooks.nix b/pkgs/test/stdenv/hooks.nix index ba5da511c6fef1b..eb1b3f61bda629a 100644 --- a/pkgs/test/stdenv/hooks.nix +++ b/pkgs/test/stdenv/hooks.nix @@ -115,7 +115,7 @@ name = "test-reproducible-builds"; buildCommand = '' # can't be tested more precisely because the value of random-seed changes depending on the output - [[ $env.NIX_CFLAGS_COMPILE =~ "-frandom-seed=" ]] + [[ $NIX_CFLAGS_COMPILE =~ "-frandom-seed=" ]] touch $out ''; };