Skip to content

Commit 0c1ce1b

Browse files
Update for PureScript 0.15
1 parent 84e06b4 commit 0c1ce1b

File tree

4 files changed

+26
-12
lines changed

4 files changed

+26
-12
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,10 @@ jobs:
1111

1212
steps:
1313
- uses: actions/checkout@v2
14+
1415
- uses: purescript-contrib/setup-purescript@main
16+
with:
17+
purs-tidy: "latest"
1518

1619
- name: Build source
1720
run: npm run build

.github/workflows/storybook.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ jobs:
1212
- uses: actions/checkout@v2
1313
- uses: thomashoneyman/setup-purescript@main
1414

15+
- name: Install esbuild
16+
run: npm install --global --global [email protected]
17+
1518
- name: Build Storybook
1619
run: npm run storybook
1720

packages.dhall

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,10 @@
1-
21
let upstream =
3-
https://github.com/purescript/package-sets/releases/download/psc-0.14.5-20211116/packages.dhall sha256:7ba810597a275e43c83411d2ab0d4b3c54d0b551436f4b1632e9ff3eb62e327a
2+
https://github.com/purescript/package-sets/releases/download/psc-0.15.0-20220502/packages.dhall
3+
sha256:38d347aeba9fe6359c208abe87a5cecf1ffb14294f11ad19664ae35c59b6e29a
44

55
in upstream
6-
with variant.version = "v7.1.0"
7-
8-
with convertable-options = {
9-
repo = "https://github.com/natefaubion/purescript-convertable-options",
10-
version = "v1.0.0",
11-
dependencies = [ "console", "effect", "maybe", "record" ],
12-
}
6+
with halogen-storybook =
7+
{ dependencies = [ "halogen", "routing", "foreign-object" ]
8+
, repo = "https://github.com/CarstenKoenig/purescript-halogen-storybook.git"
9+
, version = "purs015"
10+
}

shell.nix

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,27 @@ let
33
url = "https://github.com/NixOS/nixpkgs/archive/21.11.tar.gz";
44
}) {};
55

6+
# To update to a newer version of easy-purescript-nix, run:
7+
# nix-prefetch-git https://github.com/justinwoo/easy-purescript-nix
8+
#
9+
# Then, copy the resulting rev and sha256 here.
610
pursPkgs = import (pkgs.fetchFromGitHub {
711
owner = "justinwoo";
812
repo = "easy-purescript-nix";
9-
rev = "aa72388ca0fb72ed64467f59a121db1f104897db";
10-
sha256 = "1j37v3ncnakhq7p4l2vqdn4li8bgwcc8cd2hk2fblxhnlglikgx2";
13+
rev = "0ad5775c1e80cdd952527db2da969982e39ff592";
14+
sha256 = "0x53ads5v8zqsk4r1mfpzf5913byifdpv5shnvxpgw634ifyj1kg";
1115
}) { inherit pkgs; };
1216

1317
in pkgs.stdenv.mkDerivation {
1418
name = "halogen-formless";
1519
buildInputs = with pursPkgs; [
16-
pursPkgs.purs pursPkgs.spago pursPkgs.psa pursPkgs.purs-tidy
20+
pursPkgs.purs
21+
pursPkgs.spago
22+
pursPkgs.psa
23+
pursPkgs.purs-tidy
24+
pursPkgs.purescript-language-server
25+
1726
pkgs.nodejs-16_x
27+
pkgs.esbuild
1828
];
1929
}

0 commit comments

Comments
 (0)