!VRULIdgoKmKPzJZzjj:nixos.org

Nix Hackers

893 Members
For people hacking on the Nix package manager itself191 Servers

Load older messages


SenderMessageTime
2 Apr 2025
@p14:matrix.orgp14
In reply to @roberthensing:matrix.org
The --load-db format has come up before. It is entirely forward-incompatible, so we may need to introduce any additions as a new format
Glancing at the load db there are signs the signature is there; is it just not being imported properly, I wonder 🤔
14:39:37
@Ericson2314:matrix.orgJohn Ericson emily ElvishJerricco OK we discussed a bunch and we're liking the sort of compromise you all proposed 20:30:03
@Ericson2314:matrix.orgJohn Ericson 2.28 in 25.05 has Mic92's combo build (or something like it) 20:30:27
@Ericson2314:matrix.orgJohn Ericson2.28 after 25.05 is componentized20:30:36
@Ericson2314:matrix.orgJohn Ericson2.29 in all branches has componentized (2.29 is very unimportant on 25.05 except for new version dogfooders)20:31:03
@Ericson2314:matrix.orgJohn EricsonAlso when we re-introduce nix git, we should use the componentized version for that20:32:23
@Ericson2314:matrix.orgJohn Ericsonhow does that sound?20:32:27
@Ericson2314:matrix.orgJohn Ericson I would like to merge Robert Hensing (roberth)'s open PR right away, for sake of the newer versions and git, and also because I like how it makes a package set for the dependencies, even with the monolithic package for Nix itself 20:33:19
@Ericson2314:matrix.orgJohn EricsonAlso, since you two (and others) have such strong opinions about this, it would be great if you signed yourselves up as maintainers in Nixpkgs for this :D20:35:00
@Ericson2314:matrix.orgJohn Ericson especially because, as ElvishJerricco mentioned, actually the mkMesonPackage stuff and whatnot really ought to not be Nix-specific, but reused for other things like (potentially) systemd 20:35:32
@emilazy:matrix.orgemily SGTM, especially if we can get a componentized-compatible overrides interface for patching/build flags/env.NIX_CFLAGS_COMPILE on the monolithic one 20:40:43
@emilazy:matrix.orgemilysorry, I definitely do not have the time and do not feel I understand the packaging well enough to :(20:41:03
@Ericson2314:matrix.orgJohn EricsonI guessed I mixed up my metaphors here, what about just on the monolithic package?20:42:03
@Ericson2314:matrix.orgJohn Ericson(poly package maintenance for systemd is an orthogonal question)20:43:04
@emilazy:matrix.orgemilyis the idea to keep the monolithic package around? I assumed that we'd want to switch to the componentized one early in 25.11 to shake out any issues well ahead of release20:56:43
@Ericson2314:matrix.orgJohn Ericson emily: yes, yeah the idea is to get rid it early in the cycle 20:59:57
@Ericson2314:matrix.orgJohn Ericsonso we are not in this some position come november21:00:02
@fzakaria:one.ems.hostfzakaria

I asked this on twitter but maybe here is a better place.
On my MacOS Nix installation (2.26) I'm surprised in my flake project how often I hit:

unpacking 'github:NixOS/nixpkgs/b7ba7f9f45c5cd0d8625e9e217c28f8eb6a19a76' into the Git cache.

22:55:51
@fzakaria:one.ems.hostfzakariaIs this a bug in Nix or something I'm missing.22:56:04
3 Apr 2025
@Ericson2314:matrix.orgJohn Ericson* so we are not in this same position come november03:12:00
@mjolnir:nixos.orgmjolnir banned @cafkafk:fem.gg@cafkafk:fem.gg (<no reason supplied>).11:41:55
@joerg:thalheim.ioMic92 fzakaria: what do you mean by often? is this for the same commit? 12:16:39
@joerg:thalheim.ioMic92 I can also recommend: nixpkgs.url = "git+https://github.com/Mic92/nixpkgs?shallow=1&ref=main"; 12:17:10
@2xsaiko:tchncs.de@2xsaiko:tchncs.de changed their display name from 2xsaiko to 2xsaiko (moved! @saiko:knifepoint.net).12:52:04
@keiichi:matrix.orgteto does the shallow do anything ? I would suspect it's the default 17:50:38
@emilazy:matrix.orgemilyGitHub really doesn't like people doing shallow clones of the same repo repeatedly, fwiw. (they've had other package managers change their update mechanism because of that in the past)19:22:16
@jade_:matrix.orgjade_i would never recommend this over a tarball input. if it's a nix bug, nix should fix it.20:44:34
@jade_:matrix.orgjade_ * i would never recommend this over a tarball input. if it's a nix bug, nix should fix it. git clone is very slow and resource intensive compared to a tarball fetch such as the github: flake URL scheme. 20:45:00
4 Apr 2025
@redrield:matrix.orgredrield joined the room.00:17:02
@mjolnir:nixos.orgmjolnir unbanned @cafkafk:fem.gg@cafkafk:fem.gg.06:12:58

Show newer messages


Back to Room ListRoom Version: 6