diff options
Diffstat (limited to 'pkgs/data/documentation/man-pages/default.nix')
-rw-r--r-- | pkgs/data/documentation/man-pages/default.nix | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/pkgs/data/documentation/man-pages/default.nix b/pkgs/data/documentation/man-pages/default.nix index deb6a4005f666..3ea67ac4501dd 100644 --- a/pkgs/data/documentation/man-pages/default.nix +++ b/pkgs/data/documentation/man-pages/default.nix @@ -2,16 +2,14 @@ stdenv.mkDerivation rec { pname = "man-pages"; - version = "6.7"; + version = "6.8"; src = fetchurl { url = "mirror://kernel/linux/docs/man-pages/${pname}-${version}.tar.xz"; - hash = "sha256-gkA61LwXqtuST2hji3nWkwssvVUVMSSKepaId52077I="; + hash = "sha256-ucawpCD4ORSL4EsvwTqFaSMTco1U1HxpyKE4N5Zl0iY="; }; makeFlags = [ - # Clobber /usr/bin/env with the one in PATH. - "SHELL=env" "prefix=${placeholder "out"}" ]; @@ -21,6 +19,14 @@ stdenv.mkDerivation rec { enableParallelInstalling = true; + postInstall = '' + # The manpath executable looks up manpages from PATH. And this package won't + # appear in PATH unless it has a /bin folder. Without the change + # 'nix-shell -p man-pages' does not pull in the search paths. + # See 'man 5 manpath' for the lookup order. + mkdir -p $out/bin + ''; + meta = with lib; { description = "Linux development manual pages"; homepage = "https://www.kernel.org/doc/man-pages/"; |