forked from mirrors/nixpkgs
* Allow post/pre-install hooks.
svn path=/nixpkgs/trunk/; revision=10629
This commit is contained in:
parent
8eb419d667
commit
7558076e10
|
@ -1,5 +1,7 @@
|
|||
source $stdenv/setup
|
||||
|
||||
eval "$preInstall"
|
||||
|
||||
args=
|
||||
|
||||
target=$out
|
||||
|
@ -13,3 +15,5 @@ substituteAll $src $target
|
|||
if test -n "$isExecutable"; then
|
||||
chmod +x $target
|
||||
fi
|
||||
|
||||
eval "$postInstall"
|
||||
|
|
Loading…
Reference in a new issue