!tQOOewZWVcFfpzaVMb:matrix.org

static-haskell-nix

29 Members
Haskell static executable building with nix - https://github.com/nh2/static-haskell-nix/6 Servers

Load older messages


SenderMessageTime
21 Jul 2023
@domenkozar:matrix.orgDomen Kožar changed their profile picture.12:31:16
27 Jul 2023
@ribosomerocker:matrix.orgribosomerocker joined the room.03:07:53
22 Aug 2023
@ashinnv:matrix.orgmagnolia_mayhem changed their profile picture.22:18:39
25 Aug 2023
@ibizaman:matrix.orgibizaman set a profile picture.16:18:52
29 Sep 2023
@bgamari:matrix.orgbgamari joined the room.16:23:52
22 Oct 2023
@ashinnv:matrix.orgmagnolia_mayhem changed their profile picture.00:37:33
1 Nov 2023
@Las:matrix.org@Las:matrix.org left the room.13:48:32
9 Dec 2023
@/yvan:matrix.org@/yvan:matrix.org joined the room.23:18:03
10 Dec 2023
@/yvan:matrix.org@/yvan:matrix.org changed their display name from Yvan Sraka to Yvan Sraka (old).10:56:09
11 Dec 2023
@ashinnv:matrix.orgmagnolia_mayhem changed their display name from magnolia_mayhem to magnolia_mayhem🏴󠁵󠁳󠁭󠁳󠁿.21:31:00
27 Dec 2023
@ashinnv:matrix.orgmagnolia_mayhem changed their display name from magnolia_mayhem🏴󠁵󠁳󠁭󠁳󠁿 to magnolia_mayhem.14:48:48
28 Dec 2023
@jonathanlking:matrix.orgJonathan King Hey, I’ve opened an issue about two versions of GHC being used
https://github.com/nh2/static-haskell-nix/issues/122, when only one is expected.
I think this is an issue with not overriding buildHaskellPackages correctly.
I’d really appreciate any ideas/debugging suggestions 🙏
19:45:22
@jonathanlking:matrix.orgJonathan King changed their profile picture.19:47:29
29 Dec 2023
@cdepillabout:matrix.orgcdepillabout Jonathan King: If I remember correctly, there are issues in Nixpkgs about how easy it is to accidentally depend on multiple versions of GHC. I think one might have actually been started by nh2 as well, in the context of static-haskell-nix. 01:45:30
@jonathanlking:matrix.orgJonathan King
In reply to @cdepillabout:matrix.org
Jonathan King: If I remember correctly, there are issues in Nixpkgs about how easy it is to accidentally depend on multiple versions of GHC. I think one might have actually been started by nh2 as well, in the context of static-haskell-nix.

Thanks for the pointer! I think this is the issue you’re referring to https://github.com/NixOS/nixpkgs/issues/101580?

I'm having a play around now with overriding based on your comment https://github.com/NixOS/nixpkgs/issues/101580#issuecomment-716086458
(rather than overriding haskellPackages).

20:41:29
@jonathanlking:matrix.orgJonathan King I think it’s looking promising 🙂 21:21:11
30 Dec 2023
@jonathanlking:matrix.orgJonathan King I’ve opened a PR https://github.com/nh2/static-haskell-nix/pull/123
Any feedback is greatly appreciated!
12:37:41
31 Dec 2023
@jonathanlking:matrix.orgJonathan King Next issue 😅 cdepillabout I was wondering if you had any ideas about this? https://github.com/nh2/static-haskell-nix/issues/124 02:25:46
@jonathanlking:matrix.orgJonathan King(Apart from the Stack issue, a postgrest dependency being broken due to bounds and needing to upgrade postgresql, everything else appears to be working on 23.11 ✨)02:30:48
@cdepillabout:matrix.orgcdepillabout Jonathan King: It is sometimes tricky to figure out infinite recursion issues. The problem comes up sometimes with Haskell packages because the tests for individual packages will often use each other. For instance, hspec will use syb in its own tests, and syb will use hspec in its tests. 08:31:14
@cdepillabout:matrix.orgcdepillabout The way we generally deal with this is to set packages as dontCheck. You can see I had to do this for https://github.com/NixOS/nixpkgs/commit/691a877730c2a5fc8831503efce24b447369f21c#diff-06cdf278a2cf7f0e7793a4a8d19cbdd6e6a3a3722482708833ef9270b65d7d56R1212 for a few packages 08:31:54
@cdepillabout:matrix.orgcdepillabout If I were dealing with your issue, I would go through the packages from your --show-trace output and mark them dontCheck one by one, until the issue goes away. 08:32:30
@cdepillabout:matrix.orgcdepillabout If you really play around with it, you can figure out exactly which packages have cyclic dependencies on each other (and there almost certainly a "minimum" number of dontChecks you need to add). But as far as I know, Nix doesn't give you good tools to make this easy to figure out. 08:33:28
@cdepillabout:matrix.orgcdepillaboutMy guess is that this isn't a problem related to static-compilation, but just a general Nixpkgs Haskell issue.08:34:19
@jonathanlking:matrix.orgJonathan KingThank you so much for the explanation! I’ll have a go doing what you suggested 🙂11:13:32
15 Feb 2024
@orbicularis:matrix.orgorbicularis joined the room.13:34:06
21 Feb 2024
@bgamari:matrix.orgbgamari set a profile picture.18:44:29
28 Feb 2024
@/yvan:matrix.org@/yvan:matrix.org left the room.15:45:11
13 Mar 2024
@alexeusgr:matrix.org50^2 changed their profile picture.13:46:57
24 Mar 2024
@ashinnv:matrix.orgmagnolia_mayhem changed their profile picture.00:57:56

There are no newer messages yet.


Back to Room ListRoom Version: 6