git.iko.soy/rowtype-yoga/purescript-parsing-dataview
on master help sign in
PureScript 0.14
commite05e27ae8178125b60b83967c63c02fc15a868d9 authorJames Brock <jamesbrock@gmail.com> dateWed 21 Jul 2021, 11:04 (5 years ago) parent37bb7db
2 files changed+23−21
packages.dhall+1−3 shell.nix+22−18
packages.dhall+1−3
@@ -116,10 +116,8 @@ let additions =
116116 }
117117-------------------------------
118118-}
119−
120−
121119let upstream =
122− https://github.com/purescript/package-sets/releases/download/psc-0.13.8-20200708/packages.dhall sha256:df5b0f1ae92d4401404344f4fb2a7a3089612c9f30066dcddf9eaea4fe780e29
120+ https://github.com/purescript/package-sets/releases/download/psc-0.14.3-20210716/packages.dhall sha256:1f9af624ddfd5352455b7ac6df714f950d499e7e3c6504f62ff467eebd11042c
123121
124122let overrides = {=}
125123
shell.nix+22−18
@@ -1,26 +1,30 @@
1−{ pkgs ? import <nixpkgs> { } }:
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+}:
210let
3− easy-ps = import
4− (pkgs.fetchFromGitHub {
5− owner = "justinwoo";
6− repo = "easy-purescript-nix";
7− rev = "0ba91d9aa9f7421f6bfe4895677159a8a999bf20";
8− sha256 = "1baq7mmd3vjas87f0gzlq83n2l1h3dlqajjqr7fgaazpa9xgzs7q";
9− }) {
10− inherit pkgs;
11− };
11+ easy-ps = import (builtins.fetchGit {
12+ url = "https://github.com/justinwoo/easy-purescript-nix.git";
13+ rev = "bbef4245cd6810ea84e97a47c801947bfec9fadc";
14+ }) { inherit pkgs; };
1215in
1316pkgs.mkShell {
14− buildInputs = [
15− easy-ps.purs-0_13_8
17+ nativeBuildInputs = [
18+ easy-ps.purs-0_14_3
1619 easy-ps.spago
17− pkgs.nodejs-13_x
20+ easy-ps.pulp
21+ easy-ps.psc-package
22+ pkgs.nodejs-14_x
1823 pkgs.nodePackages.bower
19− # pkgs.nodePackages.pulp
20− #
21− # The pulp nix derivation doesn't work, so to run pulp:
22− # $ npm install pulp
23− # $ node node_modules/pulp/index.js
2424 ];
2525 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+ '';
2630}