nix: move vimfiles instead of copying (#3073)

This commit is contained in:
Mitchell Hashimoto
2024-12-22 19:07:41 -08:00
committed by GitHub

View File

@ -178,7 +178,9 @@ in
ln -sf "$shell_integration/shell-integration" "$out/share/ghostty/shell-integration" ln -sf "$shell_integration/shell-integration" "$out/share/ghostty/shell-integration"
echo "$shell_integration" >> "$out/nix-support/propagated-user-env-packages" echo "$shell_integration" >> "$out/nix-support/propagated-user-env-packages"
cp -r $out/share/vim/vimfiles "$vim" mv $out/share/vim/vimfiles "$vim"
ln -sf "$vim" "$out/share/vim/vimfiles"
echo "$vim" >> "$out/nix-support/propagated-user-env-packages"
''; '';
postFixup = '' postFixup = ''