Skip to content

Commit b806684

Browse files
committed
bump hix
1 parent b58b747 commit b806684

File tree

5 files changed

+1531
-241
lines changed

5 files changed

+1531
-241
lines changed

flake.lock

Lines changed: 8 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

flake.nix

Lines changed: 22 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -2,38 +2,12 @@
22
description = "Customizable quasiquote interpolation";
33

44
inputs.hix.url = "git+https://git.tryp.io/tek/hix";
5-
inputs.hix.inputs.nixpkgs.url = "github:nixos/nixpkgs/8c4dc69b9732f6bbe826b5fbb32184987520ff26";
65

7-
outputs = {hix, ...}: hix.lib.pro ({config, lib, ...}: let
8-
9-
overrides = {hackage, jailbreak, ...}: {
10-
incipit-base = hackage "0.6.1.0" "0iyyvxpyyybn5ygr875pav6g5hbs00wa9jbr7qslszqpkfpy5x33";
11-
microstache = jailbreak;
12-
};
13-
14-
in {
6+
outputs = {hix, ...}: hix.lib.pro ({config, lib, ...}: {
157
ghcVersions = ["ghc92" "ghc94" "ghc96" "ghc98" "ghc910"];
168
compat.versions = ["ghc94" "ghc96"];
179
hackage.versionFile = "ops/version.nix";
1810
gen-overrides.enable = true;
19-
managed = {
20-
enable = true;
21-
lower.enable = true;
22-
latest.compiler = "ghc910";
23-
forceBounds.base.upper = "5";
24-
latest.envs.solverOverrides = overrides;
25-
};
26-
27-
# TODO needs to be fixed in hix – since this flake is overriding the nixpkgs input, the hix cli gets a different
28-
# Cabal override mess than it's prepared for.
29-
# The hixCli ghc needs to be built with an independent nixpkgs.
30-
internal.hixCli.ghc.nixpkgs = lib.mkForce (builtins.fetchTarball {
31-
url = "https://github.com/nixos/nixpkgs/archive/e913ae340076bbb73d9f4d3d065c2bca7caafb16.tar.gz";
32-
sha256 = "07qjibn85hc6p8c7lwg00fwpyqjlmaxncz9wa2l6qpy1hsk51k8f";
33-
});
34-
35-
envs.latest.overrides = overrides;
36-
envs.ghc910.overrides = overrides;
3711

3812
packages.exon = {
3913
src = ./packages/exon;
@@ -56,8 +30,6 @@
5630
};
5731
};
5832

59-
override = {bench, ...}: bench;
60-
6133
library = {
6234
enable = true;
6335
dependencies = [
@@ -88,5 +60,26 @@
8860

8961
ghci.args = ["-package ghc"];
9062

63+
managed = {
64+
enable = true;
65+
lower.enable = true;
66+
latest.compiler = "ghc910";
67+
latest.envs.solverOverrides = {jailbreak, ...}: {
68+
incipit-base = jailbreak;
69+
};
70+
};
71+
72+
envs.dev.overrides = {bench, ...}: {
73+
exon = bench;
74+
};
75+
76+
envs.latest.overrides = {jailbreak, ...}: {
77+
optparse-applicative = jailbreak;
78+
};
79+
80+
envs.ghc910.overrides = {jailbreak, ...}: {
81+
incipit-base = jailbreak;
82+
};
83+
9184
});
9285
}

ops/managed.nix

Lines changed: 192 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,10 +76,78 @@
7676
};
7777
overrides = {
7878
latest = {
79+
Glob = {
80+
version = "0.10.2";
81+
hash = "1v74ynmlz1qi8m5l7jkbyhjfmrjhklrzhjwh2lpfhrr285n1008l";
82+
};
83+
OneTuple = {
84+
version = "0.4.2";
85+
hash = "1940dmd9rhr5fvlwidqm0bcm1015kgbr820lvfdr993rcy1mmxdg";
86+
};
87+
Only = {
88+
version = "0.1";
89+
hash = "1a8a5sapa8jpciglsv98snx2khkn9hplh8rn41p47j9796gxb5jw";
90+
};
91+
QuickCheck = {
92+
version = "2.15.0.1";
93+
hash = "1dcqv7z83wrbv7wvm7hdvjapfyzi9g4wjwsh9x6zh9ff622z53lb";
94+
};
95+
StateVar = {
96+
version = "1.2.2";
97+
hash = "1grkv7sinn3wlk0xgwn4in5xxqmssrrfhp2hjxy9imhh8li40grf";
98+
};
7999
aeson = {
80100
version = "2.2.3.0";
81101
hash = "1a9a0z6ljbck5scwkk9r9p04y9avn9vja3n063lyqgn2v1vjb1sp";
82102
};
103+
assoc = {
104+
version = "1.1.1";
105+
hash = "0v4j6bn73dm3xnpkfdx0dg7q4vypl4k31pg35vycfp8w00jv6b6q";
106+
};
107+
attoparsec = {
108+
version = "0.14.4";
109+
hash = "0y9dph5axyvr1bfcvmz6qh50bjcp50m2ljra14960anc6g74a3c8";
110+
};
111+
base-compat = {
112+
version = "0.14.1";
113+
hash = "191rfsma0ig8gc05qawwcc418qimdsjmxkgn7gvcx6wwp0297h3b";
114+
};
115+
base-compat-batteries = {
116+
version = "0.14.1";
117+
hash = "0racz6cnw0bngwpwhyfhm7q7l492zs0f07wq6wvbzlkfac7lfd8y";
118+
};
119+
bifunctors = {
120+
version = "5.6.2";
121+
hash = "1g0z6q5z04zgp7kaf917nrj2iiz1lsqh8ji5ny5ly534zr9zya2m";
122+
};
123+
binary-orphans = {
124+
version = "1.0.5";
125+
hash = "0yv6h7zj61s04myidbqlq44vlcar63gshx6n1mhl180ffaij38yf";
126+
};
127+
bitvec = {
128+
version = "1.1.5.0";
129+
hash = "1ms8sy3dc2yjkxy4m5nam2wyv9rdni8npm4zx07j7k8mn3gw763a";
130+
};
131+
cassava = {
132+
version = "0.5.3.2";
133+
hash = "0zhzl8ffnhizdxfc0lv64qliyqk4s84qqmklq2g2hg542n2v2drp";
134+
};
135+
character-ps = {
136+
version = "0.1";
137+
hash = "13yvm3ifpk6kfqba49r1xz0xyxcn0jw7xdkkblzsb5v0nf64g4dx";
138+
};
139+
code-page = {
140+
version = "0.2.1";
141+
hash = "1g6adshrqhn21b61vxhjzjzxvw7m1ildrq4jaj02wmlg6p6yvcwn";
142+
};
143+
comonad = {
144+
version = "5.0.9";
145+
hash = "0j7xm3vdd7icc6z557kph79g3z0c2xfi67lm3yzky0nhxgmcjckd";
146+
};
147+
contravariant = {
148+
version = "1.5.5";
149+
hash = "0931bvc2iv3l29phnq8qsmmkicgz4yfk7c6hrqavs8d5c5j4zpj8";
150+
};
83151
criterion = {
84152
version = "1.6.4.0";
85153
hash = "0c8rgqjjjhwyxcma35j4a5lqndqz8pyhxq1qnmbav4wrc0vi9gyh";
@@ -88,26 +156,94 @@
88156
version = "0.2.3.0";
89157
hash = "0759hlq6sh5rzmfdrb1hswpglh1m534zdp3hnyc5kfnyacnyyigw";
90158
};
159+
data-fix = {
160+
version = "0.3.4";
161+
hash = "0x8r2r8gmdvsclaszg90zn7gla6s8r6salbvgfsp0rscdjzj01ry";
162+
};
163+
dense-linear-algebra = {
164+
version = "0.1.0.0";
165+
hash = "1xyyixkj0pxy4lxsk08kpwff25g5cqskn1l3jv3spnjxr5q1zhxd";
166+
};
167+
generically = {
168+
version = "0.1.1";
169+
hash = "1658df4jbhzgpsqqgxp71bgry7ak5q0bjlrw6x551g54vvcydbxz";
170+
};
91171
hedgehog = {
92172
version = "1.5";
93173
hash = "1hz8xrg5p6vplvcj8c7pgidqnwqjmqahs9dla50nqpbcbdh932ll";
94174
};
175+
hsc2hs = {
176+
version = "0.68.10";
177+
hash = "0wdg17kicnp6qbgynha216vihx7nnsglvhn5c089dqpa14hg35zw";
178+
};
179+
incipit-base = {
180+
version = "0.6.1.0";
181+
hash = "0iyyvxpyyybn5ygr875pav6g5hbs00wa9jbr7qslszqpkfpy5x33";
182+
};
183+
indexed-traversable = {
184+
version = "0.1.4";
185+
hash = "061xzz9m77rs6bk5vv2hd7givyq7ln0xffc6m1cxyyhyyr6lw3k0";
186+
};
187+
indexed-traversable-instances = {
188+
version = "0.1.2";
189+
hash = "05vpkasz70yjf09hsmbw7nap70sr8p5b7hrsdbmij8k8xqf3qg8r";
190+
};
191+
integer-conversion = {
192+
version = "0.1.1";
193+
hash = "0jrch63xc80fq6s14zwi5wcmbrj8zr7anl420sq98aglx3df9yr3";
194+
};
195+
integer-logarithms = {
196+
version = "1.0.4";
197+
hash = "0yyj0g5xkm1pjkkr4smf25lpzc936df0fyc4nsj4bx145ggspx3k";
198+
};
199+
js-chart = {
200+
version = "2.9.4.1";
201+
hash = "06gp1z4aa1bcn954cingac25vv8gc22km28d0glcp14a1bmxjany";
202+
};
203+
math-functions = {
204+
version = "0.3.4.4";
205+
hash = "01mi15cb6wqlizg3vl7x1a543f3adppmffwq65y8033y69hccv6y";
206+
};
95207
microstache = {
96208
version = "1.0.3";
97209
hash = "0qcld6ns7sp0m664grdvjp0yzip2yajhqiq1r6nkaicgq2v6dxjr";
98210
};
211+
mwc-random = {
212+
version = "0.15.2.0";
213+
hash = "1b9y6vqzdybbx0qrdfpxxrhb79kq262s8fk5nvww10h12kdb7n4z";
214+
};
99215
network-uri = {
100216
version = "2.6.4.2";
101217
hash = "0zj83viziy80f7nybpmc1hki8wrd8pzps31fxns9vxhc1p7l9chj";
102218
};
219+
parallel = {
220+
version = "3.2.2.0";
221+
hash = "0j6k54y7mcc8lii99f4i696g67kfzpyma3l7aa9q97w8cj8xv24n";
222+
};
103223
parsec = {
104224
version = "3.1.18.0";
105225
hash = "089j939xxi6w6a2ggr40c4s2kdbwkzap2mnhvimmf45hg865h48n";
106226
};
227+
scientific = {
228+
version = "0.3.8.0";
229+
hash = "155cbbcyaqyxl2ij7q4fwi07qw3qnhwh4a97ccvrrfpd5lpl22q9";
230+
};
231+
semialign = {
232+
version = "1.3.1";
233+
hash = "05h1ab484ghd2wzx4pdlsfwiy6rayy0lzwk9yda9il7fjwi9sj7n";
234+
};
235+
semigroupoids = {
236+
version = "6.0.1";
237+
hash = "10qd2y5f5m7jzrha1wfbwwybhhghdwkdmk9ajybdz8h88cz9ig2g";
238+
};
107239
statistics = {
108240
version = "0.16.2.1";
109241
hash = "141s4yaci3jxaq8pgfs6mqiqc1krlgibr0ld0hh56d6c585jiyar";
110242
};
243+
strict = {
244+
version = "0.5.1";
245+
hash = "06y3ab0nsdbrkrxzc7hgy6cwxl72wcgqn52bs1vvi5lkp64v559y";
246+
};
111247
tasty = {
112248
version = "1.5.3";
113249
hash = "1xjlmgsww34asjl9rcwbziw5l4qqbvi5l4b7qvzf4dc7hqkpq1rs";
@@ -116,6 +252,62 @@
116252
version = "1.4.0.2";
117253
hash = "04kg2qdnsqzzmj3xggy2jcgidlp21lsjkz4sfnbq7b1yhrv2vbbc";
118254
};
255+
text-iso8601 = {
256+
version = "0.1.1";
257+
hash = "0lk8y0g5p2zamkgvxy7i5lqfpa4wnic9vg2bl87s801fniwdij3m";
258+
};
259+
text-short = {
260+
version = "0.1.6";
261+
hash = "08rwbc2zcvbvswvy0kp14jg2wq08ls6m6grywp0srjipavzx11s3";
262+
};
263+
th-abstraction = {
264+
version = "0.7.1.0";
265+
hash = "09wr7x9bpzyrys8id1mavk9wvqhh2smxdkfwi82kpcycm7a1z7sx";
266+
};
267+
th-compat = {
268+
version = "0.1.6";
269+
hash = "1zdj59i2id6mnxq798yjd46zwz83agqid76zkwaiighwv8yfckph";
270+
};
271+
these = {
272+
version = "1.2.1";
273+
hash = "0jqchlmycfcvkff48shhkswansnzrw57q8945m483mrd59zpg27k";
274+
};
275+
time-compat = {
276+
version = "1.9.8";
277+
hash = "0xnsjpcdjms1k72b7h51i37m7qkmlrx1pw4h866p23cj2gvkf717";
278+
};
279+
unordered-containers = {
280+
version = "0.2.20";
281+
hash = "0dvlf9by7mkwaxg2x26m6bf5bnqr1l07j6adksavvziiq0x3p135";
282+
};
283+
uuid-types = {
284+
version = "1.0.6";
285+
hash = "1i8cm1qyni59vb0q7hb36djskyhysbcm36cgsysarj6fp7hni1dz";
286+
};
287+
vector = {
288+
version = "0.13.2.0";
289+
hash = "0mgc7ikhdgqwsj5skdxsf6v3a1iqkiiysqj94qnbg40ff8nbai4x";
290+
};
291+
vector-algorithms = {
292+
version = "0.9.1.0";
293+
hash = "0924b5cif1fm861hl0jwysiv0w6szgpjrn1x90sfli4dvb32ys3c";
294+
};
295+
vector-binary-instances = {
296+
version = "0.2.5.2";
297+
hash = "0pmmr18l0bjgn5gzb1n7na1fhprnr4cy5q6975hllkk6lwkgmivg";
298+
};
299+
vector-stream = {
300+
version = "0.1.0.1";
301+
hash = "08hp43wx8gvbak4dffkj76zcirnmfmk9csca87fjik5w61ci9dyp";
302+
};
303+
vector-th-unbox = {
304+
version = "0.2.2";
305+
hash = "0agxmj1hprzmnz84b3vidrvhpk5wrxkljxgmlz1aaaxrp3284nqw";
306+
};
307+
witherable = {
308+
version = "0.5";
309+
hash = "0xm77dqyfm0zh0xvnh1srwxrkn4sl7m126lqhbzc4q9f6lziwzdx";
310+
};
119311
};
120312
lower = {
121313
OneTuple = {

0 commit comments

Comments
 (0)