about summary refs log tree commit diff
path: root/pkgs/development/libraries/libredwg/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/libraries/libredwg/default.nix')
-rw-r--r--pkgs/development/libraries/libredwg/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/development/libraries/libredwg/default.nix b/pkgs/development/libraries/libredwg/default.nix
index 6eb06a1ebe67..aff1fc1a1d68 100644
--- a/pkgs/development/libraries/libredwg/default.nix
+++ b/pkgs/development/libraries/libredwg/default.nix
@@ -36,7 +36,7 @@ stdenv.mkDerivation rec {
     cp ${printVersion} build-aux/git-version-gen
   '';
 
-  preConfigure = lib.optionalString (stdenv.isDarwin && enablePython) ''
+  preConfigure = lib.optionalString (stdenv.hostPlatform.isDarwin && enablePython) ''
     # prevent configure picking up stack_size from distutils.sysconfig
     export PYTHON_EXTRA_LDFLAGS=" "
   '';
@@ -54,7 +54,7 @@ stdenv.mkDerivation rec {
   configureFlags = lib.optional (!enablePython) "--disable-python";
 
   # FAIL: alive.test
-  doCheck = !stdenv.isLinux;
+  doCheck = !stdenv.hostPlatform.isLinux;
 
   # the "xmlsuite" test requires the libxml2 c library as well as the python module
   nativeCheckInputs = lib.optionals enablePython [ libxml2 libxml2.dev ];