<georges-duperon>snape: Very interesting indeed! Can it in principle run stuff in a plain QEMU emulator, instead of a hypervisor-style QEMU with shared /guix ?
<georges-duperon>I'm trying to check if I the .nar I ship is self-sufficient (i.e. stuff can be rebuilt with network off), but if the VM has access to the whole of the host's /guix/store I'm not checking much :D
<roptat>georges-duperon: guix build environments don't have network access
<roptat>if you build stuff with guix build, you know for sure they don't need any network access
<georges-duperon>roptat: good to know, but guix itself downloads stuff all the time (sources for dependencies etc.).
<roptat>sure, but that's outside of the build environment
<apteryx>could we implement a hash checker in our makefile that would rebuild only modified files instead of rewritten files? Our rebase && make flow would be much faster.
<georges-duperon>roptat: but it also means that you can ship a .nar that will contain software that cannot be rebuilt if files online disappear.
<roptat>mh... doesn't a .nar contain everything needed already?
<snape>apteryx: sometimes I use 'make --touch', which is very handy
<snape>to avoid rebuilding everything when you know nothing changed
<georges-duperon>apteryx: IIRC that thread, it sounds cool but make would need to store the previous versions of the files (or their hash) somewhere, whereas comparing timestamps works without extra data (you can't tell if a hash is "newer" than another, but that works for timestamps).
<georges-duperon>apteryx: Of course if you have the working directory & Makefile under your control, it's possible :)
<snape>apteryx: if you know only foo.h changed, you can: 'make --touch', then 'touch foo.h', then 'make'
<rekado>it would be suitable according to Outreachy’s mission: “Interns work remotely with mentors from Free and Open Source Software (FOSS) communities on projects ranging from programming, user experience, documentation, illustration and graphical design, to data science.”
<rekado>this would tick the boxes for “documentation”, “illustration”, and “graphical design”.