!RbXGJhHMsnQcNIDFWN:nixos.org

Nix Haskell

612 Members
For discussions and questions about Haskell with Nix, cabal2nix and haskellPackages in nixpkgs | Current Docs: https://nixos.org/manual/nixpkgs/unstable/#haskell | Current PR: https://github.com/nixos/nixpkgs/pulls?q=is%3Apr+is%3Aopen+head%3Ahaskell-updates | Maintainer Docs: https://github.com/NixOS/nixpkgs/blob/haskell-updates/pkgs/development/haskell-modules/HACKING.md | More Nix: #community:nixos.org | More Haskell: #haskell-space:matrix.org | Merger Schedule: https://cloud.maralorn.de/apps/calendar/p/H6migHmKX7xHoTFa/dayGridMonth/now | Join #haskell.nix:libera.chat for question about the alternative haskell.nix infrastructure123 Servers

Load older messages


SenderMessageTime
17 Oct 2024
@toonn:matrix.orgtoonn *preserving 15:52:58
@fgaz:matrix.orgfgaz
In reply to @sternenseemann:systemli.org
I think bound management can become easy if someone sits down and writes a little bit of tooling, basically you just need to get notified about releases in your dependencies and then be provided with a install plan to easily test the new possibility
the first part is already there. you can enable notifications in hackage settings
16:08:39
@sternenseemann:systemli.orgsternineat!16:08:51
@sternenseemann:systemli.orgsterni
In reply to @maralorn:maralorn.de
I mean nomeata automated a significant chunk of that with the cabal bounds stuff.
that was the literal opposite solution of what I had in mind though
16:09:08
@sternenseemann:systemli.orgsterniiirc it just takes the current plan and converts it into PVP bounds a priori, so they are probably too tight16:09:37
@sternenseemann:systemli.orgsterni * iirc it just takes the current plan and converts it into PVP bounds a priori, so they are probably too tight in practice16:09:46
@sammy:cherrykitten.dev@sammy:cherrykitten.dev left the room.18:24:53
18 Oct 2024
@b:chreekat.netchreekat https://hackage.haskell.org/upload#versioning_and_curation regarding the x-curation field 08:31:02
@emilazy:matrix.orgemilyhmm, what is the purpose of Hackage offering to host packages that are explicitly opting out of playing well with the ecosystem…?08:33:11
@emilazy:matrix.orgemilyI remember controversy over metadata revisions but not that it had reached this point08:33:18
@b:chreekat.netchreekatas best I can tell, it was a compromise made at the height of the controversy. Packages lacking bounds already existed, then revisions started happening, some people wanted to be able to opt out08:34:27
@emilazy:matrix.orgemilyyeah. seems reasonable to say that if you want your code on Hackage then you have to play nice, but I do remember fights about it.08:35:15
@emilazy:matrix.orgemilyI wonder if any package actually sets the "don't email me" value 😅08:35:34
@b:chreekat.netchreekat
In reply to @sternenseemann:systemli.org
I think bound management can become easy if someone sits down and writes a little bit of tooling, basically you just need to get notified about releases in your dependencies and then be provided with a install plan to easily test the new possibility
this has existed for a long time. It's Stackage. :)
08:36:27
@b:chreekat.netchreekat
In reply to @emilazy:matrix.org
I wonder if any package actually sets the "don't email me" value 😅
lol yeah. I find it funny that the setting doesn't seem to opt you out of curation at all. It just lets you stop getting emails about it...
08:36:58
@emilazy:matrix.orgemily I think it's implicit in saying that it's a variant of uncurated, which "choose[s] to exclude individual package uploads from curation" 08:37:34
@b:chreekat.netchreekat But then it also says, " Trustees or maintainers may adopt uncurated packages into the curated layer through metadata revisions. " 08:39:03
@b:chreekat.netchreekatto be fair I don't really understand what that means08:40:05
@emilazy:matrix.orgemily oh, true indeed. and then wtf does uncurated-seeking-adoption mean given that 08:40:50
@emilazy:matrix.orgemilyclassic political compromise I guess08:41:07
@b:chreekat.netchreekatwith a hint of passive aggressiveness08:41:17
@emilazy:matrix.orgemilyI'm going to assume 3 really angry people used this functionality religiously for a year and nobody else ever has08:41:17
@b:chreekat.netchreekatlol yeah08:41:31
@b:chreekat.netchreekatI remember at the time there was talk about having hackage "overlays". I actually thought it was kind of a neat idea. Stackage could be an overlay. But the "curated Hackage" could also be an overlay -- rather than the assumed default08:45:37
@b:chreekat.netchreekatJust idle talk at this point08:46:37
@sternenseemann:systemli.orgsterni
In reply to @b:chreekat.net
this has existed for a long time. It's Stackage. :)
idk I use stackage in the way it shouldn't i have too loose bounds and try to fix build errors when they occur in stackage instead of bit by bit loosening them :p
09:23:50
@sternenseemann:systemli.orgsterni Alex: figured out 8.10.7 riscv64 cross :) 09:24:42
@fgaz:matrix.orgfgaz I'm trying to build a project that depends on ghcjs-base with the js backend. I put ghcjs-base in executableHaskellDepends and called the package with pkgsCross.ghcjs.haskell.packages.ghc98.callPackage. However, the derivation contains no reference to ghcjs-base and the build fails with "Encountered missing or private dependencies: ghcjs-base". Is this a known issue? I couldn't find any nixpkgs ticket about this. 12:20:50
@fgaz:matrix.orgfgaz I just tried to build some packages that depend on ghcjs-base (for example pkgsCross.ghcjs.haskell.packages.ghc98.ghcjs-promise) and they all have the same issue. 12:24:03
@fgaz:matrix.orgfgaz Apparently pkgsCross.ghcjs.haskell.packages.ghc98.ghcjs-base is null, despite it being defined in hackage-packages.nix 12:31:38

Show newer messages


Back to Room ListRoom Version: 6