-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathflake.nix
32 lines (30 loc) · 994 Bytes
/
flake.nix
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
{
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-23.05";
flake-utils.url = "github:numtide/flake-utils";
purescript-overlay.url = "github:thomashoneyman/purescript-overlay";
purescript-overlay.inputs.nixpkgs.follows = "nixpkgs";
};
outputs = { self, nixpkgs, flake-utils, purescript-overlay }:
flake-utils.lib.eachDefaultSystem (system:
let
overlays = [ purescript-overlay.overlays.default ];
pkgs = import nixpkgs { inherit system overlays; };
in {
devShells.default = pkgs.mkShell {
# You now have access to the standard PureScript toolchain in pkgs
buildInputs = [
pkgs.gnumake
pkgs.dhall
pkgs.dhall-json
pkgs.gjs
pkgs.purs
pkgs.nodePackages_latest.purty
pkgs.spago-unstable
pkgs.purs-tidy-bin.purs-tidy-0_10_0
pkgs.purs-backend-es
pkgs.esbuild
];
};
});
}