git.iko.soy/rowtype-yoga/purescript-arraybuffer-builder
on 1103087 help sign in
30 lines 894 B history raw
1# Universal shell for PureScript repos
2# { pkgs ? import <nixpkgs> { }
3{ pkgs ? import (builtins.fetchGit {
4 # https://github.com/NixOS/nixpkgs/releases/tag/20.09
5 url = "https://github.com/nixos/nixpkgs/";
6 ref = "refs/tags/20.09";
7 rev = "cd63096d6d887d689543a0b97743d28995bc9bc3";
8 }) {}
9}:
10let
11 easy-ps = import (builtins.fetchGit {
12 url = "https://github.com/justinwoo/easy-purescript-nix.git";
13 rev = "bbef4245cd6810ea84e97a47c801947bfec9fadc";
14 }) { inherit pkgs; };
15in
16pkgs.mkShell {
17 nativeBuildInputs = [
18 easy-ps.purs-0_14_3
19 easy-ps.spago
20 easy-ps.pulp
21 easy-ps.psc-package
22 pkgs.nodejs-14_x
23 pkgs.nodePackages.bower
24 ];
25 LC_ALL = "C.UTF-8"; # https://github.com/purescript/spago/issues/507
26 # https://github.com/purescript/spago#install-autocompletions-for-bash
27 shellHook = ''
28 source <(spago --bash-completion-script `which spago`)
29 '';