3
0
Fork 0
forked from mirrors/nixpkgs

some cleanup of the package .nix file as recommended by @jtojnar

This commit is contained in:
Aaron Andersen 2018-08-27 21:28:20 +00:00
parent 7840d00532
commit bd50320cb1

View file

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