!RbXGJhHMsnQcNIDFWN:nixos.org

Haskell in Nixpkgs/NixOS

719 Members
For discussions and questions about Haskell with Nix, cabal2nix and haskellPackages in nixpkgs | Current Docs: https://haskell4nix.readthedocs.io/143 Servers

Load older messages


SenderMessageTime
25 Nov 2024
@alexfmpe:matrix.orgalexfmpeI was going to see something in ghcup, but a dep didn't build out of the box with nix-shell -p wondering where to branch from when attempting a fix23:03:25
@sternenseemann:systemli.orgsterni (he/him)if the rebuilds are not expensive and it's not going to cause nightmare merge conflicts with haskell-updates you can merg into master23:25:01
@alexfmpe:matrix.orgalexfmpeI feel like we'll almost always have conflicts if overrides tend to get added at the end of configuration*.nix files23:56:15
26 Nov 2024
@sternenseemann:systemli.orgsterni (he/him)well that's the same with working on the branch—we always try to tell people to add overrides in a random place13:42:30
@alexfmpe:matrix.orgalexfmpeWorking on the branch means the PR author has to fix the conflict15:51:08
@alexfmpe:matrix.orgalexfmpeOtherwise the PR maintainer does on their merge15:51:25
@alexfmpe:matrix.orgalexfmpeAdding overrides in random places for the sake of less conflicts feels weird to me. Wouldn't sorting them lexicographically solve that?15:52:54
@sternenseemann:systemli.orgsterni (he/him)you can also do that of course yeah, but the files aren't sorted lexicographically at the moment16:21:19
@sternenseemann:systemli.orgsterni (he/him)and there are good reasons to sometimes group things thematically which is done in an ad hoc fashion16:21:34
@emilazy:matrix.orgemilywe also place release notes randomly (in theory)16:23:37
@emilazy:matrix.orgemily(in practice…)16:23:39
@emilazy:matrix.orgemilythe real solution is to split things into multiple files tbh16:23:51
@emilazy:matrix.orgemilyNix is on one release note per file and NixOS will hopefully be at some point16:24:00
@emilazy:matrix.orgemilyit's marginally more Git-storage-friendly too (though packfiles complicate that)16:24:18
@sternenseemann:systemli.orgsterni (he/him)well then you have the problem with directories because the tree objects become huge at some point16:26:56
@sternenseemann:systemli.orgsterni (he/him)we kind of missed that with by-name where we only thought about the github rendering limit of 1k entries16:27:27
@sternenseemann:systemli.orgsterni (he/him)but apparently git tree objects already become kind of bad at >300 entries16:27:40
@sternenseemann:systemli.orgsterni (he/him) * but apparently git tree objects already become kind of bad at ~300 entries16:27:47
@emilazy:matrix.orgemilytime for three-character prefixes?17:26:21
@emilazy:matrix.orgemily I guess that's bad because the by-name directory would become huge :) 17:26:42
@emilazy:matrix.orgemily so I suppose we need pkgs/by-name/ab/c/abcd or something 17:27:00
@mequbic:matrix.orgiqubic (she/her) Hmm... I'm trying to compile a Haskell project with Nix and I'm getting an error related to Finite-Typelits. 17:41:23
@mequbic:matrix.orgiqubic (she/her) This is the output from nix log: https://dpaste.com/E5LC6FTTC 17:44:34
@mequbic:matrix.orgiqubic (she/her) I'm just telling Nix to use Cabal2Nix with this cabal file: https://dpaste.com/FY4FTT7VB 17:48:11
@mequbic:matrix.orgiqubic (she/her) Finite-Typelites should be using version 0.2.1.0 17:48:48
@mequbic:matrix.orgiqubic (she/her) * Finite-Typelites should be using version 0.2.1.0, but it isn't. 17:48:54
@mequbic:matrix.orgiqubic (she/her)Actually, according to https://hackage.haskell.org/package/finite-typelits NixOS is still using 0.1.6.017:49:57
@mequbic:matrix.orgiqubic (she/her)Annoying...17:50:01
@maralorn:maralorn.demaralorn
In reply to @emilazy:matrix.org
so I suppose we need pkgs/by-name/ab/c/abcd or something
Multi charakter filenames where a mistake. "pkgs/by-name/l/i/b/c/libc"
17:54:25
@maralorn:maralorn.demaralorn
In reply to @emilazy:matrix.org
so I suppose we need pkgs/by-name/ab/c/abcd or something
* Multi-character filenames where a mistake. "pkgs/by-name/l/i/b/c/libc"
17:54:33

Show newer messages


Back to Room ListRoom Version: 6