mirror of
https://github.com/donovanglover/nix-config.git
synced 2024-12-01 12:46:14 +01:00
11 lines
361 B
Nix
11 lines
361 B
Nix
final: prev: {
|
|
neovim-unwrapped = prev.neovim-unwrapped.overrideAttrs (oldAttrs: {
|
|
postInstall = (oldAttrs.postInstall or "") + ''
|
|
substituteInPlace $out/share/applications/nvim.desktop \
|
|
--replace "TryExec=nvim" "" \
|
|
--replace "Terminal=true" "Terminal=false" \
|
|
--replace "Exec=nvim %F" "Exec=kitty nvim %F"
|
|
'';
|
|
});
|
|
}
|