Loading nixos/tests/man.nix +3 −0 Original line number Diff line number Diff line Loading @@ -88,6 +88,8 @@ in ${machine}.succeed("man 3 libunwind > /dev/null") # NixOS configuration man page is installed ${machine}.succeed("man configuration.nix > /dev/null") # Linux `man-pages` work ${machine}.succeed("man 5 proc_vmstat > /dev/null") with subtest("Test generateCaches via man -k in ${machine}"): expected = [ Loading @@ -97,6 +99,7 @@ in ("user", "userdel", 8), ("mem", "free", 3), ("mem", "free", 1), ("statistics", "proc_vmstat", 5), ] for (keyword, page, section) in expected: Loading pkgs/by-name/ma/man-pages/package.nix +6 −2 Original line number Diff line number Diff line Loading @@ -6,6 +6,7 @@ gawk, man, pcre2, nixosTests, }: stdenv.mkDerivation (finalAttrs: { Loading Loading @@ -65,9 +66,12 @@ stdenv.mkDerivation (finalAttrs: { runHook postInstallCheck ''; passthru.updateScript = directoryListingUpdater { passthru = { tests = { inherit (nixosTests) man; }; updateScript = directoryListingUpdater { url = "https://www.kernel.org/pub/linux/docs/man-pages/"; }; }; meta = { description = "Linux development manual pages"; Loading Loading
nixos/tests/man.nix +3 −0 Original line number Diff line number Diff line Loading @@ -88,6 +88,8 @@ in ${machine}.succeed("man 3 libunwind > /dev/null") # NixOS configuration man page is installed ${machine}.succeed("man configuration.nix > /dev/null") # Linux `man-pages` work ${machine}.succeed("man 5 proc_vmstat > /dev/null") with subtest("Test generateCaches via man -k in ${machine}"): expected = [ Loading @@ -97,6 +99,7 @@ in ("user", "userdel", 8), ("mem", "free", 3), ("mem", "free", 1), ("statistics", "proc_vmstat", 5), ] for (keyword, page, section) in expected: Loading
pkgs/by-name/ma/man-pages/package.nix +6 −2 Original line number Diff line number Diff line Loading @@ -6,6 +6,7 @@ gawk, man, pcre2, nixosTests, }: stdenv.mkDerivation (finalAttrs: { Loading Loading @@ -65,9 +66,12 @@ stdenv.mkDerivation (finalAttrs: { runHook postInstallCheck ''; passthru.updateScript = directoryListingUpdater { passthru = { tests = { inherit (nixosTests) man; }; updateScript = directoryListingUpdater { url = "https://www.kernel.org/pub/linux/docs/man-pages/"; }; }; meta = { description = "Linux development manual pages"; Loading