diff options
author | danbst <abcz2.uprola@gmail.com> | 2016-11-30 01:44:28 +0200 |
---|---|---|
committer | danbst <abcz2.uprola@gmail.com> | 2016-11-30 01:44:28 +0200 |
commit | ac51528df83401ff357d08ee69d31b5a6d421279 (patch) | |
tree | 7e4522129230c483922d26135b67e4707f0d512a /pkgs/os-specific/linux/shadow | |
parent | 2d679dbe745e05e62a0f14c0fad12f83f3d4e2b3 (diff) |
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.
Diffstat (limited to 'pkgs/os-specific/linux/shadow')
-rw-r--r-- | pkgs/os-specific/linux/shadow/default.nix | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pkgs/os-specific/linux/shadow/default.nix b/pkgs/os-specific/linux/shadow/default.nix index e56f285d526c5..e99d7d86bfb97 100644 --- a/pkgs/os-specific/linux/shadow/default.nix +++ b/pkgs/os-specific/linux/shadow/default.nix @@ -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 |