Init from https://github.com/justinwoo/purescript-easy-nix-example
commit029ca855ee67b42be50e6d0b108f0c8ecd1ccf2a
authorJames Brock <jamesbrock@gmail.com>
dateTue 14 Jul 2020, 20:58 (6 years ago)
.gitignorenew file+2
@@ -0,0 +1,2 @@
1+output
2+.psc-package
README.mdnew file+1
@@ -0,0 +1 @@
1+run `nix-shell` and run `psc-package build`
psc-package.jsonnew file+8
@@ -0,0 +1,8 @@
1+{
2+ "name": "purescript-easy-nix-example",
3+ "set": "psc-0.13.8",
4+ "source": "https://github.com/purescript/package-sets.git",
5+ "depends": [
6+ "prelude"
7+ ]
8+}
shell.nixnew file+18
@@ -0,0 +1,18 @@
1+{ pkgs ? import <nixpkgs> { } }:
2+let
3+ easy-ps = import
4+ (pkgs.fetchFromGitHub {
5+ owner = "justinwoo";
6+ repo = "easy-purescript-nix";
7+ rev = "0ba91d9aa9f7421f6bfe4895677159a8a999bf20";
8+ sha256 = "1baq7mmd3vjas87f0gzlq83n2l1h3dlqajjqr7fgaazpa9xgzs7q";
9+ }) {
10+ inherit pkgs;
11+ };
12+in
13+pkgs.mkShell {
14+ buildInputs = [
15+ easy-ps.purs-0_13_8
16+ easy-ps.psc-package
17+ ];
18+}
src/Main.pursnew file+1
@@ -0,0 +1 @@
1+module Main where