about summary refs log tree commit diff
path: root/pkgs/development/libraries/libcacard/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/libraries/libcacard/default.nix')
-rw-r--r--pkgs/development/libraries/libcacard/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/libraries/libcacard/default.nix b/pkgs/development/libraries/libcacard/default.nix
index 5f987943d8df..1dd07a9d6ec2 100644
--- a/pkgs/development/libraries/libcacard/default.nix
+++ b/pkgs/development/libraries/libcacard/default.nix
@@ -9,7 +9,7 @@ stdenv.mkDerivation rec {
     sha256 = "sha256-+79N6Mt9tb3/XstnL/Db5pOfufNEuQDVG6YpUymjMuc=";
   };
 
-  postPatch = lib.optionalString stdenv.isDarwin ''
+  postPatch = lib.optionalString stdenv.hostPlatform.isDarwin ''
     sed -i '/--version-script/d' Makefile.in
     sed -i 's/^vflag = .*$/vflag = ""/' meson.build
   '';