!lymvtcwDJ7ZA9Npq:lix.systems

Lix Development

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

Load older messages


SenderMessageTime
26 Jul 2025
@emilazy:matrix.orgemilyalso I'm not sure we want to set the non-NIX prefixed version but I'm not sure. pretty tired myself01:43:28
@raitobezarius:matrix.orgraitobezarius (DECT: 7248)fetchhg sets it, k3s set it somewhere, fetchpypilegacy sets it, fetchsvn sets it, build bazel sets it, fetchurl does01:43:37
@emilazy:matrix.orgemily I would ask Toma what he thinks of this since he has been bashing his head against the whole thing for a while now 01:43:38
@emilazy:matrix.orgemilyone issue01:43:58
@raitobezarius:matrix.orgraitobezarius (DECT: 7248)what I read in the issue is that I felt like we came to a similar conclusion01:44:00
@emilazy:matrix.orgemily is settings.caFile a trusted setting 01:44:01
@raitobezarius:matrix.orgraitobezarius (DECT: 7248)which is that NIX_SSL_CERT_FILE should go out of the env list01:44:08
@emilazy:matrix.orgemilyI am worried about confused deputy01:44:14
@raitobezarius:matrix.orgraitobezarius (DECT: 7248)cannot remember01:45:12
@raitobezarius:matrix.orgraitobezarius (DECT: 7248)and grepping the code doesn't help01:45:20
@emilazy:matrix.orgemily I just do not want --option ssl-cert-file to be a trivial "read any root:root file" vector :) 01:45:58
@raitobezarius:matrix.orgraitobezarius (DECT: 7248) either way, I guess there's ONE solution out there, it has a bunch of issues, but I think those are fairly workable 01:46:01
@raitobezarius:matrix.orgraitobezarius (DECT: 7248)
In reply to @emilazy:matrix.org
I just do not want --option ssl-cert-file to be a trivial "read any root:root file" vector :)
u sure u dont want another CVE?
01:46:11
@raitobezarius:matrix.orgraitobezarius (DECT: 7248)please drop a comment on the CL01:46:18
@emilazy:matrix.orgemilyI should have slept an hour ago, can I do it tomorrow? :p01:46:59
@raitobezarius:matrix.orgraitobezarius (DECT: 7248) i should have slept 4 hours ago, what's your point 01:47:12
@raitobezarius:matrix.orgraitobezarius (DECT: 7248)do it whenever it's convenient for you01:47:25
@xokdvium:matrix.orgSergei Zimmerman (xokdvium) Qyriad: 12:02:58
@xokdvium:matrix.orgSergei Zimmerman (xokdvium) * Qyriad: What's up with the meson host_platform and cpu names? It's all very wonky and slightly broken I think (in both lix and cppnix). 12:03:31
@xokdvium:matrix.orgSergei Zimmerman (xokdvium) The default system double in currentSystem is very f'ed up on 32 bit arm, mips, powerpc e.t.c. It's really a viscous cycle where nixpkgs determines the values in host_platform and the build system doesn't really use those correctly.
E.g. armv7l, armv6l translates to host_platform.cpu_family() = 'arm' in nixpkgs (as it rightly should). By the system double should differentiate between those, so it should look at cpu_name as well.
12:07:40
@xokdvium:matrix.orgSergei Zimmerman (xokdvium) * The default system double in currentSystem is very f'ed up on 32 bit arm, mips, powerpc e.t.c. It's really a viscous cycle where nixpkgs determines the values in host_platform and the build system doesn't really use those correctly.
E.g. armv7l, armv6l translates to host_platform.cpu_family() = 'arm' in nixpkgs (as it rightly should). But the system double should differentiate between those, so it should look at cpu_name as well.
12:08:59
@qyriad:katesiria.orgQyriad it probably should 12:35:28
@qyriad:katesiria.orgQyriad that logic was translated directly from the old buildsystem 12:35:40
@qyriad:katesiria.orgQyriad and at the time most of those targets didn't work anyway for Nixpkgs broken package reasons 12:36:19
@xokdvium:matrix.orgSergei Zimmerman (xokdvium) Yeah, though is there any reason not to use hostPlatform.system when building nix with nix? 12:38:34
@xokdvium:matrix.orgSergei Zimmerman (xokdvium) * Yeah, though is there any reason not to use hostPlatform.system when building nix/lix in nixpkgs? 12:38:56
@qyriad:katesiria.orgQyriad Probably not? Have you tried it? Does anything break? 12:39:19
@xokdvium:matrix.orgSergei Zimmerman (xokdvium) It should just work. I'll try to get the manual logic in meson to align with what https://github.com/NixOS/nixpkgs/blob/master/pkgs/build-support/lib/meson.nix does (for the sake of other distros building nix). But for consistency lib.systems should just be the source of truth IMO. 12:41:20
@emilazy:matrix.orgemily
In reply to @xokdvium:matrix.org
The default system double in currentSystem is very f'ed up on 32 bit arm, mips, powerpc e.t.c. It's really a viscous cycle where nixpkgs determines the values in host_platform and the build system doesn't really use those correctly.
E.g. armv7l, armv6l translates to host_platform.cpu_family() = 'arm' in nixpkgs (as it rightly should). By the system double should differentiate between those, so it should look at cpu_name as well.
32-bit ARM can't even build Nix
12:46:56
@emilazy:matrix.orgemilyso I wouldn't worry overly much12:47:08

Show newer messages


Back to Room ListRoom Version: 10