mirror of
https://github.com/donovanglover/nix-config.git
synced 2025-01-09 15:38:12 +01:00
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:
parent
7b7028ed68
commit
2155dc793c
@ -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"
|
|
||||||
'';
|
|
||||||
});
|
|
||||||
}
|
|
Loading…
Reference in New Issue
Block a user