-
-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathflake.nix
41 lines (37 loc) · 1012 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
33
34
35
36
37
38
39
40
41
{
description = "Halogen Hooks";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/release-22.05";
flake-utils = {
url = "github:numtide/flake-utils";
};
easy-purescript-nix = {
url = "github:justinwoo/easy-purescript-nix";
flake = false;
};
};
outputs = { self, nixpkgs, easy-purescript-nix, flake-utils, ... }: let
name = "halogen-hooks";
supportedSystems = ["aarch64-darwin" "x86_64-darwin" "x86_64-linux"];
in
flake-utils.lib.eachSystem supportedSystems (
system: let
pkgs = import nixpkgs {inherit system;};
pursPkgs = import easy-purescript-nix {inherit pkgs;};
in {
devShells = {
default = pkgs.mkShell {
inherit name;
packages = [
pkgs.nodejs-16_x
pkgs.esbuild
pkgs.nodePackages.bower
pursPkgs.purs
pursPkgs.spago
pursPkgs.purs-tidy
];
};
};
}
);
}