create initial POC script generating API
This commit is contained in:
parent
564b1c4e66
commit
e862de7e59
9 changed files with 210 additions and 82 deletions
14
flake.nix
14
flake.nix
|
|
@ -140,11 +140,15 @@
|
|||
);
|
||||
|
||||
applyDep = pkgs: o:
|
||||
let h = myhackage pkgs.system o.compiler-nix-name; in
|
||||
(plutarch.applyPlutarchDep pkgs o) // {
|
||||
modules = haskellModules ++ [ h.module ] ++ (o.modules or [ ]);
|
||||
extra-hackages = [ (import h.hackageNix) ] ++ (o.extra-hackages or [ ]);
|
||||
extra-hackage-tarballs = { _xNJUd_plutarch-hackage = h.hackageTarball; } // (o.extra-hackage-tarballs or { });
|
||||
let
|
||||
h = myhackage pkgs.system o.compiler-nix-name;
|
||||
o' = (plutarch.applyPlutarchDep pkgs o);
|
||||
in
|
||||
o' // rec {
|
||||
modules = haskellModules ++ [ h.module ] ++ (o'.modules or [ ]);
|
||||
extra-hackages = [ (import h.hackageNix) ] ++ (o'.extra-hackages or [ ]);
|
||||
extra-hackage-tarballs = { _xNJUd_plutarch-hackage = h.hackageTarball; };
|
||||
cabalProjectLocal = (o'.cabalProjectLocal or "") + " , cache >= 0.1.3.0";
|
||||
};
|
||||
|
||||
projectForGhc = compiler-nix-name: system:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue