summary refs log tree commit diff
path: root/pkgs/tools/networking/ratools
diff options
context:
space:
mode:
authorRobin Gloster <mail@glob.in>2017-08-11 11:40:08 +0200
committerRobin Gloster <mail@glob.in>2017-08-11 11:40:36 +0200
commit28cc2642f09419b0a8345d6349329b851d11ad98 (patch)
tree4b107b35809712540a0962b53dc2f75dfd2fdda0 /pkgs/tools/networking/ratools
parent72457cdebbeeafbc48cba517f07351ff02cc0dab (diff)
downloadnixpkgs-28cc2642f09419b0a8345d6349329b851d11ad98.tar
nixpkgs-28cc2642f09419b0a8345d6349329b851d11ad98.tar.gz
nixpkgs-28cc2642f09419b0a8345d6349329b851d11ad98.tar.bz2
nixpkgs-28cc2642f09419b0a8345d6349329b851d11ad98.tar.lz
nixpkgs-28cc2642f09419b0a8345d6349329b851d11ad98.tar.xz
nixpkgs-28cc2642f09419b0a8345d6349329b851d11ad98.tar.zst
nixpkgs-28cc2642f09419b0a8345d6349329b851d11ad98.zip
treewide: use less `phases` if not necessary
This removes some skipping of e.g. fixupPhase and cleans up occurences
where this led to duplicating code
Diffstat (limited to 'pkgs/tools/networking/ratools')
-rw-r--r--pkgs/tools/networking/ratools/default.nix8
1 files changed, 2 insertions, 6 deletions
diff --git a/pkgs/tools/networking/ratools/default.nix b/pkgs/tools/networking/ratools/default.nix
index 00c1c86ea8b..5e18ee80f99 100644
--- a/pkgs/tools/networking/ratools/default.nix
+++ b/pkgs/tools/networking/ratools/default.nix
@@ -11,15 +11,11 @@ stdenv.mkDerivation rec {
     sha256 = "07m45bn9lzgbfihmxic23wqp73nxg5ihrvkigr450jq6gzvgwawq";
   };
 
-  phases = [ "unpackPhase" "buildPhase" "installPhase" ];
-
   makeFlags = "-C src";
 
   installPhase = ''
-    mkdir -p $out/{bin,sbin,share/man/man8}
-    cp bin/ractl $out/bin
-    cp bin/rad $out/sbin
-    cp man/* $out/share/man/man8
+    install -vD bin/* -t $out/bin
+    install -vD man/* -t $out/share/man/man8
   '';
 
   meta = with stdenv.lib; {