* Allow post/pre-install hooks.

svn path=/nixpkgs/trunk/; revision=10629
This commit is contained in:
Eelco Dolstra 2008-02-12 08:42:33 +00:00
parent 8eb419d667
commit 7558076e10

View file

@ -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"