mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-28 14:22:50 +03: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"
|