Merge pull request #83737 from veprbl/pr/libxslt_override_fix
libxml2,libxslt: fix pythonSupport=false override
This commit is contained in:
commit
e163a369c7
|
@ -3,9 +3,6 @@
|
||||||
, pythonSupport ? stdenv.buildPlatform == stdenv.hostPlatform
|
, pythonSupport ? stdenv.buildPlatform == stdenv.hostPlatform
|
||||||
}:
|
}:
|
||||||
|
|
||||||
assert pythonSupport -> python != null;
|
|
||||||
assert pythonSupport -> libxml2.pythonSupport;
|
|
||||||
|
|
||||||
with stdenv.lib;
|
with stdenv.lib;
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
|
@ -53,5 +50,6 @@ stdenv.mkDerivation rec {
|
||||||
license = licenses.mit;
|
license = licenses.mit;
|
||||||
platforms = platforms.all;
|
platforms = platforms.all;
|
||||||
maintainers = [ maintainers.eelco ];
|
maintainers = [ maintainers.eelco ];
|
||||||
|
broken = !(pythonSupport -> libxml2.pythonSupport); # see #73102 for why this is not an assert
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue