!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.org144 Servers

Load older messages


SenderMessageTime
29 Jan 2025
@maralorn:maralorn.demaralornOf course that won’t work for template-haskell, base, ghc-prim and a few more.15:40:28
@augyg:matrix.orglazyLambdaonly thing that came up there was from beam-core15:47:21
@augyg:matrix.orglazyLambdaI did do an override of beam-core in my projects default.nix but I was more so confused on why the module Rhyolite.Account had a beam type. 15:48:35
@augyg:matrix.orglazyLambdaWas able to resolve btw15:48:48
@alexfmpe:matrix.orgalexfmpeFWIW, I'm already using 9.6 and multi repl for dev with a package set directly from nixpkgs (not obelisk->reflex-platform->nixpkgs) instead of ob, and 8.10 only for prod builds15:51:25
@alexfmpe:matrix.orgalexfmpeMostly for the sake of a reliable recent HLS15:51:51
@alexfmpe:matrix.orgalexfmpeYou can also get older HLS (with a more brittle multi repl) with enough overrides https://discourse.haskell.org/t/recommended-way-of-using-hls-with-reflex-platform-obelisk/9933/615:54:46
@alexfmpe:matrix.orgalexfmpeAt any rate, I'd expect 2 months or so for obeliskverse to be on at least 9.10 and post-ghcjs world15:55:40
@hellwolf:matrix.orghellwolfI wonder, with the current haskell-updates, what chances I have to jailBreak haskell.packages.ghc910.hlint_3_8 ...19:04:19
@maralorn:maralorn.demaralornAs always I have to ask: Why built hlint with ghc910? hlint will work perfectly fine when compiled with older ghcs. If you need support for new syntax the relevant version is that of ghc-lib-parser.20:31:58
@sternenseemann:systemli.orgsterni (he/him) maralorn: could be interesting how far you can get with this, but I suspect it's difficult. It is certainly not intended and I assume you need to build all libs for ghc or some program that is shipped with ghc 20:35:25
@sternenseemann:systemli.orgsterni (he/him)you'll probably get inconsistent dependencies as soon as you link against ghc20:37:09
@maralorn:maralorn.demaralornBut only in previous stages, right?20:42:49
@maralorn:maralorn.demaralornIt’s just that I regularly fail in overriding boot libraries.20:43:35
@maralorn:maralorn.demaralornAnd it shouldn’t necessarily be that way.20:43:45
@sternenseemann:systemli.orgsterni (he/him)not sure, but I assume also in the last20:43:58
@maralorn:maralorn.demaralorn That whole = null thing confuses the heck out of users. 20:44:09
@maralorn:maralorn.demaralorn * That whole = null thing confuses the heck out of users and limits nix composability. 20:44:19
@sternenseemann:systemli.orgsterni (he/him)god what's the point of a -compat package that's only compatible with 9.6 and above20:44:24
@sternenseemann:systemli.orgsterni (he/him)idk maybe we should just remove the versioned attrbiutes of core packages from the package set20:44:49
@sternenseemann:systemli.orgsterni (he/him)except for when we need them20:44:54
@maralorn:maralorn.demaralornStill sounds less predictable than just using them.20:45:27
@sternenseemann:systemli.orgsterni (he/him)I mean we could try and see what happens if we reinstall the reinstallable packages20:45:55
@maralorn:maralorn.demaralornI’d say we should do that if we can get away with it. But of course that’s work and I don’t know if it would work.20:46:04
@sternenseemann:systemli.orgsterni (he/him)but I suspect it's a real nightmare with anything that links against GHC20:46:08
@maralorn:maralorn.demaralornThat’s a good point.20:46:26
@maralorn:maralorn.demaralornHow does that even?^^20:46:42
@maralorn:maralorn.demaralornLike with which stage are boot packages compiled?20:46:56
@maralorn:maralorn.demaralornI mean ghc the lib cannot be compiled by itself of the same stage, right?^^20:47:22
@hellwolf:matrix.orghellwolf
In reply to @maralorn:maralorn.de
As always I have to ask: Why built hlint with ghc910? hlint will work perfectly fine when compiled with older ghcs. If you need support for new syntax the relevant version is that of ghc-lib-parser.
some extensions are 9.10+, hlint wouldn't support it.
20:48:01

Show newer messages


Back to Room ListRoom Version: 6