From 7cd7d7e116e56b62beeae4300d06da2706514b90 Mon Sep 17 00:00:00 2001 From: Christian Ravn Date: Tue, 3 Mar 2026 11:35:45 +0100 Subject: [PATCH] mdbook-linkcheck: drop As the package is unmaintained upstream and incompatible with the version 0.5+ of mdbook it has been dropped --- .../manual/release-notes/rl-2605.section.md | 2 + pkgs/by-name/md/mdbook-linkcheck/package.nix | 45 ------------------- pkgs/top-level/aliases.nix | 1 + 3 files changed, 3 insertions(+), 45 deletions(-) delete mode 100644 pkgs/by-name/md/mdbook-linkcheck/package.nix diff --git a/nixos/doc/manual/release-notes/rl-2605.section.md b/nixos/doc/manual/release-notes/rl-2605.section.md index 151f532bada9..12c8cd950c45 100644 --- a/nixos/doc/manual/release-notes/rl-2605.section.md +++ b/nixos/doc/manual/release-notes/rl-2605.section.md @@ -243,6 +243,8 @@ See . `component.settings`. The unix module now supports using SSH keys from Kanidm via `services.kanidm.unix.sshIntegration = true`. +- `mdbook-linkcheck` has been removed as it is unmaintained and incompatible with the latest version of `mdbook`. Users can instead migrate to `mdbook-linkcheck2`. + - `glibc` has been updated to version 2.42. This version no longer makes the stack executable when a shared library requires this. A symptom diff --git a/pkgs/by-name/md/mdbook-linkcheck/package.nix b/pkgs/by-name/md/mdbook-linkcheck/package.nix deleted file mode 100644 index 22e4c90ab63e..000000000000 --- a/pkgs/by-name/md/mdbook-linkcheck/package.nix +++ /dev/null @@ -1,45 +0,0 @@ -{ - lib, - stdenv, - fetchFromGitHub, - rustPlatform, - pkg-config, - openssl, - testers, - mdbook-linkcheck, -}: - -rustPlatform.buildRustPackage (finalAttrs: { - pname = "mdbook-linkcheck"; - version = "0.7.7"; - - src = fetchFromGitHub { - owner = "Michael-F-Bryan"; - repo = "mdbook-linkcheck"; - rev = "v${finalAttrs.version}"; - sha256 = "sha256-ZbraChBHuKAcUA62EVHZ1RygIotNEEGv24nhSPAEj00="; - }; - - cargoHash = "sha256-Tt7ljjWv2CMtP/ELZNgSH/ifmBk/42+E0r9ZXQEJNP8="; - - buildInputs = lib.optionals (!stdenv.hostPlatform.isDarwin) [ openssl ]; - - nativeBuildInputs = lib.optionals (!stdenv.hostPlatform.isDarwin) [ pkg-config ]; - - env.OPENSSL_NO_VENDOR = 1; - - doCheck = false; # tries to access network to test broken web link functionality - - passthru.tests.version = testers.testVersion { package = mdbook-linkcheck; }; - - meta = { - description = "Backend for `mdbook` which will check your links for you"; - mainProgram = "mdbook-linkcheck"; - homepage = "https://github.com/Michael-F-Bryan/mdbook-linkcheck"; - license = lib.licenses.mit; - maintainers = with lib.maintainers; [ - zhaofengli - matthiasbeyer - ]; - }; -}) diff --git a/pkgs/top-level/aliases.nix b/pkgs/top-level/aliases.nix index b6dcba8642a3..e3bb2f39b4e9 100644 --- a/pkgs/top-level/aliases.nix +++ b/pkgs/top-level/aliases.nix @@ -1296,6 +1296,7 @@ mapAliases { matrix-synapse-tools.synadm = throw "'matrix-synapse-tools.synadm' has been renamed to/replaced by 'synadm'"; # Converted to throw 2025-10-27 mcomix3 = throw "'mcomix3' has been renamed to/replaced by 'mcomix'"; # Converted to throw 2025-10-27 mdbook-alerts = throw "'mdbook-alerts' has been removed because it is deprecated and natively supported by mdbook since version 0.5.0"; # Added 2026-01-07 + mdbook-linkcheck = throw "'mdbook-linkcheck' has been removed and replaced by 'mdbook-linkcheck2' due to incompatibility with mdbook version 0.5.0+"; # Added 2026-03-03 mdt = throw "'mdt' has been renamed to/replaced by 'md-tui'"; # Converted to throw 2025-10-27 mediastreamer = throw "'mediastreamer' has been moved to 'linphonePackages.mediastreamer2'"; # Added 2025-09-20 mediastreamer-openh264 = throw "'mediastreamer-openh264' has been moved to 'linphonePackages.msopenh264'"; # Added 2025-09-20