Haskell in Nixpkgs/NixOS | 714 Members | |
| For discussions and questions about Haskell with Nix, cabal2nix and haskellPackages in nixpkgs | Current Docs: https://haskell4nix.readthedocs.io/ | 142 Servers |
| Sender | Message | Time |
|---|---|---|
| 3 Apr 2025 | ||
| * fwiw,
Does it mean, we would build with different doctest for different ghc versions?
| 20:11:50 | |
| * fwiw,
Does it mean, we would build with different doctest for different ghc versions? | 20:11:54 | |
| Possibly, yeas | 20:14:54 | |
| * Possibly, yes | 20:14:57 | |
Not sure how to fix this. | 20:35:48 | |
In reply to @hellwolf:matrix.orgHard to say without context but that looks jailbreakable. Especially an upper bound on time is most likely harmless | 20:38:49 | |
| looks like no such package "haskellPackages.time" | 20:38:55 | |
| I thought I did it:
| 20:39:25 | |
| oh, wrong package. let me fix. | 20:40:10 | |
In reply to @hellwolf:matrix.orgtime is bundled with ghc and thus has no own nix derivation | 20:41:08 | |
| cpphs = doJailbreak super.cpphs; # old-locale >=1.0.0.2 && <1.1, time <1.13 | 20:41:30 | |
| this didn't work. hmm | 20:41:36 | |
| https://paste.tomsmeding.com/iPiTvG7z | 20:43:38 | |
| 4 Apr 2025 | ||
| Coming back to this, any reason why I cannot jailbreak cpphs? | 07:43:15 | |
In reply to @hellwolf:matrix.orgDoes it use justStaticExecutables?
Is the problematic dependency conditional?
Is it a boot package? | 07:51:08 | |
| 07:51:31 | |
| does that say anything to your questions, Alex? | 07:51:47 | |
In reply to @hellwolf:matrix.orgIt says no to Q3, which is a good start. | 07:52:19 | |
| good. if it is not obvious from first sight to any of you. I will look into the actual package deeper later. | 07:53:12 | |
| count me as the tester/maintainer of the latest greatest GHC + HLS in haskell-updates :D | 07:53:39 | |
| * count me as the tester/maintainer of the latest greatest GHC + HLS combo in haskell-updates :D | 07:53:48 | |
| * count me as the tester/maintainer of the latest greatest HLS user in haskell-updates :D | 07:54:23 | |
| * count me as the tester/maintainer of the latest greatest HLS tester/user in haskell-updates :D | 07:54:34 | |
In reply to @hellwolf:matrix.orgold-locale and time are conditional dependencies of cpphs on the latest revision in Hackage, so if either of those is unsolvable then that'll be why jailbreaking has no effect. | 07:56:01 | |
In reply to @hellwolf:matrix.org (The unrevised package description, which your build appears to be using, also has conditional dependencies.) As an override, you could try using the latest revision, since it widens some bounds. | 07:58:14 | |
| I am not entirely following. Looking at https://github.com/hackage-trustees/malcolm-wallace-universe/blob/master/cpphs-1.20.9/cpphs.cabal how is old-locale required, since it is conditional? | 11:27:43 | |
hellwolf: Uh, that is a tricky one: The time provided is newer than 1.13 so neither branch of the conditional works and cabal complains about the default one. You can remove the <1.13 on time with a patch (or via sed if you feel dirty enough), that should fix it. | 11:31:23 | |
| and jailbreak doesn't work because of (what)? | 11:33:37 | |
| jailbreak never touches bounds which are behind a conditional. Because e.g. in this case that would completely break the detection which branch should be used. | 11:34:55 | |
| hmm that is a flag based condition, though? | 11:36:11 | |