nixpkgs/pkgs/top-level/agda-packages.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

42 lines
1.4 KiB
Nix
Raw Normal View History

{ pkgs, lib, newScope, Agda }:
2019-12-29 12:14:16 +00:00
let
mkAgdaPackages = Agda: lib.makeScope newScope (mkAgdaPackages' Agda);
mkAgdaPackages' = Agda: self: let
inherit (self) callPackage;
2019-12-29 12:14:16 +00:00
inherit (callPackage ../build-support/agda {
inherit Agda self;
inherit (pkgs.haskellPackages) ghcWithPackages;
}) withPackages mkLibraryFile mkDerivation;
2019-12-29 12:14:16 +00:00
in {
inherit mkLibraryFile mkDerivation;
2019-12-29 12:14:16 +00:00
lib = lib.extend (final: prev: import ../build-support/agda/lib.nix { lib = prev; });
agda = withPackages [];
2019-12-29 12:14:16 +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 { };
2019-12-29 17:22:00 +00:00
agda-categories = callPackage ../development/libraries/agda/agda-categories { };
cubical = callPackage ../development/libraries/agda/cubical { };
2020-08-10 10:02:57 +01:00
functional-linear-algebra = callPackage
../development/libraries/agda/functional-linear-algebra { };
2020-08-10 10:02:57 +01:00
generic = callPackage ../development/libraries/agda/generic { };
2020-10-12 19:00:06 +01:00
agdarsec = callPackage ../development/libraries/agda/agdarsec { };
_1lab = callPackage ../development/libraries/agda/1lab { };
2022-01-06 18:38:04 +00:00
generics = callPackage ../development/libraries/agda/generics { };
2019-12-29 12:14:16 +00:00
};
in mkAgdaPackages Agda