libxml2,libxslt: fix pythonSupport=false override

This commit is contained in:
Dmitry Kalinkin 2020-03-29 22:14:24 -04:00
parent 570e3edc85
commit b6187aa596
No known key found for this signature in database
GPG Key ID: 5157B3EC8B2CA333
1 changed files with 1 additions and 3 deletions

View File

@ -3,9 +3,6 @@
, pythonSupport ? stdenv.buildPlatform == stdenv.hostPlatform
}:
assert pythonSupport -> python != null;
assert pythonSupport -> libxml2.pythonSupport;
with stdenv.lib;
stdenv.mkDerivation rec {
@ -53,5 +50,6 @@ stdenv.mkDerivation rec {
license = licenses.mit;
platforms = platforms.all;
maintainers = [ maintainers.eelco ];
broken = !(pythonSupport -> libxml2.pythonSupport); # see #73102 for why this is not an assert
};
}