git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #20804 from danbst/fix-shadow

shadow: fix collision with coreutils (man groups.1.gz)

commit85ecde87c8b5ab39ce34407b1d74ec92db784ae1 authorJoachim F <joachifm@users.noreply.github.com> dateThu 1 Dec 2016, 23:08 (10 years ago) parent2de3345ac51528
1 file changed+2−1
pkgs/os-specific/linux/shadow/default.nix+2−1
pkgs/os-specific/linux/shadow/default.nix+2−1
@@ -43,7 +43,8 @@ stdenv.mkDerivation rec {
4343 postInstall =
4444 ''
4545 # Don't install ‘groups’, since coreutils already provides it.
46− rm $out/bin/groups $out/share/man/man1/groups.*
46+ rm $out/bin/groups
47+ rm $man/share/man/man1/groups.*
4748
4849 # Move the su binary into the su package
4950 mkdir -p $su/bin