summary refs log tree commit diff
path: root/pkgs/tools/archivers/unrar
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/archivers/unrar
parent9054ddefeb988f28637749a834d884dac2d2f62a (diff)
downloadnixpkgs-e2f5ba1937ff14a76360ce06480d752b8ea0bc11.tar
nixpkgs-e2f5ba1937ff14a76360ce06480d752b8ea0bc11.tar.gz
nixpkgs-e2f5ba1937ff14a76360ce06480d752b8ea0bc11.tar.bz2
nixpkgs-e2f5ba1937ff14a76360ce06480d752b8ea0bc11.tar.lz
nixpkgs-e2f5ba1937ff14a76360ce06480d752b8ea0bc11.tar.xz
nixpkgs-e2f5ba1937ff14a76360ce06480d752b8ea0bc11.tar.zst
nixpkgs-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/archivers/unrar')
-rw-r--r--pkgs/tools/archivers/unrar/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/tools/archivers/unrar/default.nix b/pkgs/tools/archivers/unrar/default.nix
index eb0d3a3bd83..e0716a1b1d3 100644
--- a/pkgs/tools/archivers/unrar/default.nix
+++ b/pkgs/tools/archivers/unrar/default.nix
@@ -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 \