-
Notifications
You must be signed in to change notification settings - Fork 2
/
flake.nix
48 lines (40 loc) · 1.03 KB
/
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
42
43
44
45
46
47
48
{
description = "purescript-ts-bridge";
inputs.nixpkgs.url = "nixpkgs";
inputs.easy-purescript-nix = {
url = github:justinwoo/easy-purescript-nix;
flake = false;
};
inputs.flake-utils.url = github:numtide/flake-utils;
outputs = inputs:
inputs.flake-utils.lib.eachSystem [ "x86_64-linux" ] (system:
let
overlays = [
(prev: final: {
inherit (easy-purescript-nix) purs-tidy psa;
purescript = easy-purescript-nix.purs-0_15_10;
})
];
pkgs = import
inputs.nixpkgs
{
inherit system;
inherit overlays;
};
easy-purescript-nix = import inputs.easy-purescript-nix { inherit pkgs; };
in
{
devShell = pkgs.mkShell {
nativeBuildInputs = [
pkgs.purescript
pkgs.purs-tidy
pkgs.bashInteractive
pkgs.nodePackages.prettier
pkgs.just
pkgs.yarn
pkgs.psa
];
};
}
);
}