installBin proposal

svn path=/nixpkgs/trunk/; revision=9220
This commit is contained in:
Marc Weber 2007-08-30 15:50:30 +00:00
parent bbe4550e66
commit b3d955ae2e

View File

@ -48,6 +48,10 @@ ensureDir() {
done done
} }
installBin() {
ensureDir $out/bin
cp "$@" $out/bin
}
# Called when some build action fails. If $succeedOnFailure is set, # Called when some build action fails. If $succeedOnFailure is set,
# create the file `$out/nix-support/failed' to signal failure, and # create the file `$out/nix-support/failed' to signal failure, and