su: Make the su package a provider of only the su binary

Additionally, provide su with the base system and remove su from the
util-linux package as it is now provided by shadow.
This commit is contained in:
William A. Kennington III
2014-04-05 16:01:52 -05:00
parent 4ab58240a9
commit 28ab3acb58
4 changed files with 13 additions and 2 deletions
@@ -36,6 +36,10 @@ stdenv.mkDerivation rec {
++ stdenv.lib.optional (ncurses != null) ncurses
++ stdenv.lib.optional (perl != null) perl;
postInstall = ''
rm $out/bin/su # su should be supplied by the su package (shadow)
'';
enableParallelBuilding = true;
meta = {