treewide: fix invocations of installBin command

I've removed the trivial command in 4e72b61de.
I think `install -Dt "$out/bin"` is a better replacement anyway,
as it can be easily used to other directories than $out/bin.

/cc @ehmry who seems to maintain many packages with this usage.
(BTW, it would be better to have maintainer attribute same as github
username, as it makes pinging maintainers much easier.)
This commit is contained in:
Vladimír Čunát 2015-12-05 13:59:05 +01:00
parent 9054ddefeb
commit e2f5ba1937
5 changed files with 6 additions and 6 deletions

View File

@ -23,7 +23,7 @@ stdenv.mkDerivation {
checkTarget = "test-release"; # this would be the target
installPhase = ''
installBin \
install -Dt "$out/bin/" \
src/bitmonerod \
src/connectivity_tool \
src/simpleminer \

View File

@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
buildPhase = "sh build.sh";
installPhase =
''
installBin bin/nim
install -Dt "$out/bin" bin/nim
substituteInPlace install.sh --replace '$1/nim' "$out"
sh install.sh $out
'';

View File

@ -16,7 +16,7 @@ stdenv.mkDerivation {
'';
installPhase = ''
installBin unrar
install -Dt "$out/bin" unrar
mkdir -p $out/share/doc/unrar
cp acknow.txt license.txt \

View File

@ -16,13 +16,13 @@ stdenv.mkDerivation {
buildInputs = [ which python27 nodejs ] ++
# for flock
stdenv.lib.optional stdenv.isLinux [ utillinux ];
stdenv.lib.optional stdenv.isLinux utillinux;
buildPhase =
stdenv.lib.optionalString stdenv.isArm "Seccomp_NO=1 "
+ "bash do";
installPhase = ''
installBin cjdroute makekeys privatetopublic publictoip6
install -Dt "$out/bin/" cjdroute makekeys privatetopublic publictoip6
sed -i 's,/usr/bin/env node,'$(type -P node), \
$(find contrib -name "*.js")
sed -i 's,/usr/bin/env python,'$(type -P python), \

View File

@ -23,7 +23,7 @@ stdenv.mkDerivation rec {
buildInputs = [ openssl lzo zlib gcc iproute ];
installPhase = ''
installBin zerotier-one
install -Dt "$out/bin/" zerotier-one
ln -s $out/bin/zerotier-one $out/bin/zerotier-idtool
ln -s $out/bin/zerotier-one $out/bin/zerotier-cli
'';