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:
@@ -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 = {
|
||||
|
||||
Reference in New Issue
Block a user