From a83dec755ca2753705254f90346e4441d2f25c7c Mon Sep 17 00:00:00 2001 From: lassulus Date: Mon, 31 Oct 2022 18:49:42 +0100 Subject: git: fix "ln: failed to create symbolic link ... Read-only file system" --- krebs/3modules/git.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'krebs') diff --git a/krebs/3modules/git.nix b/krebs/3modules/git.nix index c038fd4c6..02c673e43 100644 --- a/krebs/3modules/git.nix +++ b/krebs/3modules/git.nix @@ -628,7 +628,7 @@ let # TODO fix correctly with stringAfter chown -R ${toString config.users.users.git.uid}:nogroup "$repodir" fi - ln -s ${hooks} "$repodir/hooks" + ln -Tfs ${hooks} "$repodir/hooks" '' ) (attrValues cfg.repos)} -- cgit v1.2.3