3
0
Fork 0
forked from mirrors/nixpkgs

libxslt: make configureFlags unconditional, re-org to address comment

This commit is contained in:
Will Dietz 2018-01-22 18:57:13 -06:00 committed by John Ericson
parent 2b04cddf7e
commit 16b6e5a452

View file

@ -40,15 +40,13 @@ stdenv.mkDerivation rec {
propagatedBuildInputs = [ findXMLCatalogs ];
# TODO move cryptoSupport as last flag, when upgrading libxslt
configureFlags = []
++ optional (buildPlatform != hostPlatform) "--with-libxml-prefix=${libxml2.dev}"
++ optional (!cryptoSupport) "--without-crypto"
++ [
configureFlags = [
"--with-libxml-prefix=${libxml2.dev}"
"--without-debug"
"--without-mem-debug"
"--without-debugger"
] ++ optional pythonSupport "--with-python=${python2}";
] ++ optional pythonSupport "--with-python=${python2}"
++ optional (!cryptoSupport) "--without-crypto";
postFixup = ''
moveToOutput bin/xslt-config "$dev"