mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-21 13:10:33 +00: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:
parent
a8b693fef7
commit
9220d5b002
|
@ -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
|
||||
})
|
||||
|
||||
|
|
Loading…
Reference in a new issue