Skip to content

Commit

Permalink
mkPythonDerivation: append postFixup, fixes NixOS#9204
Browse files Browse the repository at this point in the history
(cherry picked from commit 85a87f5)
  • Loading branch information
adrianpk committed Nov 16, 2016
1 parent 5b65e38 commit 1efdaf2
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 1efdaf2

Please sign in to comment.