From 0d3428cd75d877d16cf126b8a6229744185b8b57 Mon Sep 17 00:00:00 2001 From: Dmitry Bogatov Date: Sun, 6 Nov 2022 14:23:22 -0500 Subject: [PATCH] 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. --- pkgs/development/libraries/libxslt/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/libraries/libxslt/default.nix b/pkgs/development/libraries/libxslt/default.nix index 9d39c6bf8b34..054e0c4b9fda 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 }: