lol

libxslt: fix cross compilation (#189766)

* libxslt: fix cross compilation

The derivation is already prepared to disable python
if buildPlatform != targetPlatform.
Additionally, the configure of libxslt needs to be told
`--without-python` to not look for the python interpreter.

Co-authored-by: Christoph Neidahl <christoph.neidahl@gmail.com>

authored by

Yves Fischer
Christoph Neidahl
and committed by
GitHub
bc392314 0c42a8d2

+1 -2
+1 -2
pkgs/development/libraries/libxslt/default.nix
··· 50 50 "--without-debug" 51 51 "--without-mem-debug" 52 52 "--without-debugger" 53 - ] ++ lib.optionals pythonSupport [ 54 - "--with-python=${python}" 53 + (lib.withFeatureAs pythonSupport "python" python) 55 54 ] ++ lib.optionals (!cryptoSupport) [ 56 55 "--without-crypto" 57 56 ];