!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
@aloisw:julia0815.dealoisw Might have something to do with the fact that prev is not quite the same as the package set without the overlay. 17:33:55
@raitobezarius:matrix.orgraitobezarius
In reply to @piegames:flausch.social
nooo we need you
i feel like there's enough brains on the topic ;P
17:36:34
@raitobezarius:matrix.orgraitobezarius but tbh, I think the package set usage could be simply as lix.packageSet = pkgs.lixPackageSets.lix_2_93; 17:36:56
@raitobezarius:matrix.orgraitobezariuskernel style17:36:57
@raitobezarius:matrix.orgraitobezariusand then the nixos module can abstract the various overlays we want to do17:37:06
@emilazy:matrix.orgemilydo you know how it differs?17:43:05
@emilazy:matrix.orgemilyapparently I don't understand overlays17:43:08
* @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

Show newer messages


Back to Room ListRoom Version: 10