about summary refs log tree commit diff
path: root/pkgs/tools/system/rowhammer-test/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/tools/system/rowhammer-test/default.nix')
-rw-r--r--pkgs/tools/system/rowhammer-test/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/tools/system/rowhammer-test/default.nix b/pkgs/tools/system/rowhammer-test/default.nix
index c19f7a54f0dd..0287a3d3a5fb 100644
--- a/pkgs/tools/system/rowhammer-test/default.nix
+++ b/pkgs/tools/system/rowhammer-test/default.nix
@@ -11,7 +11,7 @@ stdenv.mkDerivation {
     sha256 = "1fbfcnm5gjish47wdvikcsgzlb5vnlfqlzzm6mwiw2j5qkq0914i";
   };
 
-  env.NIX_CFLAGS_COMPILE = lib.optionalString stdenv.isi686 "-Wno-error=format";
+  env.NIX_CFLAGS_COMPILE = lib.optionalString stdenv.hostPlatform.isi686 "-Wno-error=format";
 
   buildPhase = "sh -e make.sh";