about summary refs log tree commit diff
path: root/pkgs/development/libraries/libxslt/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/libraries/libxslt/default.nix')
-rw-r--r--pkgs/development/libraries/libxslt/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/libraries/libxslt/default.nix b/pkgs/development/libraries/libxslt/default.nix
index f86c6068e2da..34092649067c 100644
--- a/pkgs/development/libraries/libxslt/default.nix
+++ b/pkgs/development/libraries/libxslt/default.nix
@@ -36,7 +36,7 @@ stdenv.mkDerivation (finalAttrs: {
 
   buildInputs = [
     libxml2.dev libxcrypt
-  ] ++ lib.optionals stdenv.isDarwin [
+  ] ++ lib.optionals stdenv.hostPlatform.isDarwin [
     gettext
   ] ++ lib.optionals pythonSupport [
     libxml2.py