package.nix: fix build with latest nixpkgs

mdbook-linkcheck was dropped from nixpkgs and replaced with mdbook-linkcheck2,
which is not entirely a drop-in replacement, but drop-in enough for us.

Change-Id: Iab03efab89ebae70811e0de3ea7cf0a9a059a9e4
This commit is contained in:
K900
2026-03-08 13:35:28 +03:00
parent fb9a575766
commit 35fbfea6f8
+4 -2
View File
@@ -39,7 +39,9 @@
lowdown-unsandboxed,
lowdown,
mdbook,
mdbook-linkcheck,
# older nixpkgs only have v1, newer nixpkgs only have v2
mdbook-linkcheck ? null,
mdbook-linkcheck2 ? mdbook-linkcheck,
mercurial,
meson,
ninja,
@@ -420,7 +422,7 @@ stdenv.mkDerivation (finalAttrs: {
"Workarounds for mdbook 0.4.x/0.5.x interoperability can be removed as 0.5.0 is in nixpkgs-stable"
mdbook
)
mdbook-linkcheck
mdbook-linkcheck2
]
++ [
pkg-config