Skip to content

Commit f2d80df

Browse files
authored
agdaPackages.generic: drop (NixOS#451038)
2 parents e8cca1f + c0a6529 commit f2d80df

File tree

3 files changed

+5
-43
lines changed

3 files changed

+5
-43
lines changed

doc/languages-frameworks/agda.section.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,7 @@ In a pull request updating e.g. the standard library, you should write the follo
254254
```
255255

256256
This will build all reverse dependencies of the standard library,
257-
for example `agdaPackages.agda-categories`, or `agdaPackages.generic`.
257+
for example `agdaPackages.agda-categories`.
258258

259259
In some cases it is useful to build _all_ Agda packages.
260260
This can be done with the following Github comment:

pkgs/development/libraries/agda/generic/default.nix

Lines changed: 0 additions & 40 deletions
This file was deleted.

pkgs/top-level/agda-packages.nix

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{
22
pkgs,
3+
config,
34
lib,
45
newScope,
56
Agda,
@@ -44,13 +45,14 @@ let
4445

4546
functional-linear-algebra = callPackage ../development/libraries/agda/functional-linear-algebra { };
4647

47-
generic = callPackage ../development/libraries/agda/generic { };
48-
4948
agdarsec = callPackage ../development/libraries/agda/agdarsec { };
5049

5150
_1lab = callPackage ../development/libraries/agda/1lab { };
5251

5352
generics = callPackage ../development/libraries/agda/generics { };
53+
}
54+
// lib.optionalAttrs config.allowAliases {
55+
generic = throw "agdaPackages.generic has been removed because it is unmaintained upstream and has been marked as broken since 2021. Consider using agdaPackages.generics instead."; # Added 2025-10-11
5456
};
5557
in
5658
mkAgdaPackages Agda

0 commit comments

Comments
 (0)