mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-01 23:22:37 +00:00
installBin proposal
svn path=/nixpkgs/trunk/; revision=9220
This commit is contained in:
parent
bbe4550e66
commit
b3d955ae2e
@ -48,6 +48,10 @@ ensureDir() {
|
||||
done
|
||||
}
|
||||
|
||||
installBin() {
|
||||
ensureDir $out/bin
|
||||
cp "$@" $out/bin
|
||||
}
|
||||
|
||||
# Called when some build action fails. If $succeedOnFailure is set,
|
||||
# create the file `$out/nix-support/failed' to signal failure, and
|
||||
|
Loading…
Reference in New Issue
Block a user