!RbXGJhHMsnQcNIDFWN:nixos.org

Haskell in Nixpkgs/NixOS

751 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)ah yeah13:44:07
@sternenseemann:systemli.orgsterni (he/him)so it doesn't exist13:44:13
@ic.rbow:matrix.orgic.rbow joined the room.13:46:19
@sternenseemann:systemli.orgsterni (he/him)I really hate that apparently everything I want to do to hackagen2ix means touching distribution-nixpkgs nowadays14:20:31
@sternenseemann:systemli.orgsterni (he/him)in other news: https://github.com/peti/distribution-nixpkgs/pull/1114:20:34
@sternenseemann:systemli.orgsterni (he/him)(also need to fix CI)14:20:40
@maralorn:maralorn.demaralorn sterni (he/him): Can you remind me again why this use of with could be harmful? 14:22:03
@maralorn:maralorn.demaralorn * sterni (he/him): Can you remind me again why this use of with could be harmful? 14:22:21
@maralorn:maralorn.demaralornIt will break when I finally upload my sternenseemann library to hackage?14:22:59
@sternenseemann:systemli.orgsterni (he/him)exactly14:23:05
@sternenseemann:systemli.orgsterni (he/him)it's not urgent but nice to have fixed tbh14:23:25
@sternenseemann:systemli.orgsterni (he/him)
14:24:27
@sternenseemann:systemli.orgsterni (he/him) *
nix-repl> lib.intersectLists (builtins.attrNames lib.maintainers) (builtins.attrNames haskellPackages) 
[ "astro" "buffet" "cap" "cpu" "disassembler" "rob" "yarr" ]
14:24:33
@maralorn:maralorn.demaralorn Have you considered replacing [ lib.maintainers.a lib.maintainers.b ] with builtins.attrValues { inherit (lib.maintainers) a b; }? 14:24:40
@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

Show newer messages


Back to Room ListRoom Version: 6