forked from winterland1989/mysql-haskell
-
Notifications
You must be signed in to change notification settings - Fork 5
/
flake.nix
45 lines (40 loc) · 1.2 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
{
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixpkgs-unstable";
flake-parts.url = "github:hercules-ci/flake-parts";
haskell-flake.url = "github:srid/haskell-flake";
word24.url = "github:winterland1989/word24";
word24.flake = false;
};
outputs = inputs@{ self, nixpkgs, flake-parts, ... }:
flake-parts.lib.mkFlake { inherit inputs; } ({ withSystem, ... }: {
systems = nixpkgs.lib.systems.flakeExposed;
imports = [
inputs.haskell-flake.flakeModule
];
perSystem = { self', pkgs, lib, config, ... }: {
haskellProjects.default = {
projectFlakeName = "mysql-haskell";
basePackages = pkgs.haskell.packages.ghc927;
packages = {
word24.source = inputs.word24;
};
settings = {
word24 = {
check = false;
broken = false;
jailbreak = true;
};
binary-parsers = {
broken = false;
jailbreak = true;
};
wire-streams = {
jailbreak = true;
};
};
autoWire = [ "packages" "checks" "devShells" "apps"];
};
};
});
}