Skip to content

Commit 30e0003

Browse files
Remove easy-purescript-nix (#612)
1 parent 8a1897f commit 30e0003

File tree

2 files changed

+15
-78
lines changed

2 files changed

+15
-78
lines changed

flake.lock

+7-59
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

flake.nix

+8-19
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,6 @@
1616
inputs.nixpkgs.follows = "nixpkgs";
1717
};
1818

19-
# Temporary until purs-tidy is supported by purix
20-
easy-purescript-nix = {
21-
url = "github:justinwoo/easy-purescript-nix";
22-
};
23-
2419
easy-dhall-nix = {
2520
url = "github:justinwoo/easy-dhall-nix";
2621
flake = false;
@@ -32,22 +27,14 @@
3227
nixpkgs,
3328
flake-utils,
3429
purix,
35-
easy-purescript-nix,
3630
easy-dhall-nix,
3731
...
3832
}: let
3933
supportedSystems = ["x86_64-linux" "aarch64-linux" "x86_64-darwin" "aarch64-darwin"];
4034

4135
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-
5036
nodejs = prev.nodejs-18_x;
37+
dhallPackages = prev.callPackage easy-dhall-nix {};
5138

5239
# We don't want to force everyone to update their configs if they aren't
5340
# normally on flakes.
@@ -62,12 +49,13 @@
6249
overlays = [purix.overlays.default registryOverlay];
6350
};
6451

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`.
6755
# $ purs-0_14_0 --version
6856
# 0.14.0
6957
#
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:
7159
# $ nix flake update
7260
compilers = let
7361
# Only include the compiler at normal MAJOR.MINOR.PATCH versions.
@@ -193,9 +181,10 @@
193181
dhallPackages.dhall-json-simple
194182

195183
# Development tooling
196-
pursPackages.purs
184+
purs-unstable
197185
spago-unstable
198-
pursPackages.purs-tidy
186+
purs-tidy-unstable
187+
purs-backend-es-unstable
199188
];
200189
};
201190
};

0 commit comments

Comments
 (0)