* 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
|
source $stdenv/setup
|
||||||
|
|
||||||
|
eval "$preInstall"
|
||||||
|
|
||||||
args=
|
args=
|
||||||
|
|
||||||
target=$out
|
target=$out
|
||||||
|
@ -13,3 +15,5 @@ substituteAll $src $target
|
||||||
if test -n "$isExecutable"; then
|
if test -n "$isExecutable"; then
|
||||||
chmod +x $target
|
chmod +x $target
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
eval "$postInstall"
|
||||||
|
|
Loading…
Reference in New Issue