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

Add pix-purenix #173

Draft
wants to merge 7 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ jobs:
system: x86_64-linux
- template: pix-ctl-full
system: x86_64-linux
- template: pix-purenix
system: x86_64-linux
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/update-flake-lock.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ jobs:
- pix
- pix-ctl
- pix-ctl-full
- pix-purenix
- hor
runs-on: ubuntu-latest
steps:
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ nix flake init -t github:LovelaceAcademy/nix-templates#template-name
- [pix](./pix): A PureScript purs-nix template
- [pix-ctl](./pix-ctl): A minimal cardano-transaction-lib template using pix
- [pix-ctl-full](./pix-ctl-full): A optioned cardano-transaction-lib template using pix
- [pix-purenix](./pix-purenix): A minimal purenix template using pix

## FAQ

Expand Down
18 changes: 11 additions & 7 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,11 @@
link = "https://input-output-hk.github.io/haskell.nix/tutorials/getting-started-flakes.html";
target = ".#hello:exe:hello`";
};
pixWelcomeText = welcome {
project = "PureScript";
tool = "purs-nix (pix)";
link = "https://github.com/purs-nix/purs-nix";
};
ctlWelcomeText = welcome {
project = "cardano-transaction-lib";
tool = "purs-nix (pix)";
Expand Down Expand Up @@ -57,13 +62,7 @@
pix = {
path = ./pix;
description = "A purs-nix template";
welcomeText = ''
You just created a purs-nix project.
Read more about it here: https://github.com/purs-nix/purs-nix

Development shell with `nix develop`
Build with `nix build`
'';
welcomeText = pixWelcomeText;
};
pix-ctl = {
path = ./pix-ctl;
Expand All @@ -75,6 +74,11 @@
description = "A optioned cardano-transaction-lib template using pix and webpack";
welcomeText = ctlWelcomeText;
};
pix-purenix = {
path = ./pix-purenix;
description = "A minimal purenix template using pix";
welcomeText = pixWelcomeText;
};
};
};
}
3 changes: 3 additions & 0 deletions pix-purenix/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
/.psc-ide-port
/result
/output
Loading