shells: silverfin: don't try to write symlink into symlinked dir

This commit is contained in:
Charlotte Van Petegem 2024-07-16 15:16:29 +02:00
parent 89ed880dca
commit faa6d9b0ea

View file

@ -4,7 +4,7 @@ pkgs.devshell.mkShell {
imports = [ "${inputs.devshell}/extra/language/ruby.nix" ];
devshell.startup = {
"link-devshell-dir".text = ''
ln -sf $DEVSHELL_DIR $PRJ_DATA_DIR/devshell
ln -snf $DEVSHELL_DIR $PRJ_DATA_DIR/devshell
'';
};
packages = with pkgs; [