about summary refs log tree commit diff
path: root/pkgs/development/libraries/libxslt
diff options
context:
space:
mode:
authorgithub-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>2022-09-06 06:25:09 +0000
committerGitHub <noreply@github.com>2022-09-06 06:25:09 +0000
commit0e9237acbab820a00c032b49360064b264582190 (patch)
treefb899ea4cc78af7e69baade88ae58cc1d561598d /pkgs/development/libraries/libxslt
parentf3e09e3e612054f0c040df5ab4444d7802c50d11 (diff)
parentd163dca4351baa22203fcd7b051de1458d2a58b0 (diff)
Merge staging-next into staging
Diffstat (limited to 'pkgs/development/libraries/libxslt')
-rw-r--r--pkgs/development/libraries/libxslt/default.nix3
1 files changed, 1 insertions, 2 deletions
diff --git a/pkgs/development/libraries/libxslt/default.nix b/pkgs/development/libraries/libxslt/default.nix
index ecca3fd4d2a8e..29c6938911622 100644
--- a/pkgs/development/libraries/libxslt/default.nix
+++ b/pkgs/development/libraries/libxslt/default.nix
@@ -51,8 +51,7 @@ stdenv.mkDerivation rec {
     "--without-debug"
     "--without-mem-debug"
     "--without-debugger"
-  ] ++ lib.optionals pythonSupport [
-    "--with-python=${python}"
+    (lib.withFeatureAs pythonSupport "python" python)
   ] ++ lib.optionals (!cryptoSupport) [
     "--without-crypto"
   ];