about summary refs log tree commit diff
path: root/pkgs/development/libraries/libxslt
diff options
context:
space:
mode:
authorDmitry Bogatov <serenity@kaction.cc>2022-11-06 14:23:22 -0500
committerDmitry Bogatov <serenity@kaction.cc>2022-11-12 09:57:57 -0500
commit0d3428cd75d877d16cf126b8a6229744185b8b57 (patch)
treed5e3ce17254acf92342325ea82cc5182791260b4 /pkgs/development/libraries/libxslt
parent3bacde6273b09a21a8ccfba15586fb165078fb62 (diff)
pkgsStatic.libxslt: fix build
Make default value of "pythonSupport" to depend configuration of libxml2, which
only builds python support when shared libraries are enabled. This way libxslt
can be built on pkgsStatic platform (albeit without python support) instead of
refusing to build due "meta.broken". That allows to build statically some
packages that depend on libxslt, but don't necessary need python support.
Diffstat (limited to 'pkgs/development/libraries/libxslt')
-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 9d39c6bf8b34a..054e0c4b9fda3 100644
--- a/pkgs/development/libraries/libxslt/default.nix
+++ b/pkgs/development/libraries/libxslt/default.nix
@@ -11,7 +11,7 @@
 , libxcrypt
 , libgcrypt
 , cryptoSupport ? false
-, pythonSupport ? true
+, pythonSupport ? libxml2.pythonSupport
 , gnome
 }: