Merge pull request #83737 from veprbl/pr/libxslt_override_fix

libxml2,libxslt: fix pythonSupport=false override
This commit is contained in:
Dmitry Kalinkin 2020-04-04 23:31:27 -04:00 committed by GitHub
commit e163a369c7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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
};
}