haskell.packages.ghc810: drop unevaluatable packages

`haskell.packages.ghc810` has a few packages that fails to evaluate by
referring non-existent attributes. This turns evaluation attempts into
unrecoverable errors.

Before the change an attempt to instantiate all `ghc810` packages failed
as:

    $ nix-instantiate --strict --eval --expr 'with import ./. {}; lib.mapAttrs (n: v: builtins.tryEval (lib.isDerivation v)) haskell.packages.ghc810'
    error:
       error: attribute 'stylish-haskell_0_14_3_0' missing
       at pkgs/development/haskell-modules/configuration-ghc-8.10.x.nix:114:33:

          113|   hlint = self.hlint_3_4_1;
          114|   stylish-haskell = doJailbreak self.stylish-haskell_0_14_3_0;
             |                                 ^
          115|
       Did you mean stylish-haskell_0_14_4_0?

The change drops overrides that refer non-existent packages.
This commit is contained in:
Sergei Trofimovich 2024-01-01 14:12:17 +00:00
parent 3d54a95d71
commit e649d53618

View File

@ -105,14 +105,9 @@ self: super: {
ghc-lib-parser-ex = doDistribute self.ghc-lib-parser-ex_9_2_1_1;
ghc-lib = doDistribute self.ghc-lib_9_2_8_20230729;
mod = super.mod_0_1_2_2;
path-io = doJailbreak super.path-io;
ormolu = self.ormolu_0_5_0_1;
fourmolu = dontCheck self.fourmolu_0_9_0_0;
hlint = self.hlint_3_4_1;
stylish-haskell = doJailbreak self.stylish-haskell_0_14_3_0;
mime-string = disableOptimization super.mime-string;