Skip to content

Commit 2dd4718

Browse files
committed
Nix shell
1 parent ebbd8a6 commit 2dd4718

File tree

3 files changed

+25
-3
lines changed

3 files changed

+25
-3
lines changed

.envrc

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
eval "$(lorri direnv)"

.tool-versions

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
nodejs 14.15.4
2-
spago 0.19.1
3-
purescript 0.14.0
1+
nodejs 14.16.1
2+
spago 0.20.1
3+
purescript 0.14.1

shell.nix

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
{ pkgs ? import <nixpkgs> {} }:
2+
3+
let
4+
easy-ps = import
5+
(pkgs.fetchFromGitHub {
6+
owner = "justinwoo";
7+
repo = "easy-purescript-nix";
8+
rev = "c766802fa7a6194fd80c31d8907f07ebacc4869c";
9+
sha256 = "0f0b3bhf8id1vnga0vaj7bldfykis8vxfiyll3rc003b21sx9w4n";
10+
}) {
11+
inherit pkgs;
12+
};
13+
in
14+
15+
pkgs.mkShell {
16+
buildInputs = [
17+
pkgs.nodejs-14_x
18+
easy-ps.purs-0_14_1
19+
easy-ps.spago
20+
];
21+
}

0 commit comments

Comments
 (0)