From baf822a28743816924f71237f9541d70b00a5bf8 Mon Sep 17 00:00:00 2001 From: Benjamin Cahill Date: Fri, 28 Jun 2013 16:35:57 -0500 Subject: [PATCH] rmlint: Install to /bin, not /usr/bin --- pkgs/tools/misc/rmlint/default.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/tools/misc/rmlint/default.nix b/pkgs/tools/misc/rmlint/default.nix index a1cf21aa64a1..805bcf6b01cb 100644 --- a/pkgs/tools/misc/rmlint/default.nix +++ b/pkgs/tools/misc/rmlint/default.nix @@ -8,6 +8,11 @@ stdenv.mkDerivation rec { sha256 = "bea39a5872b39d3596e756f242967bc5bde6febeb996fdcd63fbcf5bfdc75f01"; }; + preConfigure = '' + substituteInPlace Makefile.in \ + --replace "/usr/" "/" + ''; + makeFlags="DESTDIR=$(out)"; meta = {