26 Aug 2024 |
@adis:blad.is | It will only fail for builds which reference platform_release | 02:33:00 |
emily | I take it setting it to an empty string in general isn't viable? | 02:33:06 |
@adis:blad.is | And if we can't do something correct we might as well fail | 02:33:17 |
@adis:blad.is | In reply to @emilazy:matrix.org I take it setting it to an empty string in general isn't viable? No. That was my initial attempt but that trips up the version parser | 02:33:34 |
emily | right | 02:33:47 |
emily | IMO, platforms should actually expose this information | 02:33:59 |
emily | the "minimum supported version of the platform" | 02:34:04 |
emily | rather than Python stuff having to figure it out | 02:34:15 |
Alyssa Ross | We have a fake uname package | 08:31:48 |
Alyssa Ross | Although I think here setting it to linuxHeaders.version probably makes sense. | 08:32:15 |
emily | what does that one output? :) | 14:10:54 |
emily | we should align them in any case | 14:10:58 |
emily | and add a fake sw_vers to match, that came up recently | 14:11:04 |
Alyssa Ross | I don't know. tbh I'm not a fan. | 14:27:44 |
emily | because you'd prefer to patch stuff? | 14:28:01 |
Alyssa Ross | yeah | 14:28:24 |
emily | adisbladis: fwiw apparently macOS already scrubs this info for Python https://matrix.to/#/!lheuhImcToQZYTQTuI:nixos.org/$d2JnDxYdhDRsYkHK84BfURKIr4LVjWNiKHAdjVHrmNo?via=nixos.org&via=matrix.org&via=nixos.dev | 14:30:11 |
emily | and it has caused a few issues, so be aware if you follow suit | 14:30:19 |
| Sami Liedes joined the room. | 22:14:24 |
27 Aug 2024 |
| @aloisw:kde.org left the room. | 18:02:33 |
4 Sep 2024 |
| SomeoneSerge (utc+3) changed their display name from SomeoneSerge (UTC+3) to SomeoneSerge (nix.camp). | 21:48:47 |
5 Sep 2024 |
Moritz Sanft | Just to confirm for a talk: At some point, the minimal ISO was reproducible, right? | 14:11:57 |
raboof | yes (https://discourse.nixos.org/t/nixos-reproducible-builds-minimal-installation-iso-successfully-independently-rebuilt/34756) - AFAIK it still is, but I'll admit I haven't tried since June | 14:13:23 |
emily | I thought jfsutils was scuppering it | 14:13:42 |
raboof | yes and no: we have a strong indication that jfsutils sometimes produces a different output (https://github.com/NixOS/nixpkgs/issues/276433), but it's rare enough that I have never actually ran into that when trying to reproduce the ISO | 14:17:06 |
raboof | so we're tracking it and want to fix it to avoid false negatives, but it didn't prevent us from reproducing the ISO so far | 14:18:09 |
raboof | (aka worst-case the issue would cause us not to trust a build that was actually safe, it will never cause us to trust a build that was actually unsafe) | 14:21:03 |
emily | maybe I should get around to removing JFS to help you out :) | 14:21:15 |
emily | https://github.com/NixOS/nixpkgs/pull/339821 | 15:01:31 |
emily | merry christmas | 15:01:33 |