| 27 Jan 2022 |
tpw_rules | looks like the initrd is not reproducible because cpio packs hard links | 02:58:18 |
tpw_rules | with this particular nonstandard configuration, it's 144325 blocks, then i do nix-store --optimise, then it's 144122 blocks and no longer matches. not sure if there's some flag to fix that. i will try to investigate later | 02:58:57 |
tpw_rules | * looks like the initrd is not reproducible because cpio seems to pack hard links | 03:03:26 |
tpw_rules | does nar know about hard links? | 03:08:17 |
tpw_rules | i wouldn't think so? | 03:08:22 |
tpw_rules | looks like it may be as simple as s/prd/prP/ here: https://github.com/NixOS/nixpkgs/blob/master/pkgs/build-support/kernel/make-initrd.sh#L34 | 03:40:42 |
tpw_rules | if i am reading the cp manpage right | 03:40:45 |
tomberek | Looking at Figure 5.2 from thesis the supported types are regular(executable and normal), Symlink, Directory. I believe this is still true: https://github.com/NixOS/nix/blob/master/src/libutil/archive.cc#L202-L219 (btw: considering how long ago it was, the NAR format is still on the original version 1 ! A good testament to keeping it simple) | 03:41:31 |
tpw_rules | i'm just wondering if it's a problem if we potentially remove a hardlink a derivation has made itself. i am not sure they are distinguishable from ones made by --optimise | 03:42:32 |
tpw_rules | and i guess not, if nar does not convey that information | 03:43:00 |
tpw_rules | i will do some testing and submit a PR tomorrow night | 03:43:19 |
tomberek | Sounds reasonable | 03:47:20 |
afontain | So the point is to have two copies instead of one, until it gets optimized? | 10:01:22 |
Atemu | It's to always have two copies in the CPIO, no matter the stateful optimisation. | 12:44:16 |
afontain | sounds good | 12:49:32 |
| Michael Mercier joined the room. | 15:04:55 |
| 29 Jan 2022 |
tpw_rules | https://github.com/NixOS/nixpkgs/pull/157235 | 16:48:10 |
| 31 Jan 2022 |
| @bernardo:matrix.parity.io changed their profile picture. | 11:49:49 |
| @nixinator:nixos.dev joined the room. | 20:45:57 |
| 2 Feb 2022 |
| @mrhedgehog:jupiterbroadcasting.com joined the room. | 12:44:30 |
| 4 Feb 2022 |
| Xe changed their display name from Xe to Xe Iaso. | 00:43:45 |
| @marius851000:newsmatrix.pmdcollab.org joined the room. | 12:48:51 |
| peel joined the room. | 13:41:41 |
| 5 Feb 2022 |
| mikafluffyball ⚡️ joined the room. | 01:50:38 |
| 7 Feb 2022 |
tomberek | latest: https://tomberek.info/r13y.com/ | 02:37:23 |
| 8 Feb 2022 |
tpw_rules | bah, why is the initrd still not reproducible. what does that column mean? | 04:51:16 |
Atemu | tpw_rules: looks like the hardlink issue? Te PR that fixes it is still in staging I believe | 09:26:26 |
Atemu | * tpw_rules: looks like the hardlink issue? The PR that fixes it is still in staging I believe | 09:26:41 |
raboof | hmm https://nixpk.gs/pr-tracker.html?pr=157235 suggests it should've made it by now | 09:41:59 |
tpw_rules | the commit hash that page says it used has it | 18:35:03 |