mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-01 23:22:37 +00:00
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:
parent
9054ddefeb
commit
e2f5ba1937
@ -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 \
|
||||
|
@ -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
|
||||
'';
|
||||
|
@ -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 \
|
||||
|
@ -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), \
|
||||
|
@ -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
|
||||
'';
|
||||
|
Loading…
Reference in New Issue
Block a user