overlays: Format with nixfmt-rfc-style

This commit is contained in:
Donovan Glover 2024-08-03 14:32:56 -04:00
parent 4cbceec89c
commit 1d0296c209
No known key found for this signature in database
GPG Key ID: EA7408A77AE1BE65
3 changed files with 17 additions and 14 deletions

View File

@ -9,10 +9,12 @@ final: prev: {
hash = "sha256-Se+Pg81W8R+SFGFlhF1dU+NnMWSdLo3nC9TdPHa2IL4="; hash = "sha256-Se+Pg81W8R+SFGFlhF1dU+NnMWSdLo3nC9TdPHa2IL4=";
}; };
cargoDeps = oldAttrs.cargoDeps.overrideAttrs (prev.lib.const { cargoDeps = oldAttrs.cargoDeps.overrideAttrs (
name = "${oldAttrs.pname}-${version}-vendor.tar.gz"; prev.lib.const {
inherit src; name = "${oldAttrs.pname}-${version}-vendor.tar.gz";
outputHash = "sha256-VkSznG2REXNhUKEVWwqlfA7BF9zXC+fxTgNeRfYaHi4="; inherit src;
}); outputHash = "sha256-VkSznG2REXNhUKEVWwqlfA7BF9zXC+fxTgNeRfYaHi4=";
}
);
}); });
} }

View File

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

View File

@ -1,7 +1,5 @@
final: prev: { final: prev: {
rofi-wayland-unwrapped = prev.rofi-wayland-unwrapped.overrideAttrs (oldAttrs: { rofi-wayland-unwrapped = prev.rofi-wayland-unwrapped.overrideAttrs (oldAttrs: {
patches = (oldAttrs.patches or [ ]) ++ [ patches = (oldAttrs.patches or [ ]) ++ [ ../assets/rofi-wayland-fix-touchpad-scrolling.patch ];
../assets/rofi-wayland-fix-touchpad-scrolling.patch
];
}); });
} }