-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathflake.nix
More file actions
85 lines (69 loc) · 1.84 KB
/
flake.nix
File metadata and controls
85 lines (69 loc) · 1.84 KB
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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
{
description = "Customizable quasiquote interpolation";
inputs.hix.url = "git+https://git.tryp.io/tek/hix";
inputs.hix.inputs.nixpkgs.url = "github:nixos/nixpkgs/15f4ee454b1dce334612fa6843b3e05cf546efab";
outputs = {hix, ...}: hix.lib.pro ({config, lib, ...}: {
ghcVersions = ["ghc98" "ghc910" "ghc912" "ghc914"];
gen-overrides.enable = true;
packages.exon = {
src = ./packages/exon;
cabal = {
language = "GHC2021";
license = "BSD-2-Clause-Patent";
license-file = "LICENSE";
author = "Torsten Schmits";
prelude = {
enable = true;
package = "incipit-base";
module = "IncipitBase";
};
meta = {
synopsis = "Customizable quasiquote interpolation";
maintainer = "hackage@tryp.io";
category = "String";
github = "tek/exon";
extra-source-files = ["readme.md" "changelog.md"];
};
};
library = {
enable = true;
dependencies = [
"ghc"
"parsec"
"template-haskell"
];
};
test = {
enable = true;
dependencies = [
"hedgehog"
"tasty"
"tasty-hedgehog"
"template-haskell"
];
};
benchmark = {
enable = true;
dependencies = [
"criterion"
];
};
};
ghci.args = ["-package ghc"];
managed = {
enable = true;
lower.enable = true;
latest.compiler = "ghc914";
lower.compiler = "ghc94";
};
hackage.repos."hackage.haskell.org".user = "tek";
envs.dev.overrides = {bench, ...}: {
exon = bench;
};
package-sets.ghc914.overrides = {jailbreak, ...}: {
incipit-base = jailbreak;
};
ui.experimental.managed-maint = true;
internal.hixCli.dev = true;
});
}