| 30 Sep 2025 |
teo (they/he) | The Haskell libs come from relative paths and that apparently complicates the patchelf stuff somehow | 16:13:43 |
MangoIV | HLS. Just let cabal solve it, maybe use something like francescos thing | 16:14:06 |
MangoIV | Basically excempt the annoying things from the package set and just let cabal solve for them and install the static binary | 16:15:41 |
MangoIV | Then you build one per GHC and that’s it. | 16:15:57 |
teo (they/he) | Isn't there a thing about how GHC/HLS can't be statically linked | 16:16:20 |
MangoIV | Oh I mean Haskell static linking? | 16:16:37 |
MangoIV | Fwiw it’s not important. I basically just mean, cut off the binary so the closure isn’t huge | 16:17:27 |
maralorn | Yeah, no. Not possible if you want to support TH. | 16:17:51 |
teo (they/he) | Yeah that sounds reasonable. We basically do this at work with haskell.nix but I wouldn't recommend that since haskell.nix has horrible eval times | 16:18:04 |
maralorn | (The static linking thing.) | 16:18:26 |
MangoIV | That’s the Hadrian bug right | 16:18:49 |
maralorn | I don’t think so. | 16:19:02 |