git: fix "ln: failed to create symbolic link ... Read-only file system"

This commit is contained in:
lassulus 2022-10-31 18:49:42 +01:00
parent 3405347dff
commit a83dec755c

View File

@ -628,7 +628,7 @@ let
# TODO fix correctly with stringAfter # TODO fix correctly with stringAfter
chown -R ${toString config.users.users.git.uid}:nogroup "$repodir" chown -R ${toString config.users.users.git.uid}:nogroup "$repodir"
fi fi
ln -s ${hooks} "$repodir/hooks" ln -Tfs ${hooks} "$repodir/hooks"
'' ''
) (attrValues cfg.repos)} ) (attrValues cfg.repos)}