Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use a default purs version from CTL #246

Open
github-actions bot opened this issue Dec 19, 2023 · 0 comments
Open

Use a default purs version from CTL #246

github-actions bot opened this issue Dec 19, 2023 · 0 comments
Labels
help wanted Extra attention is needed todo

Comments

@github-actions
Copy link
Contributor

# TODO Use a default purs version from CTL

    in
    utils.apply-systems
      { inherit inputs systems overlays; }
      ({ system, pkgs, ... }@ctx:
        let
          inherit (pkgs) nodejs;
          # TODO Use a default purs version from CTL
          inherit (ctx.ps-tools.for-0_15)
            purescript purs-tidy purescript-language-server;
          purs-nix = inputs.purs-nix {
            inherit system;
            overlays = [ ctx.ctl-nix ];
          };
          scripts = pkgs.runCommand
            "scripts"
            {
              buildInputs = [ ctx.hor-plutus ];
            }
            ''
              mkdir -p $out/Scripts
              hor-plutus > script.json
              (echo "export default "; cat script.json) \
                > $out/Scripts/scriptV2.mjs
            '';
          ps = purs-nix.purs
            {
              inherit purescript nodejs;
              # Project dir (src, test)
              dir = ./.;
              # Dependencies
@github-actions github-actions bot added help wanted Extra attention is needed todo labels Dec 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed todo
Projects
None yet
Development

No branches or pull requests

0 participants