mkPythonDerivation: append postFixup, fixes #9204

This commit is contained in:
Frederik Rietdijk 2016-10-25 22:33:45 +02:00
parent de3860229a
commit 85a87f5155

View File

@ -69,13 +69,13 @@ python.stdenv.mkDerivation (builtins.removeAttrs attrs ["disabled"] // {
doCheck = false;
doInstallCheck = doCheck;
postFixup = attrs.postFixup or ''
postFixup = ''
wrapPythonPrograms
'' + lib.optionalString catchConflicts ''
# check if we have two packages with the same name in closure and fail
# this shouldn't happen, something went wrong with dependencies specs
${python.interpreter} ${./catch_conflicts.py}
'';
'' + attrs.postFixup or '''';
passthru = {
inherit python; # The python interpreter