From bd50320cb1fe6e16294d93d7d051ecd4111e3a16 Mon Sep 17 00:00:00 2001 From: Aaron Andersen Date: Mon, 27 Aug 2018 21:28:20 +0000 Subject: [PATCH] some cleanup of the package .nix file as recommended by @jtojnar --- pkgs/tools/system/incron/default.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/tools/system/incron/default.nix b/pkgs/tools/system/incron/default.nix index 4133342f6c4..43b91f6fac1 100644 --- a/pkgs/tools/system/incron/default.nix +++ b/pkgs/tools/system/incron/default.nix @@ -16,15 +16,15 @@ stdenv.mkDerivation rec { sed -i "s|/bin/bash|${bash}/bin/bash|g" usertable.cpp ''; - installPhase = '' + installFlags = [ "PREFIX=$(out)" ]; + installTargets = [ "install-man" ]; + + preInstall = '' mkdir -p $out/bin # make install doesn't work because setuid and permissions # just manually install the binaries instead cp incrond incrontab $out/bin/ - - # make install-man is fine for documentation - make install-man ''; meta = with stdenv.lib; {