forked from thomashoneyman/purescript-halogen-realworld
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathshell.nix
26 lines (24 loc) · 765 Bytes
/
shell.nix
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
26
let
pkgs = import (builtins.fetchTarball {
url = "https://github.com/NixOS/nixpkgs/archive/20.03.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.
# Last update: 2020-08-01
pursPkgs = import (pkgs.fetchFromGitHub {
owner = "justinwoo";
repo = "easy-purescript-nix";
rev = "7ff5a12af5750f94d0480059dba0ba6b82c6c452";
sha256 = "0af25dqhs13ii4mx9jjkx2pww4ddbs741vb5gfc5ckxb084d69fq";
}) { inherit pkgs; };
in pkgs.stdenv.mkDerivation {
name = "halogen-realworld";
buildInputs = with pursPkgs; [
pursPkgs.purs
pursPkgs.spago
pursPkgs.zephyr
pkgs.nodejs-12_x
];
}