From 4b2632e54a2f5ce725094dda36f0213ea2c59d68 Mon Sep 17 00:00:00 2001 From: Shea Levy Date: Tue, 8 Jan 2013 12:35:41 -0500 Subject: [PATCH] dd-agent: Move /usr stuff to directly --- pkgs/tools/networking/dd-agent/default.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/tools/networking/dd-agent/default.nix b/pkgs/tools/networking/dd-agent/default.nix index 6e46174bd108..36b46e5e4ccb 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 + ''; }