about summary refs log tree commit diff
path: root/pkgs/tools/text/hyx/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/tools/text/hyx/default.nix')
-rw-r--r--pkgs/tools/text/hyx/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/tools/text/hyx/default.nix b/pkgs/tools/text/hyx/default.nix
index 3cbcac20966a2..e41f9bbfceb29 100644
--- a/pkgs/tools/text/hyx/default.nix
+++ b/pkgs/tools/text/hyx/default.nix
@@ -9,7 +9,7 @@ stdenv.mkDerivation rec {
     sha256 = "sha256-dufx3zsabeet7Rp0d60MIuNqisIQd6UgE7WDZYNHl3E=";
   };
 
-  postPatch = lib.optionalString stdenv.isDarwin ''
+  postPatch = lib.optionalString stdenv.hostPlatform.isDarwin ''
     substituteInPlace Makefile \
       --replace "-Wl,-z,relro,-z,now -fpic -pie" ""
   '';