Skip to content

Commit

Permalink
mkPythonDerivation: append postFixup, fixes NixOS#9204
Browse files Browse the repository at this point in the history
  • Loading branch information
FRidh committed Oct 26, 2016
1 parent de38602 commit 85a87f5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkgs/development/interpreters/python/mk-python-derivation.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 85a87f5

Please sign in to comment.