!RbXGJhHMsnQcNIDFWN:nixos.org

Haskell in Nixpkgs/NixOS

723 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 May 2021
@sternenseemann:systemli.orgsterni (he/him) * but don't we want to keep preferred_versions and bump a single package? 21:09:47
@maralorn:maralorn.demaralornBut I think only theoretically.21:09:57
@maralorn:maralorn.demaralorn sterni: Yes, what we would do is this a) use the pinned snapshot for preferred_versions b) use a freshly pulled snapshot from hackage for running hackage2nix c) for packages where we want the version to be newer than the preferred_version we pin the package in the yaml file. 21:11:47
@maralorn:maralorn.demaralornWe already do a).21:11:56
@maralorn:maralorn.demaralornBut b) is necessary for c) to work, because otherwise hackage2nix would possible not know about the newer package version.21:12:19
@sternenseemann:systemli.orgsterni (he/him)ah yeah right that works21:12:30
@maralorn:maralorn.demaralornTwo downsides: 1) updating might get a bit more expensive because it always looks for a fresh snapshot. 2) callHackage can only use versions in the pinned snapshot.21:15:14
@maralorn:maralorn.demaralornBut 2) is not worse than what we do now.21:15:38
@sternenseemann:systemli.orgsterni (he/him)it's the same as we do now?21:20:40
@maralorn:maralorn.demaralornYes21:20:57
@maralorn:maralorn.demaralornI just was briefly considering pinning 2 hackage-versions one for the preferred versions and one for generating + callHackage. Then it would be absolutely frictionless to update the one for callHackage, e.g. on stable regularly.21:22:19
23 May 2021
@cleverca22:matrix.orgcleverca22 joined the room.01:42:17
@cdepillabout:matrix.orgcdepillaboutLooks like the branch-off has happened! 02:54:30
@codygman:matrix.orgcodygman joined the room.03:12:04
@joe:monoid.aljoe (he/him)my patch made it. Thanks for the speed-merging :D03:29:45
@sternenseemann:systemli.orgsterni (he/him)let's just hope upstream hnix doesn't take up an issue with it the next few days03:30:13
@sternenseemann:systemli.orgsterni (he/him)but looked like a genuine bug to me as well03:30:27
@joe:monoid.aljoe (he/him)It's already on Hackage!03:30:52
@sternenseemann:systemli.orgsterni (he/him)ah, awesome :) should've subscribed to the PR's notifications then03:31:10
@joe:monoid.aljoe (he/him)Also: "I am upstream hnix" (in part of course)03:31:20
@sternenseemann:systemli.orgsterni (he/him)I see, wasn't aware.03:51:17
@joe:monoid.aljoe (he/him)is peti still doing things, I notice he's no longer a suggested review04:47:53
@joe:monoid.aljoe (he/him) * is peti still doing things? I notice he's no longer a suggested reviewer04:48:01
@meckse:matrix.orgmeck joined the room.06:53:27
@cdepillabout:matrix.orgcdepillabout
In reply to @joe:monoid.al
is peti still doing things? I notice he's no longer a suggested reviewer
No, he stepped down a few weeks ago: https://discourse.nixos.org/t/im-retiring-from-haskell-maintenance-in-nixpkgs/12739
08:36:08
@joe:monoid.aljoe (he/him)good for him :) he's earned it!08:38:02
@maralorn:maralorn.demaralornHuh, that is another solution for the problem we discussed yesterday. I wonder if we can write a convenient helper for that … https://github.com/NixOS/nixpkgs/pull/12409910:38:31
@v:anomalous.euV joined the room.11:21:19
@joe:monoid.aljoe (he/him)oh, that's nice12:12:57
@maralorn:maralorn.demaralorn cdepillabout: I have ticked of all my build errors on haskell-updates. Most of them were weird false positives. 12:19:52

Show newer messages


Back to Room ListRoom Version: 6