|
16 | 16 | inputs.nixpkgs.follows = "nixpkgs";
|
17 | 17 | };
|
18 | 18 |
|
19 |
| - # Temporary until purs-tidy is supported by purix |
20 |
| - easy-purescript-nix = { |
21 |
| - url = "github:justinwoo/easy-purescript-nix"; |
22 |
| - }; |
23 |
| - |
24 | 19 | easy-dhall-nix = {
|
25 | 20 | url = "github:justinwoo/easy-dhall-nix";
|
26 | 21 | flake = false;
|
|
32 | 27 | nixpkgs,
|
33 | 28 | flake-utils,
|
34 | 29 | purix,
|
35 |
| - easy-purescript-nix, |
36 | 30 | easy-dhall-nix,
|
37 | 31 | ...
|
38 | 32 | }: let
|
39 | 33 | supportedSystems = ["x86_64-linux" "aarch64-linux" "x86_64-darwin" "aarch64-darwin"];
|
40 | 34 |
|
41 | 35 | registryOverlay = final: prev: {
|
42 |
| - # Annoyingly, easy-purescript-nix refers to 'nodejs_18' instead of |
43 |
| - # 'nodejs-18_x', so we need to add that name and then have easy-ps-nix |
44 |
| - # refer to the final result. |
45 |
| - nodejs_18 = prev.nodejs-18_x; |
46 |
| - pursPackages = final.callPackage easy-purescript-nix {}; |
47 |
| - |
48 |
| - dhallPackages = prev.callPackage easy-dhall-nix {}; |
49 |
| - |
50 | 36 | nodejs = prev.nodejs-18_x;
|
| 37 | + dhallPackages = prev.callPackage easy-dhall-nix {}; |
51 | 38 |
|
52 | 39 | # We don't want to force everyone to update their configs if they aren't
|
53 | 40 | # normally on flakes.
|
|
62 | 49 | overlays = [purix.overlays.default registryOverlay];
|
63 | 50 | };
|
64 | 51 |
|
65 |
| - # Produces a list of all PureScript binaries supported by easy-purescript-nix, |
66 |
| - # callable using the naming convention `purs-MAJOR_MINOR_PATCH`. |
| 52 | + # Produces a list of all PureScript binaries supported by purix, ie. those |
| 53 | + # from 0.13 onwards, callable using the naming convention |
| 54 | + # `purs-MAJOR_MINOR_PATCH`. |
67 | 55 | # $ purs-0_14_0 --version
|
68 | 56 | # 0.14.0
|
69 | 57 | #
|
70 |
| - # To add a new compiler to the list, just update easy-purescript-nix: |
| 58 | + # To add a new compiler to the list, just update purix: |
71 | 59 | # $ nix flake update
|
72 | 60 | compilers = let
|
73 | 61 | # Only include the compiler at normal MAJOR.MINOR.PATCH versions.
|
|
193 | 181 | dhallPackages.dhall-json-simple
|
194 | 182 |
|
195 | 183 | # Development tooling
|
196 |
| - pursPackages.purs |
| 184 | + purs-unstable |
197 | 185 | spago-unstable
|
198 |
| - pursPackages.purs-tidy |
| 186 | + purs-tidy-unstable |
| 187 | + purs-backend-es-unstable |
199 | 188 | ];
|
200 | 189 | };
|
201 | 190 | };
|
|
0 commit comments