mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-30 19:02:57 +00:00
7558076e10
svn path=/nixpkgs/trunk/; revision=10629
20 lines
246 B
Bash
20 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"
|