man-pages: 5.11 -> 5.12

Build system has changed slightly, necessitating the change in makeFlags.
This commit is contained in:
Alyssa Ross 2021-07-20 16:45:12 +00:00
parent 595a151776
commit a05062d0dd
No known key found for this signature in database
GPG key ID: F9DBED4859B271C0

View file

@ -2,14 +2,14 @@
stdenv.mkDerivation rec {
pname = "man-pages";
version = "5.11";
version = "5.12";
src = fetchurl {
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 = ''
# conflict with shadow-utils
rm $out/share/man/man5/passwd.5 \
@ -24,7 +24,7 @@ stdenv.mkDerivation rec {
meta = with lib; {
description = "Linux development manual 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;
platforms = with platforms; unix;
priority = 30; # if a package comes with its own man page, prefer it