Hi Tomas, Tomas Volf <[email protected]> writes:
> Hi, > > since 427b8f960ec5a3f4c9de4de6917514074bdb371f Guix no longer builds in > a worktree if the build is executed inside a container. > > $ cd /tmp > $ git clone https://codeberg.org/guix/guix.git > $ git -C guix worktree add -b foo /tmp/guix-wt > $ cd guix-wt > $ guix shell -CD guix -- ./bootstrap > $ guix shell -CD guix -- ./configure > $ guix shell -CD guix -- make > [..] > cp "etc/git/pre-push" "/pre-push" > cp: cannot create regular file '/pre-push': Read-only file system > make[2]: *** [Makefile:8553: /pre-push] Error 1 > make[2]: Leaving directory '/tmp/guix-wt' > make[1]: *** [Makefile:7099: all-recursive] Error 1 > make[1]: Leaving directory '/tmp/guix-wt' > make: *** [Makefile:4827: all] Error 2 > > Since using a container is a documented way to build from Git, I assume > this was not intended consequence of the change. Sorry about that; I added some guards to avoid that situation in this scenario in bc4972662b4; should be fixed. Thanks for the report! -- Maxim
