overlays: Drop neovim-unwrapped

Not interested in rebuilding neovim every time just for the desktop icon
to work when I don't use it anyway.
This commit is contained in:
Donovan Glover 2024-08-15 14:43:05 -04:00
parent 7b7028ed68
commit 2155dc793c
No known key found for this signature in database
GPG Key ID: EA7408A77AE1BE65

View File

@ -1,13 +0,0 @@
final: prev: {
neovim-unwrapped = prev.neovim-unwrapped.overrideAttrs (oldAttrs: {
postInstall =
(oldAttrs.postInstall or "")
# bash
+ ''
substituteInPlace $out/share/applications/nvim.desktop \
--replace "TryExec=nvim" "" \
--replace "Terminal=true" "Terminal=false" \
--replace "Exec=nvim %F" "Exec=kitty nvim %F"
'';
});
}