mirror of
https://github.com/NixOS/nix.git
synced 2024-11-25 00:02:25 +00:00
doc: Check link fragments with lychee
This commit is contained in:
parent
d8c1550189
commit
e222c1fef2
10
flake.nix
10
flake.nix
@ -167,13 +167,15 @@
|
||||
;
|
||||
};
|
||||
|
||||
checks = forAllSystems (system: {
|
||||
checks = forAllSystems (system: let pkgs = nixpkgsFor.${system}.native; in {
|
||||
# https://nixos.org/manual/nixpkgs/stable/index.html#tester-lycheeLinkCheck
|
||||
linkcheck = pkgs.testers.lycheeLinkCheck {
|
||||
site = lib.getOutput "doc" pkgs.nix + "/share/doc/nix/manual";
|
||||
};
|
||||
binaryTarball = self.hydraJobs.binaryTarball.${system};
|
||||
installTests = self.hydraJobs.installTests.${system};
|
||||
nixpkgsLibTests = self.hydraJobs.tests.nixpkgsLibTests.${system};
|
||||
rl-next =
|
||||
let pkgs = nixpkgsFor.${system}.native;
|
||||
in pkgs.buildPackages.runCommand "test-rl-next-release-notes" { } ''
|
||||
rl-next = pkgs.buildPackages.runCommand "test-rl-next-release-notes" { } ''
|
||||
LANG=C.UTF-8 ${pkgs.changelog-d}/bin/changelog-d ${./doc/manual/rl-next} >$out
|
||||
'';
|
||||
repl-completion = nixpkgsFor.${system}.native.callPackage ./tests/repl-completion.nix { };
|
||||
|
Loading…
Reference in New Issue
Block a user