Unverified Commit b08b6446 authored by Mario Rodas's avatar Mario Rodas Committed by GitHub
Browse files

Merge pull request #308363 from trofi/man-pages-PATH-fix

man-pages: restore `$out/bin` to fix `nix-shell -p man-pages`
parents ad05f5e1 266f40a5
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -21,6 +21,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/";