1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-09-11 15:08:33 +01:00

libxml2 on FreeBSD: disable impure python detection

This might be good for all platforms,
when we do some big rebuild again.
This commit is contained in:
Vladimír Čunát 2013-11-12 14:05:54 +01:00
parent a8b693fef7
commit 9220d5b002

View file

@ -40,5 +40,8 @@ stdenv.mkDerivation (rec {
# this is a pair of ugly hacks to make python stuff install into the right place
preInstall = ''substituteInPlace python/libxml2mod.la --replace "${python}" "$out"'';
installFlags = ''pythondir="$(out)/lib/${python.libPrefix}/site-packages"'';
} // stdenv.lib.optionalAttrs (!pythonSupport && stdenv.isFreeBSD) {
configureFlags = "--with-python=no"; # otherwise build impurity bites us
})