about summary refs log tree commit diff
path: root/pkgs/tools/misc/convbin/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/tools/misc/convbin/default.nix')
-rw-r--r--pkgs/tools/misc/convbin/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/tools/misc/convbin/default.nix b/pkgs/tools/misc/convbin/default.nix
index 96164902dc2c..7d61c684f9cb 100644
--- a/pkgs/tools/misc/convbin/default.nix
+++ b/pkgs/tools/misc/convbin/default.nix
@@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
     sha256 = "sha256-zCRM62xwaPaN8+cg+CeaqK/9hKpZmSBBeUOQqAvQGYw=";
   };
 
-  postPatch = lib.optionalString stdenv.isDarwin ''
+  postPatch = lib.optionalString stdenv.hostPlatform.isDarwin ''
     substituteInPlace Makefile --replace "-flto" ""
   '';