git.iko.soy/rowtype-yoga/purescript-fixed-precision
on main help sign in
32 lines 940 B history raw
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}:
9let
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; };
16in
17pkgs.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 '';