about summary refs log tree commit diff
path: root/pkgs/development/libraries/exiv2/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/libraries/exiv2/default.nix')
-rw-r--r--pkgs/development/libraries/exiv2/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/development/libraries/exiv2/default.nix b/pkgs/development/libraries/exiv2/default.nix
index 1591b8021501..56edbdab5d53 100644
--- a/pkgs/development/libraries/exiv2/default.nix
+++ b/pkgs/development/libraries/exiv2/default.nix
@@ -39,7 +39,7 @@ stdenv.mkDerivation rec {
     removeReferencesTo
   ];
 
-  buildInputs = lib.optionals stdenv.isDarwin [
+  buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [
     libiconv
   ];
 
@@ -76,7 +76,7 @@ stdenv.mkDerivation rec {
     # Fix tests on arm
     # https://github.com/Exiv2/exiv2/issues/933
     rm -f ../tests/bugfixes/github/test_CVE_2018_12265.py
-  '' + lib.optionalString stdenv.isDarwin ''
+  '' + lib.optionalString stdenv.hostPlatform.isDarwin ''
     export DYLD_LIBRARY_PATH=$DYLD_LIBRARY_PATH''${DYLD_LIBRARY_PATH:+:}$PWD/lib
     export LC_ALL=C