man-pages: 5.11 -> 5.12

Build system has changed slightly, necessitating the change in makeFlags.

(cherry picked from commit a05062d0dd1af7b22d1a7e88cbf47d042dc08568)
This commit is contained in:
Alyssa Ross 2021-07-20 16:45:12 +00:00 committed by github-actions[bot]
parent 54ed469293
commit e7c07d8edb
1 changed files with 4 additions and 4 deletions

View File

@ -2,14 +2,14 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "man-pages"; pname = "man-pages";
version = "5.11"; version = "5.12";
src = fetchurl { src = fetchurl {
url = "mirror://kernel/linux/docs/man-pages/${pname}-${version}.tar.xz"; url = "mirror://kernel/linux/docs/man-pages/${pname}-${version}.tar.xz";
sha256 = "sha256-PtpdzlGEWZ7Dfa40lM+WTFUDYumkH7ckeS2mEL2xPKo="; sha256 = "07ip4f70nyxn24wy0fin6klq1hm1cjjvzr9zh5baqzssl1hckxbs";
}; };
makeFlags = [ "MANDIR=$(out)/share/man" ]; makeFlags = [ "prefix=$(out)" ];
postInstall = '' postInstall = ''
# conflict with shadow-utils # conflict with shadow-utils
rm $out/share/man/man5/passwd.5 \ rm $out/share/man/man5/passwd.5 \
@ -24,7 +24,7 @@ stdenv.mkDerivation rec {
meta = with lib; { meta = with lib; {
description = "Linux development manual pages"; description = "Linux development manual pages";
homepage = "https://www.kernel.org/doc/man-pages/"; homepage = "https://www.kernel.org/doc/man-pages/";
repositories.git = "http://git.kernel.org/pub/scm/docs/man-pages/man-pages"; repositories.git = "https://git.kernel.org/pub/scm/docs/man-pages/man-pages";
license = licenses.gpl2Plus; license = licenses.gpl2Plus;
platforms = with platforms; unix; platforms = with platforms; unix;
priority = 30; # if a package comes with its own man page, prefer it priority = 30; # if a package comes with its own man page, prefer it