!RbXGJhHMsnQcNIDFWN:nixos.org

Haskell in Nixpkgs/NixOS

755 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.org150 Servers

Load older messages


SenderMessageTime
5 Jun 2021
@sternenseemann:systemli.orgsterni (he/him)there's your motivation :)14:24:41
@maralorn:maralorn.demaralornI now cap, I doubt they will ever maintain a Haskell package.^^14:25:15
@sternenseemann:systemli.orgsterni (he/him)
In reply to @maralorn:maralorn.de
Have you considered replacing [ lib.maintainers.a lib.maintainers.b ] with builtins.attrValues { inherit (lib.maintainers) a b; }?
more hassle to implement plus extra evaluation cause which is not negliable I think
14:25:16
@maralorn:maralorn.demaralorn
In reply to @sternenseemann:systemli.org
more hassle to implement plus extra evaluation cause which is not negliable I think
We can increase the hassle by only doing it, when it’s more than one maintainer.
14:26:02
@maralorn:maralorn.demaralornI think that way it would be pretty cheap too.14:26:17
@sternenseemann:systemli.orgsterni (he/him)I'm not up for touching Language.Nix.PrettyPrinting again though :p14:28:26
@sternenseemann:systemli.orgsterni (he/him)it's a really oddly designed API and although it's supposedly internal it is used in cabal2nix everywhere so I wasn't able to break it :(14:28:50
@sternenseemann:systemli.orgsterni (he/him) my dream scenario currently btw would be cabal2nix, distribution-nixpkgs and language-nix in one cabal workspace plus jailbreak-cabal transferred to the NixOS org 14:30:24
@sternenseemann:systemli.orgsterni (he/him)also the ability to release new versions :D14:30:34
@maralorn:maralorn.demaralornOpen an issue asking for transfer and the hackage rights.14:33:49
@sternenseemann:systemli.orgsterni (he/him)yeah putting that on my list :)14:34:06
@cdepillabout:matrix.orgcdepillabout
In reply to @sternenseemann:systemli.org
in other news: https://github.com/peti/distribution-nixpkgs/pull/11
You might want to add the motivation for this change in a comment so that peti understands it is a good change.
14:47:54
@sternenseemann:systemli.orgsterni (he/him)Uh yeah14:48:11
@sternenseemann:systemli.orgsterni (he/him)gonna do that later and I'm gonna fix the CI finally14:48:20
@sternenseemann:systemli.orgsterni (he/him)I think I don't want to get the nix-instantiate call working inside haskell-ci that is much too much hassle 14:48:39
@cdepillabout:matrix.orgcdepillaboutOr just get peti to transfer the repo to NixOS. I'd be surprised if he wanted to continue maintaining that library if he has basically stepped down from NixOS stuff.14:48:42
@sternenseemann:systemli.orgsterni (he/him)yeah I think it is just a matter of nudging14:48:58
@sternenseemann:systemli.orgsterni (he/him)I think transferring is the right call since it's the least work for him14:49:20
@sternenseemann:systemli.orgsterni (he/him)having all the cabal2nix related stuff in a monorepo-ish thing would be nice14:49:31
@sternenseemann:systemli.orgsterni (he/him)but you can have a local workspace group as well probably14:49:40
@cdepillabout:matrix.orgcdepillaboutAh, yeah, having that stuff in a monorepo would be nice14:50:06
@cdepillabout:matrix.orgcdepillabout
In reply to @cdepillabout:matrix.org
You might want to add the motivation for this change in a comment so that peti understands it is a good change.
Oh, I guess just linking to https://github.com/NixOS/cabal2nix/issues/499 would probably work.
14:52:50
@maralorn:maralorn.demaralorn sterni (he/him): What did you change with your force push? https://github.com/NixOS/nixpkgs/pull/125798 the commit message still says "haskell-packages" instead of "hackage-packages" 14:59:32
@sternenseemann:systemli.orgsterni (he/him)ohh that's what you meant14:59:48
@sternenseemann:systemli.orgsterni (he/him)quoted the $HACKAGE2NIX var mostly in case someone has it in a path with spaces15:00:54
@maralorn:maralorn.demaralornGood idea.15:02:58
@Las:matrix.orgLasSince GHC 9 won't be switched to as a default, would just compiling the GHC 9 packages in Hydra be fine?16:58:00
@maralorn:maralorn.demaralorn Las: Historically we have done that for a few select packages. We currently have jobs for cabal2nix, hoogle and maybe a few others. 16:59:16
@maralorn:maralorn.demaralornBut maye outside a short transition period I don‘t think enabling it for all packages would be an option.16:59:52
@maralorn:maralorn.demaralorn * But (maybe outside a very short transition period) I don‘t think enabling it for all packages would be an option.17:00:19

Show newer messages


Back to Room ListRoom Version: 6