forked from thomashoneyman/purescript-halogen-realworld
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathshell.nix
More file actions
25 lines (23 loc) · 737 Bytes
/
shell.nix
File metadata and controls
25 lines (23 loc) · 737 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
let
pkgs = import (builtins.fetchTarball {
url = "https://github.com/NixOS/nixpkgs/archive/21.05.tar.gz";
}) {};
# To update to a newer version of easy-purescript-nix, run:
# nix-prefetch-git https://github.com/justinwoo/easy-purescript-nix
#
# Then, copy the resulting rev and sha256 here.
pursPkgs = import (pkgs.fetchFromGitHub {
owner = "justinwoo";
repo = "easy-purescript-nix";
rev = "eb64583e3e15749b3ae56573b2aebbaa9cbab4eb";
sha256 = "0hr7smk7avdgc5nm1r3drq91j1hf8wimp7sg747832345c8vq19a";
}) { inherit pkgs; };
in pkgs.stdenv.mkDerivation {
name = "halogen-realworld";
buildInputs = with pursPkgs; [
pursPkgs.purs
pursPkgs.spago
pursPkgs.zephyr
pkgs.nodejs-14_x
];
}