| 15 Oct 2024 |
atemu12 | What's that last line about btw? +-r--r--r-- | 08:11:40 |
atemu12 | Is it actually RW in the image? | 08:11:51 |
Paul Meyer (katexochen) | Last two lines are the diff between the two images (looks a bit confusing without color)
| 08:20:16 |
atemu12 | Ahh that makes sense | 08:21:22 |
atemu12 | The path is writeable on the build system though, right? | 08:21:37 |
Paul 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 | As 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 joined the room. | 11:31:34 |
| 18 Oct 2024 |
| @sammy:cherrykitten.dev left the room. | 08:36:59 |
| 19 Oct 2024 |
| jwillikers joined the room. | 12:09:21 |
| 21 Oct 2024 |
| @tolgaerok:matrix.org left the room. | 04:35:43 |
emily | do we make __DATE__ reproducible OOTB? | 19:33:31 |
| 22 Oct 2024 |
Pol | It is by default | 09:07:09 |
Pol | * It is by default (IIRC) | 09:07:22 |
| @rnhmjoj:maxwell.ydns.eu left the room. | 12:40:01 |
| 23 Oct 2024 |
| noi0103 joined the room. | 13:53:13 |
| 24 Oct 2024 |
| jopejoe1 (4094@39c3) set a profile picture. | 07:35:08 |
| jzbor set a profile picture. | 21:52:55 |
| 25 Oct 2024 |
| gluonix joined the room. | 05:23:17 |
gluonix | Hi, 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 |
gluonix | https://discourse.nixos.org/t/building-flake-inside-docker-differs-from-outside/54899/3 | 05:37:02 |
| @aniketd:matrix.org left the room. | 06:21:41 |
| 26 Oct 2024 |
gluonix | What variable controls the build directory when using nix build? | 00:01:57 |
Artturin | 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 | And 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#L1712 | 00:42:37 |
Artturin | * 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#L1712 | 00:42:46 |
gluonix | thanks | 00:43:07 |
gluonix | I am trying to figure out how to obtain the same bit-for-bit builds inside a docker container, compared to outside, just with nix build | 00:43:55 |
gluonix | from running diffoscope, one thing that stands out is the different build paths | 00:44:30 |
gluonix | For instance, without docker:
/build/cargo-vendor-dir/...`
versus, with docker:
/tmp/nix-build-teleport.drv-0/cargo-vendor-dir/...
| 00:46:27 |