23b612e36f
GitOrigin-RevId: ae5c332cbb5827f6b1f02572496b141021de335f
20 lines
386 B
Nix
20 lines
386 B
Nix
{ callPackage
|
|
, idris2Packages
|
|
}:
|
|
|
|
let
|
|
in {
|
|
idris2 = callPackage ./idris2.nix { };
|
|
|
|
buildIdris = callPackage ./build-idris.nix { };
|
|
|
|
idris2Api = (idris2Packages.buildIdris {
|
|
inherit (idris2Packages.idris2) src;
|
|
projectName = "idris2api";
|
|
idrisLibraries = [ ];
|
|
preBuild = ''
|
|
export IDRIS2_PREFIX=$out/lib
|
|
make src/IdrisPaths.idr
|
|
'';
|
|
}).library;
|
|
}
|