File tree Expand file tree Collapse file tree 2 files changed +33
-0
lines changed Expand file tree Collapse file tree 2 files changed +33
-0
lines changed Original file line number Diff line number Diff line change 1111/.spago /
1212.direnv
1313* .swp
14+ /generated-docs
Original file line number Diff line number Diff line change 1+ # Universal shell for PureScript repos
2+ { pkgs ? import ( builtins . fetchGit {
3+ # https://github.com/NixOS/nixpkgs/releases/tag/21.11
4+ url = "https://github.com/nixos/nixpkgs/" ;
5+ ref = "refs/tags/21.11" ;
6+ rev = "a7ecde854aee5c4c7cd6177f54a99d2c1ff28a31" ;
7+ } ) { }
8+ } :
9+ let
10+ easy-ps-src = builtins . fetchGit {
11+ url = "https://github.com/justinwoo/easy-purescript-nix.git" ;
12+ ref = "master" ;
13+ rev = "0ad5775c1e80cdd952527db2da969982e39ff592" ;
14+ } ;
15+ easy-ps = import easy-ps-src { inherit pkgs ; } ;
16+ in
17+ pkgs . mkShell {
18+ nativeBuildInputs = [
19+ easy-ps . purs-0_15_0
20+ easy-ps . spago
21+ easy-ps . pulp-16_0_0-0
22+ easy-ps . psc-package
23+ easy-ps . purs-tidy
24+ pkgs . nodejs-16_x
25+ pkgs . nodePackages . bower
26+ ] ;
27+ LC_ALL = "C.UTF-8" ; # https://github.com/purescript/spago/issues/507
28+ # https://github.com/purescript/spago#install-autocompletions-for-bash
29+ shellHook = ''
30+ source <(spago --bash-completion-script `which spago`)
31+ '' ;
32+ }
You can’t perform that action at this time.
0 commit comments