!lymvtcwDJ7ZA9Npq:lix.systems

Lix Development

423 Members
(Technical) development of Lix, the package manager, a Nix implementation. Please be mindful of ongoing technical conversations in this channel.143 Servers

Load older messages


SenderMessageTime
26 Jul 2025
* @piegames:flausch.socialpiegames is confused as well17:46:33
@aloisw:julia0815.dealoisw This should be the function that applies overlays: https://github.com/NixOS/nixpkgs/blob/1733b682f2b4bf9e389a757e81e09fe3b51ddbc4/lib/fixed-points.nix#L319-L328 . So basically you should think of the package set as a function (that can be altered by overlays) and prev is the package set function prior to your overlay called with the fixed point. 18:25:19
@aloisw:julia0815.dealoiswActually that's not just basically but literally how it works: https://github.com/NixOS/nixpkgs/blob/2b37f8f2d88df8c2a5e67cc11ae15ff8372315af/pkgs/top-level/stage.nix#L337-L35419:16:55
@aloisw:julia0815.dealoiswThe entire nixpkgs package set is just overlays all the way down.19:17:20
@raitobezarius:matrix.orgraitobezarius emily i reworked the whole thing to take into account Darwin 21:01:40
@raitobezarius:matrix.orgraitobezarius https://gerrit.lix.systems/c/lix/+/3765 21:01:42
@raitobezarius:matrix.orgraitobezariusI'm going to have dinner and let CI see if Darwin tests works21:02:07
@raitobezarius:matrix.orgraitobezariusI confirmed that Linux functionality did not regress as I have enough build capacity for that, but Darwin is not the optimal thing for me to test21:02:24
@raitobezarius:matrix.orgraitobezariusI decided to optimize Linux for free in the context of cacert disappearing someday21:02:42
@raitobezarius:matrix.orgraitobezariusI bind the CA certificate if possible rather than copying it21:02:50
@raitobezarius:matrix.orgraitobezariusI kept the warning and ensured it appears only if caFile and $NIX_SSL_CERT_FILE disagrees21:03:06
@raitobezarius:matrix.orgraitobezariuswhich can happen if you do21:03:08
@raitobezarius:matrix.orgraitobezarius NIX_SSL_CERT_FILE=a nix-build -A ... --option ssl-cert-file b 21:03:21
@raitobezarius:matrix.orgraitobezariusand is to me a problem I believe?21:03:29
@emilazy:matrix.orgemilythis means that it can change mid-build on Linux yes?21:03:33
@emilazy:matrix.orgemilyI don't know if that's an issue per se but it unnerves me a bit21:03:49
@raitobezarius:matrix.orgraitobezariuscorrect21:03:53
@raitobezarius:matrix.orgraitobezariusI feel like, it should not be a problem21:04:01
@raitobezarius:matrix.orgraitobezariusif your system is going through changes of that style21:04:08
@raitobezarius:matrix.orgraitobezariusfailures should happen outside of Nix as well21:04:17
@emilazy:matrix.orgemilyperhaps, yeah21:04:32
@raitobezarius:matrix.orgraitobezariusrealistically, how often CA certificates changes mid-builds?21:04:35
@emilazy:matrix.orgemilywhat if you… replace it with a Unix socket21:04:38
@emilazy:matrix.orgemilyit's just the bind mount that scares me21:04:43
@raitobezarius:matrix.orgraitobezarius
In reply to @emilazy:matrix.org
what if you… replace it with a Unix socket
<insert meme of person unhappy>
21:04:51
@emilazy:matrix.orgemilyno I mean like21:04:56
@emilazy:matrix.orgemilywhat if something switches out the cert store for a Unix socket21:05:04
@emilazy:matrix.orgemilyI dunno21:05:10
@raitobezarius:matrix.orgraitobezariuscan it change inode type?21:05:20
@emilazy:matrix.orgemilywell you could do it between builds even (maybe? if that's not checked for)21:05:31

Show newer messages


Back to Room ListRoom Version: 10