-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathshell.nix
33 lines (32 loc) · 1 KB
/
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
27
28
29
30
31
32
33
let
pkgs = import (builtins.fetchTarball {
url = "https://github.com/NixOS/nixpkgs/archive/21.11.tar.gz";
}) {};
# To update to a newer version of easy-purescript-nix:
# 1. Obtain the commit hash <rev> via `curl https://api.github.com/repos/justinwoo/easy-purescript-nix/commits/master`.
# 2. Obtain the sha256 hash <sha256> via `nix-prefetch-url --unpack https://github.com/justinwoo/easy-purescript-nix/archive/<rev>.tar.gz`.
# 3. Update the <rev> and <sha256> below.
pursPkgs = import (pkgs.fetchFromGitHub {
owner = "justinwoo";
repo = "easy-purescript-nix";
rev = "ee51a6d459b8fecfcb10f24ca9728e649c6a9e00";
sha256 = "1w4k6mcayyg6388na0cca5qx94sm99xn3na26x2w34jlyz3bwl3m";
}) {inherit pkgs;};
in
pkgs.stdenv.mkDerivation {
name = "tecton";
buildInputs = with pursPkgs;
[
purs
spago
pulp
purs-tidy
]
++ (with pkgs; [
mdbook
parallel
watchexec
nodejs-16_x
nodePackages.bower
]);
}