!RbXGJhHMsnQcNIDFWN:nixos.org

Haskell in Nixpkgs/NixOS

730 Members
For discussions and questions about Haskell with Nix, cabal2nix and haskellPackages in nixpkgs | Current Docs: https://haskell4nix.readthedocs.io/ | More Nix: #community:nixos.org | More Haskell: #haskell-space:matrix.org147 Servers

Load older messages


SenderMessageTime
4 Feb 2025
@mangoiv.:matrix.orgMangoIV
In reply to @sternenseemann:systemli.org
Eventually, we'll probably have to bite the bullet, though, I did not get the impression that this situation will improve any time soon
It could live in nix-Community instead of nixpkgs perhaps? I have started doing this at some point but only got as far as building the compiler
16:37:27
@mangoiv.:matrix.orgMangoIV
In reply to @sternenseemann:systemli.org
Eventually, we'll probably have to bite the bullet, though, I did not get the impression that this situation will improve any time soon
* It could live in nix-community instead of nixpkgs perhaps? I have started doing this at some point but only got as far as building the compiler
19:11:59
@serodrsm:matrix.org@serodrsm:matrix.org joined the room.23:22:49
@serodrsm:matrix.org@serodrsm:matrix.orgHallo23:22:58
@serodrsm:matrix.org@serodrsm:matrix.org left the room.23:33:28
@maralorn:maralorn.demaralornHuh23:38:55
@maralorn:maralorn.demaralornI just today learned about: https://nohello.net/en/23:39:14
@sternenseemann:systemli.orgsterni (he/him) MangoIV: yes I was also thinking about having an overlay, I have been talking to dmjio (who started working on such an overlay) about that. I was meaning to look at the code they came up with when I have some time again 23:40:09
@collinarnett:matrix.orgCollin Arnett
In reply to @maralorn:maralorn.de
I just today learned about: https://nohello.net/en/
Yeah really like that one.
23:40:55
@collinarnett:matrix.orgCollin ArnettWish I could use it at work23:41:06
5 Feb 2025
@axman6:matrix.orgAxman6is there also a dontasktoaskjustask.net? Rule #1 of IRC01:25:15
@bdesham:matrix.orgbdesham joined the room.01:29:30
@bdesham:matrix.orgbdeshamHi all. One of the packages I maintain was listed as broken in the big “Stackage LTS 22 -> 23” PR. I’ve released a new version to Hackage that (hopefully) fixes the problem. Do I need to do anything more to incorporate that new version into this PR?01:30:08
@collinarnett:matrix.orgCollin Arnett
In reply to @axman6:matrix.org
is there also a dontasktoaskjustask.net? Rule #1 of IRC
https://dontasktoask.com/
02:32:42
6 Feb 2025
@alexfmpe:matrix.orgalexfmpe
In reply to @bdesham:matrix.org
Hi all. One of the packages I maintain was listed as broken in the big “Stackage LTS 22 -> 23” PR. I’ve released a new version to Hackage that (hopefully) fixes the problem. Do I need to do anything more to incorporate that new version into this PR?
It should become available with the next hackage bump. If you're in a hurry you can patch it in but that's somewhere between trivial and annoying
13:07:42
@alexfmpe:matrix.orgalexfmpeMight need to mypkg=mypkg_1_2_3 if stackage LTS doesn't pick it up (e.g. if it causes breakage)13:08:54
@lambdatheultimatealias:matrix.orglambdatheultimatealiasSpeaking of which, I raised a PR on haskell-updates with the result of running regenerate-hackage-packages.sh for my package only. Was this necessary and right? It stops the package breaking and has the advantage that there is no cleanup after the next hackage pull.13:41:13
@maralorn:maralorn.demaralorn
In reply to @lambdatheultimatealias:matrix.org
Speaking of which, I raised a PR on haskell-updates with the result of running regenerate-hackage-packages.sh for my package only. Was this necessary and right? It stops the package breaking and has the advantage that there is no cleanup after the next hackage pull.
That's good, if it is the only thing you touched.
13:52:30
@lambdatheultimatealias:matrix.orglambdatheultimatealias I ran the above and update-hackage.sh. It worked committing only my package version and sha256 in hackage-packages.nix so I think I'm ok. Thanks for confirming 13:59:20
@sternenseemann:systemli.orgsterni (he/him)A nice the 9.12.1 arithmetic unsoundness breaks the crypton test suite so it's that bad14:45:21
@maralorn:maralorn.demaralorn
In reply to @lambdatheultimatealias:matrix.org
I ran the above and update-hackage.sh. It worked committing only my package version and sha256 in hackage-packages.nix so I think I'm ok. Thanks for confirming
Ah, no. You can't partially run update-hackage. That's an all packages or none thing
16:16:29
@lambdatheultimatealias:matrix.orglambdatheultimatealias maralorn: Hmm. It appears to work if I simply don't commit the output from update-hackage.sh. Let me know please if I'm misunderstanding. https://github.com/NixOS/nixpkgs/pull/378565 17:38:05
@maralorn:maralorn.demaralorn
In reply to @lambdatheultimatealias:matrix.org
maralorn: Hmm. It appears to work if I simply don't commit the output from update-hackage.sh. Let me know please if I'm misunderstanding. https://github.com/NixOS/nixpkgs/pull/378565
That will be reverted the next time someone runs regenerate-hackage-packages.
17:55:11
@bdesham:matrix.orgbdesham

In nixpkgs’ configuration-common.nix, I see lines like hnix-store-remote = super.hnix-store-remote.override { hnix-store-core = self.hnix-store-core_0_6_1_0; }; to use an older version of a dependency package. I think I need to do the same thing for my application. How does hnix-store-core_0_6_1_0 get defined in the first place?

I tried to run regenerate-hackage-packages.sh but I got an error, possibly because I’m on macOS.

17:56:57
@maralorn:maralorn.demaralorn bdesham: That certainly depends on the error. macOS somedoes creates problems, yeah. Generally which attributes are generated is documented in the Haskell section of the nixpkgs manual. 19:22:19
@lambdatheultimatealias:matrix.orglambdatheultimatealiasGot it. Thanks. Would it be acceptable to jailbreak the package and then remove jailbreak after the next Hackage pull?20:20:49
@alexfmpe:matrix.orgalexfmpe
In reply to @sternenseemann:systemli.org
A nice the 9.12.1 arithmetic unsoundness breaks the crypton test suite so it's that bad
Oh I was wondering what was up with that.
22:59:18
@rizary:matrix.orgrizary_andika (@rizary_:matrix.org) (@rizary:matrix.org) left the room.23:02:05
7 Feb 2025
@sleepymonad:matrix.org@sleepymonad:matrix.org left the room.08:46:12
@sternenseemann:systemli.orgsterni (he/him) alexfmpe: I can't be sure, but the PSA on Haskell-cafe made it sound pretty bad, and the test is not failing with any other GHC version 13:24:26

Show newer messages


Back to Room ListRoom Version: 6