about summary refs log tree commit diff
path: root/pkgs/development/libraries/libunarr/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/libraries/libunarr/default.nix')
-rw-r--r--pkgs/development/libraries/libunarr/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/libraries/libunarr/default.nix b/pkgs/development/libraries/libunarr/default.nix
index d73bed773dff..c53196afe420 100644
--- a/pkgs/development/libraries/libunarr/default.nix
+++ b/pkgs/development/libraries/libunarr/default.nix
@@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
     hash = "sha256-Mo76BOqZbdOJFrEkeozxdqwpuFyvkhdONNMZmN5BdNI=";
   };
 
-  postPatch = lib.optionalString stdenv.isDarwin ''
+  postPatch = lib.optionalString stdenv.hostPlatform.isDarwin ''
     substituteInPlace CMakeLists.txt \
       --replace "-flto" "" \
       --replace "AppleClang" "Clang"