mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-19 00:08:32 +01:00
7558076e10
svn path=/nixpkgs/trunk/; revision=10629
19 lines
246 B
Bash
19 lines
246 B
Bash
source $stdenv/setup
|
|
|
|
eval "$preInstall"
|
|
|
|
args=
|
|
|
|
target=$out
|
|
if test -n "$dir"; then
|
|
target=$out/$dir/$name
|
|
ensureDir $out/$dir
|
|
fi
|
|
|
|
substituteAll $src $target
|
|
|
|
if test -n "$isExecutable"; then
|
|
chmod +x $target
|
|
fi
|
|
|
|
eval "$postInstall"
|