mkPythonDerivation: append postFixup, fixes #9204
This commit is contained in:
parent
de3860229a
commit
85a87f5155
@ -69,13 +69,13 @@ python.stdenv.mkDerivation (builtins.removeAttrs attrs ["disabled"] // {
|
|||||||
doCheck = false;
|
doCheck = false;
|
||||||
doInstallCheck = doCheck;
|
doInstallCheck = doCheck;
|
||||||
|
|
||||||
postFixup = attrs.postFixup or ''
|
postFixup = ''
|
||||||
wrapPythonPrograms
|
wrapPythonPrograms
|
||||||
'' + lib.optionalString catchConflicts ''
|
'' + lib.optionalString catchConflicts ''
|
||||||
# check if we have two packages with the same name in closure and fail
|
# check if we have two packages with the same name in closure and fail
|
||||||
# this shouldn't happen, something went wrong with dependencies specs
|
# this shouldn't happen, something went wrong with dependencies specs
|
||||||
${python.interpreter} ${./catch_conflicts.py}
|
${python.interpreter} ${./catch_conflicts.py}
|
||||||
'';
|
'' + attrs.postFixup or '''';
|
||||||
|
|
||||||
passthru = {
|
passthru = {
|
||||||
inherit python; # The python interpreter
|
inherit python; # The python interpreter
|
||||||
|
Loading…
Reference in New Issue
Block a user