!LemuOOvbWqRXodtSsw:nixos.org

NixOS Reproducible Builds

545 Members
Report: https://reproducible.nixos.org Project progress: https://github.com/orgs/NixOS/projects/30124 Servers

Load older messages


SenderMessageTime
25 Jan 2022
@rnhmjoj:maxwell.ydns.eu@rnhmjoj:maxwell.ydns.euwhy hasn't the fix for unreproducible man pages been backported to nix 2.4? nix being the only unreproducible package in the minimal image is pretty bad13:21:37
@toonn:matrix.orgtoonn What's preventing that Nix from being updated wholesale. Considering 2.6.0 has just been released? 13:24:29
@rnhmjoj:maxwell.ydns.eu@rnhmjoj:maxwell.ydns.eunixos-unstable nix seems to be already at 2.5, maybe the image contains nix_2_4 explicitely?13:32:11
@tomberek:matrix.orgtomberekThere was a bit of concern about 2.3->2.4 during 21.11 release. So that and some behavior changes/bugs with the newer releases is holding things back a bit.16:39:33
@tomberek:matrix.orgtomberekI'd like to fix the bugs and get everyone up to date and avoid fragmentation. My goal for 22.05 is to have a full new Nix by default. Maybe 3.0 if it is ready?16:40:48
27 Jan 2022
@tpw_rules:matrix.orgtpw_ruleslooks like the initrd is not reproducible because cpio packs hard links02:58:18
@tpw_rules:matrix.orgtpw_ruleswith 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 later02:58:57
@tpw_rules:matrix.orgtpw_rules * looks like the initrd is not reproducible because cpio seems to pack hard links03:03:26
@tpw_rules:matrix.orgtpw_rulesdoes nar know about hard links?03:08:17
@tpw_rules:matrix.orgtpw_rulesi wouldn't think so?03:08:22
@tpw_rules:matrix.orgtpw_ruleslooks 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#L3403:40:42
@tpw_rules:matrix.orgtpw_rulesif i am reading the cp manpage right03:40:45
@tomberek:matrix.orgtomberekLooking 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:matrix.orgtpw_rulesi'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 --optimise03:42:32
@tpw_rules:matrix.orgtpw_rulesand i guess not, if nar does not convey that information03:43:00
@tpw_rules:matrix.orgtpw_rulesi will do some testing and submit a PR tomorrow night03:43:19
@tomberek:matrix.orgtomberekSounds reasonable03:47:20
@afontain:gnugen.chafontainSo the point is to have two copies instead of one, until it gets optimized?10:01:22
@atemu12:matrix.orgatemu12It's to always have two copies in the CPIO, no matter the stateful optimisation.12:44:16
@afontain:gnugen.chafontainsounds good12:49:32
@mickours:matrix.orgMichael Mercier joined the room.15:04:55
29 Jan 2022
@tpw_rules:matrix.orgtpw_ruleshttps://github.com/NixOS/nixpkgs/pull/15723516:48:10
31 Jan 2022
@bernardo:matrix.parity.io@bernardo:matrix.parity.io changed their profile picture.11:49:49
@nixinator:nixos.dev@nixinator:nixos.dev joined the room.20:45:57
2 Feb 2022
@mrhedgehog:jupiterbroadcasting.com@mrhedgehog:jupiterbroadcasting.com joined the room.12:44:30
4 Feb 2022
@withoutwithin:matrix.orgXe changed their display name from Xe to Xe Iaso.00:43:45
@marius851000:newsmatrix.pmdcollab.org@marius851000:newsmatrix.pmdcollab.org joined the room.12:48:51
@peel:matrix.orgpeel joined the room.13:41:41
5 Feb 2022
@shanoaice:sfo.cube64128.xyzmikafluffyball ⚡️ joined the room.01:50:38
7 Feb 2022
@tomberek:matrix.orgtombereklatest: https://tomberek.info/r13y.com/02:37:23

Show newer messages


Back to Room ListRoom Version: 6