diff options
author | Dmitry Bogatov <serenity@kaction.cc> | 2022-11-06 14:23:22 -0500 |
---|---|---|
committer | Dmitry Bogatov <serenity@kaction.cc> | 2022-11-12 09:57:57 -0500 |
commit | 0d3428cd75d877d16cf126b8a6229744185b8b57 (patch) | |
tree | d5e3ce17254acf92342325ea82cc5182791260b4 /pkgs/development/libraries/libxslt | |
parent | 3bacde6273b09a21a8ccfba15586fb165078fb62 (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.nix | 2 |
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 }: |