2024-01-25 14:12:00 +00:00
|
|
|
{ callPackage
|
|
|
|
, idris2Packages
|
2020-05-29 06:06:01 +00:00
|
|
|
}:
|
|
|
|
|
2022-01-13 20:06:32 +00:00
|
|
|
let
|
2024-01-25 14:12:00 +00:00
|
|
|
in {
|
|
|
|
idris2 = callPackage ./idris2.nix { };
|
2024-02-07 01:22:34 +00:00
|
|
|
idris2Lsp = callPackage ./idris2-lsp.nix { };
|
2024-01-25 14:12:00 +00:00
|
|
|
|
|
|
|
buildIdris = callPackage ./build-idris.nix { };
|
|
|
|
|
|
|
|
idris2Api = (idris2Packages.buildIdris {
|
2024-02-07 01:22:34 +00:00
|
|
|
inherit (idris2Packages.idris2) src version;
|
|
|
|
ipkgName = "idris2api";
|
2024-01-25 14:12:00 +00:00
|
|
|
idrisLibraries = [ ];
|
|
|
|
preBuild = ''
|
|
|
|
export IDRIS2_PREFIX=$out/lib
|
|
|
|
make src/IdrisPaths.idr
|
|
|
|
'';
|
|
|
|
}).library;
|
2020-05-29 06:06:01 +00:00
|
|
|
}
|