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:
@@ -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), \
|
||||
|
||||
Reference in New Issue
Block a user