summary refs log tree commit diff
path: root/pkgs/tools/networking/dd-agent
diff options
context:
space:
mode:
authorShea Levy <shea@shealevy.com>2013-01-08 12:35:41 -0500
committerShea Levy <shea@shealevy.com>2013-01-08 12:35:41 -0500
commit4b2632e54a2f5ce725094dda36f0213ea2c59d68 (patch)
treef345ab6a0b44e249b783379b922b95acaa484fb7 /pkgs/tools/networking/dd-agent
parent74c92f5f4aa4123e778e8e6e329976c69ab76fbc (diff)
downloadnixpkgs-4b2632e54a2f5ce725094dda36f0213ea2c59d68.tar
nixpkgs-4b2632e54a2f5ce725094dda36f0213ea2c59d68.tar.gz
nixpkgs-4b2632e54a2f5ce725094dda36f0213ea2c59d68.tar.bz2
nixpkgs-4b2632e54a2f5ce725094dda36f0213ea2c59d68.tar.lz
nixpkgs-4b2632e54a2f5ce725094dda36f0213ea2c59d68.tar.xz
nixpkgs-4b2632e54a2f5ce725094dda36f0213ea2c59d68.tar.zst
nixpkgs-4b2632e54a2f5ce725094dda36f0213ea2c59d68.zip
dd-agent: Move /usr stuff to directly
Diffstat (limited to 'pkgs/tools/networking/dd-agent')
-rw-r--r--pkgs/tools/networking/dd-agent/default.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/pkgs/tools/networking/dd-agent/default.nix b/pkgs/tools/networking/dd-agent/default.nix
index 6e46174bd10..36b46e5e4cc 100644
--- a/pkgs/tools/networking/dd-agent/default.nix
+++ b/pkgs/tools/networking/dd-agent/default.nix
@@ -14,4 +14,9 @@ stdenv.mkDerivation rec {
     makeFlags = [ "BUILD=$(out)" ];
 
     installTargets = [ "install_base" "install_full" ];
+
+    postInstall = ''
+      mv $out/usr/* $out
+      rmdir $out/usr
+    '';
 }