about summary refs log tree commit diff
path: root/pkgs/tools/networking/zerotierone
diff options
context:
space:
mode:
authorVladimír Čunát <vcunat@gmail.com>2015-12-05 13:59:05 +0100
committerVladimír Čunát <vcunat@gmail.com>2015-12-05 13:59:05 +0100
commite2f5ba1937ff14a76360ce06480d752b8ea0bc11 (patch)
treef938ff56ef4b7e2c08db9167403dcf0afac17bc6 /pkgs/tools/networking/zerotierone
parent9054ddefeb988f28637749a834d884dac2d2f62a (diff)
downloadnixlib-e2f5ba1937ff14a76360ce06480d752b8ea0bc11.tar
nixlib-e2f5ba1937ff14a76360ce06480d752b8ea0bc11.tar.gz
nixlib-e2f5ba1937ff14a76360ce06480d752b8ea0bc11.tar.bz2
nixlib-e2f5ba1937ff14a76360ce06480d752b8ea0bc11.tar.lz
nixlib-e2f5ba1937ff14a76360ce06480d752b8ea0bc11.tar.xz
nixlib-e2f5ba1937ff14a76360ce06480d752b8ea0bc11.tar.zst
nixlib-e2f5ba1937ff14a76360ce06480d752b8ea0bc11.zip
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.)
Diffstat (limited to 'pkgs/tools/networking/zerotierone')
-rw-r--r--pkgs/tools/networking/zerotierone/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/tools/networking/zerotierone/default.nix b/pkgs/tools/networking/zerotierone/default.nix
index d9a50d7dc696..63531a85ffc1 100644
--- a/pkgs/tools/networking/zerotierone/default.nix
+++ b/pkgs/tools/networking/zerotierone/default.nix
@@ -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
   '';