fs: symlinking: fix recursive links (don't follow links when creating new ones)

This commit is contained in:
2023-01-06 05:32:31 +00:00
parent 0977721af5
commit c18dd9636d

View File

@@ -295,7 +295,7 @@ let
lnfrom="$1"
lnto="$2"
ln -sf "$lnto" "$lnfrom"
ln -sf --no-dereference "$lnto" "$lnfrom"
'';
scriptArgs = [ path link-cfg.target ];
};