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; {