about summary refs log tree commit diff
path: root/pkgs/test/stdenv/hooks.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/test/stdenv/hooks.nix')
-rw-r--r--pkgs/test/stdenv/hooks.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/test/stdenv/hooks.nix b/pkgs/test/stdenv/hooks.nix
index 3d72efae6c479..d7c409e621562 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
-      [[ $NIX_CFLAGS_COMPILE =~ "-frandom-seed=" ]]
+      [[ $env.NIX_CFLAGS_COMPILE =~ "-frandom-seed=" ]]
       touch $out
     '';
   };