buildPython*: don't catch conflicts when cross-compiling

Hack until we fix PYTHONPATH.
wip/yesman
Frederik Rietdijk 4 years ago
parent 6501d9880c
commit 27d3a18ac7
  1. 4
      pkgs/development/interpreters/python/mk-python-derivation.nix

@ -53,7 +53,9 @@
, disabled ? false
# Raise an error if two packages are installed with the same name
, catchConflicts ? true
# TODO: For cross we probably need a different PYTHONPATH, or not
# add the runtime deps until after buildPhase.
, catchConflicts ? (python.stdenv.hostPlatform == python.stdenv.buildPlatform)
# Additional arguments to pass to the makeWrapper function, which wraps
# generated binaries.

Loading…
Cancel
Save