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:
+4
-2
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user