mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-28 06:14:26 +03:00
shadow: fix collision with coreutils (man groups.1.gz)
The `groups.1.gz` collides with one from coreutils. The code to fix this was already present in expression, but wrongly assumes that share/man/man1 directory will be copied to `man` output after `installPhase`. It turned out, that man directory is set at configure step, so we should remove file from `man` output.
This commit is contained in:
parent
2d679dbe74
commit
ac51528df8
@ -43,7 +43,8 @@ stdenv.mkDerivation rec {
|
||||
postInstall =
|
||||
''
|
||||
# Don't install ‘groups’, since coreutils already provides it.
|
||||
rm $out/bin/groups $out/share/man/man1/groups.*
|
||||
rm $out/bin/groups
|
||||
rm $man/share/man/man1/groups.*
|
||||
|
||||
# Move the su binary into the su package
|
||||
mkdir -p $su/bin
|
||||
|
Loading…
Reference in New Issue
Block a user