git: fix "ln: failed to create symbolic link ... Read-only file system"
This commit is contained in:
parent
3405347dff
commit
a83dec755c
@ -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)}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user