!LemuOOvbWqRXodtSsw:nixos.org

NixOS Reproducible Builds

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

Load older messages


SenderMessageTime
15 Oct 2024
@katexochen:matrix.orgPaul Meyer (katexochen)For an explanation how a writable file ended up in a realised derivation/in the image.07:59:02
@katexochen:matrix.orgPaul Meyer (katexochen) * For an explanation how a writable file ended up in a realised derivation/in the image (on one system, and not on another)08:00:36
@katexochen:matrix.orgPaul Meyer (katexochen)

This is what we are trying to debug (from an uki/repart nixos image):

❯ diffoscope f*/initrd_0
--- f-btrfs/initrd_0
+++ f-ext/initrd_0
│┄ comprises of 1 embedded members
├── .cpio file embedded at offset 0
│ ├── file list
│ │ @@ -981,15 +981,15 @@
│ │  -r--r--r--   0        0        0     2274 1970-01-01 00:00:01.000000 ./nix/store/frngrlq2xa2szv4bx91jkymv0dy9akmx-kbd-2.6.4/share/keymaps/sun/sunt5-uk.map.gz
│ │  -r--r--r--   0        0        0     4926 1970-01-01 00:00:01.000000 ./nix/store/frngrlq2xa2szv4bx91jkymv0dy9akmx-kbd-2.6.4/share/keymaps/sun/sunt5-us-cz.map.gz
│ │  -r--r--r--   0        0        0     1706 1970-01-01 00:00:01.000000 ./nix/store/frngrlq2xa2szv4bx91jkymv0dy9akmx-kbd-2.6.4/share/keymaps/sun/sunt6-uk.map.gz
│ │  drwxr-xr-x   0        0        0        0 1970-01-01 00:00:01.000000 ./nix/store/fvsswlqh6pc2f5x9qvahm4qbjgjlp86j-linux-pam-1.6.1/
│ │  drwxr-xr-x   0        0        0        0 1970-01-01 00:00:01.000000 ./nix/store/fvsswlqh6pc2f5x9qvahm4qbjgjlp86j-linux-pam-1.6.1/lib/
│ │  lrwxrwxrwx   0        0        0       16 1970-01-01 00:00:01.000000 ./nix/store/fvsswlqh6pc2f5x9qvahm4qbjgjlp86j-linux-pam-1.6.1/lib/libpam.so.0 -> libpam.so.0.85.1
│ │  -rwxrwxrwx   0        0        0    67608 1970-01-01 00:00:01.000000 ./nix/store/fvsswlqh6pc2f5x9qvahm4qbjgjlp86j-linux-pam-1.6.1/lib/libpam.so.0.85.1
│ │ --rw-r--r--   0        0        0        0 1970-01-01 00:00:01.000000 ./nix/store/gq7vys7yw9gsrrk5jzp4qx1glc15hwlp-initrd-kmod-blacklist-ubuntu
│ │ +-r--r--r--   0        0        0        0 1970-01-01 00:00:01.000000 ./nix/store/gq7vys7yw9gsrrk5jzp4qx1glc15hwlp-initrd-kmod-blacklist-ubuntu
08:02:31
@atemu12:matrix.orgAtemuI see08:11:22
@atemu12:matrix.orgAtemu What's that last line about btw? +-r--r--r-- 08:11:40
@atemu12:matrix.orgAtemuIs it actually RW in the image?08:11:51
@katexochen:matrix.orgPaul Meyer (katexochen)Last two lines are the diff between the two images (looks a bit confusing without color) 08:20:16
@atemu12:matrix.orgAtemuAhh that makes sense08:21:22
@atemu12:matrix.orgAtemuThe path is writeable on the build system though, right?08:21:37
@katexochen:matrix.orgPaul Meyer (katexochen)Yes, I'm pretty sure it was writable on my local system. But I cleaned up that path and couldn't find a way to reproduce that yet.08:29:42
@atemu12:matrix.orgAtemuAs mentioned before, there have been cases reported before where some system daemons remount /nix/store. I don't have the issue handy but I'm sure you can find it. Make sure you're not running any of those.08:32:52
16 Oct 2024
@h7x4:nani.wtfh7x4 joined the room.11:31:34
18 Oct 2024
@sammy:cherrykitten.dev@sammy:cherrykitten.dev left the room.08:36:59
19 Oct 2024
@jwillikers:matrix.orgjwillikers joined the room.12:09:21
21 Oct 2024
@tolgaerok:matrix.org@tolgaerok:matrix.org left the room.04:35:43
@emilazy:matrix.orgemily do we make __DATE__ reproducible OOTB? 19:33:31
22 Oct 2024
@drupol:matrix.orgPolIt is by default09:07:09
@drupol:matrix.orgPol * It is by default (IIRC)09:07:22
@rnhmjoj:maxwell.ydns.eu@rnhmjoj:maxwell.ydns.eu left the room.12:40:01
23 Oct 2024
@noi0103:matrix.orgnoi0103 joined the room.13:53:13
24 Oct 2024
@jopejoe1:matrix.orgjopejoe1 set a profile picture.07:35:08
@wa94tiju:fau.deJulian Zboril set a profile picture.21:52:55
25 Oct 2024
@switch3flip:matrix.orggluonix joined the room.05:23:17
@switch3flip:matrix.orggluonixHi, trying to understand why building a flake in a docker container yields a different binary than when building with nix on host machine.05:24:33
@switch3flip:matrix.orggluonixhttps://discourse.nixos.org/t/building-flake-inside-docker-differs-from-outside/54899/305:37:02
@aniketd:matrix.org@aniketd:matrix.org left the room.06:21:41
26 Oct 2024
@switch3flip:matrix.orggluonix What variable controls the build directory when using nix build? 00:01:57
@artturin:matrix.orgArtturin
In reply to @switch3flip:matrix.org
What variable controls the build directory when using nix build?
https://nix.dev/manual/nix/2.24/language/derivations.html#builder-execution
00:42:05
@artturin:matrix.orgArtturinAnd source is unpacked to sourceRoot and then cd to it for the rest of the build https://github.com/NixOS/nixpkgs/blob/54830391487253422f0ccab55fc557b2e725ace0/pkgs/stdenv/generic/setup.sh#L171200:42:37
@artturin:matrix.orgArtturin* And src is unpacked to sourceRoot and then cd to it for the rest of the build https://github.com/NixOS/nixpkgs/blob/54830391487253422f0ccab55fc557b2e725ace0/pkgs/stdenv/generic/setup.sh#L171200:42:46

Show newer messages


Back to Room ListRoom Version: 6