2023-02-22 10:55:15 +00:00
|
|
|
{ pkgs, lib, newScope, Agda }:
|
2020-05-15 21:57:56 +00:00
|
|
|
|
|
|
|
let
|
|
|
|
mkAgdaPackages = Agda: lib.makeScope newScope (mkAgdaPackages' Agda);
|
|
|
|
mkAgdaPackages' = Agda: self: let
|
2023-02-22 10:55:15 +00:00
|
|
|
inherit (self) callPackage;
|
2020-05-15 21:57:56 +00:00
|
|
|
inherit (callPackage ../build-support/agda {
|
|
|
|
inherit Agda self;
|
|
|
|
inherit (pkgs.haskellPackages) ghcWithPackages;
|
2024-07-27 06:49:29 +00:00
|
|
|
}) withPackages mkLibraryFile mkDerivation;
|
2020-05-15 21:57:56 +00:00
|
|
|
in {
|
2024-07-27 06:49:29 +00:00
|
|
|
inherit mkLibraryFile mkDerivation;
|
2020-05-15 21:57:56 +00:00
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
lib = lib.extend (final: prev: import ../build-support/agda/lib.nix { lib = prev; });
|
|
|
|
|
2023-02-22 10:55:15 +00:00
|
|
|
agda = withPackages [];
|
2020-05-15 21:57:56 +00:00
|
|
|
|
|
|
|
standard-library = callPackage ../development/libraries/agda/standard-library {
|
|
|
|
inherit (pkgs.haskellPackages) ghcWithPackages;
|
|
|
|
};
|
|
|
|
|
|
|
|
iowa-stdlib = callPackage ../development/libraries/agda/iowa-stdlib { };
|
|
|
|
|
|
|
|
agda-prelude = callPackage ../development/libraries/agda/agda-prelude { };
|
|
|
|
|
|
|
|
agda-categories = callPackage ../development/libraries/agda/agda-categories { };
|
2020-05-29 06:06:01 +00:00
|
|
|
|
|
|
|
cubical = callPackage ../development/libraries/agda/cubical { };
|
2020-08-20 17:08:02 +00:00
|
|
|
|
2020-10-16 20:44:37 +00:00
|
|
|
functional-linear-algebra = callPackage
|
|
|
|
../development/libraries/agda/functional-linear-algebra { };
|
|
|
|
|
2020-08-20 17:08:02 +00:00
|
|
|
generic = callPackage ../development/libraries/agda/generic { };
|
2021-10-07 14:46:35 +00:00
|
|
|
|
|
|
|
agdarsec = callPackage ../development/libraries/agda/agdarsec { };
|
2023-08-10 07:59:29 +00:00
|
|
|
|
|
|
|
_1lab = callPackage ../development/libraries/agda/1lab { };
|
2024-07-01 15:47:52 +00:00
|
|
|
|
|
|
|
generics = callPackage ../development/libraries/agda/generics { };
|
2020-05-15 21:57:56 +00:00
|
|
|
};
|
|
|
|
in mkAgdaPackages Agda
|