about summary refs log tree commit diff
path: root/pkgs/development/compilers/gprolog/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/compilers/gprolog/default.nix')
-rw-r--r--pkgs/development/compilers/gprolog/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/compilers/gprolog/default.nix b/pkgs/development/compilers/gprolog/default.nix
index 6868ca9f8d8f..3cd5c1bcfa4c 100644
--- a/pkgs/development/compilers/gprolog/default.nix
+++ b/pkgs/development/compilers/gprolog/default.nix
@@ -12,7 +12,7 @@ stdenv.mkDerivation rec {
     sha256 = "sha256-ZwZCtDwPqifr1olh77F+vnB2iPkbaAlWbd1gYTlRLAE=";
   };
 
-  hardeningDisable = lib.optional stdenv.isi686 "pic";
+  hardeningDisable = lib.optional stdenv.hostPlatform.isi686 "pic";
 
   patchPhase = ''
     sed -i -e "s|/tmp/make.log|$TMPDIR/make.log|g" src/Pl2Wam/check_boot