Skip to content

Commit df3cca5

Browse files
committed
new spago
1 parent 3003fa3 commit df3cca5

File tree

5 files changed

+1638
-44
lines changed

5 files changed

+1638
-44
lines changed

package.json

Lines changed: 0 additions & 18 deletions
This file was deleted.

shell.nix

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
let
2+
purescript-overlay =
3+
builtins.fetchGit {
4+
name = "purescript-overlay";
5+
url = "https://github.com/thomashoneyman/purescript-overlay.git";
6+
rev = "526c92c34a1a0213dc5c4761756375e13d85f8d4";
7+
};
8+
purerlReleases =
9+
builtins.fetchGit {
10+
url = "https://github.com/purerl/nixpkgs-purerl.git";
11+
ref = "master";
12+
rev = "69ea3146f3c4f715c5dbc6e0f8ba7d0ee57bb3bd";
13+
};
14+
erlangReleases =
15+
builtins.fetchGit {
16+
name = "nixpkgs-nixerl";
17+
url = "https://github.com/id3as/nixpkgs-nixerl.git";
18+
rev = "2822128d0fe5c8aac42f0b80045e80e6ac22bfcc";
19+
};
20+
21+
pkgs = import <nixpkgs> {
22+
overlays = [
23+
(import purescript-overlay).overlays.default
24+
(import purerlReleases)
25+
(import erlangReleases)
26+
27+
];
28+
};
29+
erlang = pkgs.nixerl.erlang-26-1;
30+
31+
in
32+
33+
pkgs.mkShell {
34+
# nativeBuildInputs is usually what you want -- tools you need to run
35+
nativeBuildInputs = with pkgs.buildPackages;
36+
[
37+
nodejs
38+
spago-unstable
39+
purs-bin.purs-0_15_14
40+
purs-tidy
41+
purerl.purerl-0-0-22
42+
erlang.erlang
43+
];
44+
45+
}
46+

spago.dhall

Lines changed: 0 additions & 26 deletions
This file was deleted.

0 commit comments

Comments
 (0)