Commit 2064ee84 authored by Jörg Thalheim's avatar Jörg Thalheim
Browse files

hspellDicts: remove broken package set

hspellDicts (aspell, hunspell, myspell Hebrew dictionaries) have been
marked broken since NixOS 24.05 and remain unfixed.

Per RFC 180, packages broken for a full release cycle are subject
to removal.

https://github.com/NixOS/rfcs/pull/180
parent 1590e217
Loading
Loading
Loading
Loading
+0 −58
Original line number Diff line number Diff line
{
  lib,
  stdenv,
  hspell,
}:

let
  dict =
    variant: a:
    stdenv.mkDerivation (
      {
        inherit (hspell)
          version
          src
          patches
          postPatch
          nativeBuildInputs
          ;
        buildFlags = [ variant ];

        meta =
          hspell.meta
          // {
            broken = true;
            description = "${variant} Hebrew dictionary";
          }
          // (lib.optionalAttrs (a ? meta) a.meta);
      }
      // (removeAttrs a [ "meta" ])
    );
in
{
  recurseForDerivations = true;

  aspell = dict "aspell" {
    pname = "aspell-dict-he";

    installPhase = ''
      mkdir -p $out/lib/aspell
      cp -v he_affix.dat he.wl $out/lib/aspell'';
  };

  myspell = dict "myspell" {
    pname = "myspell-dict-he";

    installPhase = ''
      mkdir -p $out/lib/myspell
      cp -v he.dic he.aff $out/lib/myspell'';
  };

  hunspell = dict "hunspell" {
    pname = "hunspell-dict-he";

    installPhase = ''
      mkdir -p $out/lib
      cp -rv hunspell $out/lib'';
  };
}
+1 −0
Original line number Diff line number Diff line
@@ -846,6 +846,7 @@ mapAliases {
  hostPlatform = warnAlias "'hostPlatform' has been renamed to/replaced by 'stdenv.hostPlatform'" stdenv.hostPlatform; # Converted to warning 2025-10-28
  hpmyroom = throw "hpmyroom has been removed because it has been marked as broken since May 2024."; # Added 2025-10-11
  hpp-fcl = throw "'hpp-fcl' has been renamed to/replaced by 'coal'"; # Converted to throw 2025-10-27
  hspellDicts = throw "'hspellDicts' has been removed due to being broken for more than a year; see RFC 180"; # Added 2026-02-05
  http-prompt = throw "'http-prompt' has been removed as it was broken and unmaintained upstream"; # Added 2025-11-26
  hydra_unstable = throw "'hydra_unstable' has been renamed to/replaced by 'hydra'"; # Converted to throw 2025-10-27
  i3-gaps = throw "'i3-gaps' has been renamed to/replaced by 'i3'"; # Converted to throw 2025-10-27
+0 −2
Original line number Diff line number Diff line
@@ -6735,8 +6735,6 @@ with pkgs;

  highfive-mpi = highfive.override { hdf5 = hdf5-mpi; };

  hspellDicts = callPackage ../development/libraries/hspell/dicts.nix { };

  hunspellDicts = recurseIntoAttrs (callPackages ../by-name/hu/hunspell/dictionaries.nix { });

  hunspellDictsChromium = recurseIntoAttrs (