60f07311b9
GitOrigin-RevId: f8e2ebd66d097614d51a56a755450d4ae1632df1
21 lines
439 B
Nix
21 lines
439 B
Nix
{ callPackage
|
|
, idris2Packages
|
|
}:
|
|
|
|
let
|
|
in {
|
|
idris2 = callPackage ./idris2.nix { };
|
|
idris2Lsp = callPackage ./idris2-lsp.nix { };
|
|
|
|
buildIdris = callPackage ./build-idris.nix { };
|
|
|
|
idris2Api = (idris2Packages.buildIdris {
|
|
inherit (idris2Packages.idris2) src version;
|
|
ipkgName = "idris2api";
|
|
idrisLibraries = [ ];
|
|
preBuild = ''
|
|
export IDRIS2_PREFIX=$out/lib
|
|
make src/IdrisPaths.idr
|
|
'';
|
|
}).library;
|
|
}
|