libxslt: enable strictDeps and enable pythonSupport when cross
This commit is contained in:
parent
9069a064f8
commit
8e43dec8ba
1 changed files with 5 additions and 2 deletions
|
@ -10,7 +10,7 @@
|
|||
, ncurses
|
||||
, libgcrypt
|
||||
, cryptoSupport ? false
|
||||
, pythonSupport ? stdenv.buildPlatform == stdenv.hostPlatform
|
||||
, pythonSupport ? true
|
||||
, gnome
|
||||
}:
|
||||
|
||||
|
@ -26,6 +26,8 @@ stdenv.mkDerivation rec {
|
|||
sha256 = "EoSPCkQI9ltTDTlizZ/2cLaueWGRz+/zdSK1dy3o3I4=";
|
||||
};
|
||||
|
||||
strictDeps = true;
|
||||
|
||||
nativeBuildInputs = [
|
||||
pkg-config
|
||||
autoreconfHook
|
||||
|
@ -51,7 +53,8 @@ stdenv.mkDerivation rec {
|
|||
"--without-debug"
|
||||
"--without-mem-debug"
|
||||
"--without-debugger"
|
||||
(lib.withFeatureAs pythonSupport "python" python)
|
||||
(lib.withFeature pythonSupport "python")
|
||||
(lib.optionalString pythonSupport "PYTHON=${python.pythonForBuild.interpreter}")
|
||||
] ++ lib.optionals (!cryptoSupport) [
|
||||
"--without-crypto"
|
||||
];
|
||||
|
|
Loading…
Reference in a new issue