summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 a8ed68b088bd..0b7432136144 100644
--- a/pkgs/development/libraries/libxslt/default.nix
+++ b/pkgs/development/libraries/libxslt/default.nix
@@ -50,8 +50,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"
];