about summary refs log tree commit diff
path: root/pkgs/development/libraries/libtasn1/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/libraries/libtasn1/default.nix')
-rw-r--r--pkgs/development/libraries/libtasn1/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/libraries/libtasn1/default.nix b/pkgs/development/libraries/libtasn1/default.nix
index 3c630bac630d..069d8706e74d 100644
--- a/pkgs/development/libraries/libtasn1/default.nix
+++ b/pkgs/development/libraries/libtasn1/default.nix
@@ -34,7 +34,7 @@ stdenv.mkDerivation rec {
   nativeBuildInputs = [ texinfo perl ];
 
   doCheck = true;
-  preCheck = if stdenv.isDarwin then
+  preCheck = if stdenv.hostPlatform.isDarwin then
     "export DYLD_LIBRARY_PATH=`pwd`/lib/.libs"
   else
     null;