mirror of
https://github.com/donovanglover/nix-config.git
synced 2025-01-10 07:58:30 +01:00
14 lines
396 B
Nix
14 lines
396 B
Nix
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"
|
|
'';
|
|
});
|
|
}
|