mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 08:23:09 +00:00
* 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 New Issue
Block a user