Hi,

since 427b8f960ec5a3f4c9de4de6917514074bdb371f Guix no longer builds in
a worktree if the build is executed inside a container.

--8<---------------cut here---------------start------------->8---
$ 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
--8<---------------cut here---------------end--------------->8---

Since using a container is a documented way to build from Git, I assume
this was not intended consequence of the change.

Tomas

-- 
There are only two hard things in Computer Science:
cache invalidation, naming things and off-by-one errors.



Reply via email to