!RbXGJhHMsnQcNIDFWN:nixos.org

Haskell in Nixpkgs/NixOS

722 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.org145 Servers

Load older messages


SenderMessageTime
22 Apr 2025
@maralorn:maralorn.demaralornI mean I see your point. I am just not sure that the whole stackage does a wrong bump problem is what is biting is in practice.11:41:18
@alexfmpe:matrix.orgalexfmpe
In reply to @alexfmpe:matrix.org
For instance, both js and wasm backends are unusable without overrides if they depend on splitmix
er, that is, if you try to use packages that depend on splitmix you have a runtime failure as soon as that bit is evaluated
11:41:22
@alexfmpe:matrix.orgalexfmpeYeah I don't think it's anywhere near the top of our problems11:41:59
@alexfmpe:matrix.orgalexfmpeI just think the whole 'actually run tests and patch things if maintainer checks out' is fundamentally inevitable, so we might as well enshrine that approach11:43:03
@alexfmpe:matrix.orgalexfmpeAnd make that the source of truth11:43:15
@alexfmpe:matrix.orgalexfmpeThen head.hackage and the other half a dozen linuxes distributing haskell packages all share maintenance effort 11:43:46
@alexfmpe:matrix.orgalexfmpeJust derive everything from something sufficiently expressive to tackle the problem 11:44:04
@alexfmpe:matrix.orgalexfmpeThat's what I mean by 'becoming stackage'11:44:29
@maralorn:maralorn.demaralornThe question is: Can we modify the stackage process, put another non-nix abstraction layer between nixpkgs and stackage or is it maybe the easiest to maintain it in nixpkgs like we do now?11:44:52
@alexfmpe:matrix.orgalexfmpePutting one more weight on the scale: the splitmix situation isn't even detected by nixpkgs right now but it would be if we had wasm cross because then you get to run test suites on the target with wasmtime or whatever 11:47:28
@alexfmpe:matrix.orgalexfmpeWho outside of nix world is even thinking about cross?11:48:01
@alexfmpe:matrix.orgalexfmpeWe are... inevitable11:48:09
@hellwolf:matrix.orghellwolf"few.." ?11:49:21
@alexfmpe:matrix.orgalexfmpeI think you're right on the mark with the head.hackage idea11:53:08
@alexfmpe:matrix.orgalexfmpehorizon haskell is literally doing something like that11:53:09
@alexfmpe:matrix.orgalexfmpegetting stuff building with 9.1411:53:09
@alexfmpe:matrix.orgalexfmpeI don't know why they also do their own separate thing on top of nixpkgs 11:53:10
@alexfmpe:matrix.orgalexfmpeshort term? as is now, if we got the stackage manpower onboard to do a 'migration'...11:53:56
@hellwolf:matrix.orghellwolfa combination of "perceived communication overhead", "not-invented-here", or/and "architectural differences"?11:54:21
@alexfmpe:matrix.orgalexfmpegetting nixpkgs snapshot to be based on a build-plan out of acme-everything-that-matters might help sell the idea to other folks11:54:42
@alexfmpe:matrix.orgalexfmpeso there might be a bit of mutually recursive chicken-and-egg process11:55:13
@hellwolf:matrix.orghellwolfto be adopted by battery included frameworks: miso, IHP, yolc, etc.?11:55:30
@hellwolf:matrix.orghellwolf* to be adopted by battery included frameworks: miso, IHP, yolc, etc.11:55:33
@alexfmpe:matrix.orgalexfmpeautomate a little bit, entice more people, automate more, repeat until nix world domination?11:55:34
@alexfmpe:matrix.orgalexfmpewell, miso is prettty much already on the nixpkgs train11:56:01
@hellwolf:matrix.orghellwolf(guixers just entered the chat.)11:56:07
@emilazy:matrix.orgemilyI thought miso was on a Nixpkgs from four years ago or something.11:56:30
@alexfmpe:matrix.orgalexfmpehttps://github.com/dmjio/miso?tab=readme-ov-file#javascript11:56:36
@alexfmpe:matrix.orgalexfmpethe pin was updated 4 years ago, but it's of a nixpkgs 6+ years old :P11:57:37
@alexfmpe:matrix.orgalexfmperight now they have one foot on each really11:57:48

Show newer messages


Back to Room ListRoom Version: 6