summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/GitPython/hardcode-git-path.patch
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2014-06-25 15:38:37 +0200
committerEelco Dolstra <eelco.dolstra@logicblox.com>2014-08-09 12:44:48 +0200
commitb0f2d3419c3340978026272496c306287a8cdbd9 (patch)
tree5c3fad381cd621aaa86943eab6766cc293348c5b /pkgs/development/python-modules/GitPython/hardcode-git-path.patch
parent18e422d0471989d53f29e85127ee6c5678d8a28b (diff)
Allow multiple hooks with the same name
You can now register multiple values per named hook, e.g. addHook preConfigure "echo foo" addHook preConfigure "echo bar" will cause ‘runHook preConfigure’ to run both ‘echo foo’ and ‘echo bar’ (in that order). It will also call the shell function preConfigure() or eval the shell variable $preConfigure, if defined. Thus, if you don't call addHook, it works like the old hook mechanism. Allowing multiple hooks makes stdenv more modular and extensible. For instance, multiple setup hooks can define a preFixup hook, and all of these will be executed.
Diffstat (limited to 'pkgs/development/python-modules/GitPython/hardcode-git-path.patch')
0 files changed, 0 insertions, 0 deletions