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=";
};
cargoDeps = oldAttrs.cargoDeps.overrideAttrs (prev.lib.const {
cargoDeps = oldAttrs.cargoDeps.overrideAttrs (
prev.lib.const {
name = "${oldAttrs.pname}-${version}-vendor.tar.gz";
inherit src;
outputHash = "sha256-VkSznG2REXNhUKEVWwqlfA7BF9zXC+fxTgNeRfYaHi4=";
});
}
);
});
}

View File

@ -1,6 +1,9 @@
final: prev: {
neovim-unwrapped = prev.neovim-unwrapped.overrideAttrs (oldAttrs: {
postInstall = (oldAttrs.postInstall or "") + ''
postInstall =
(oldAttrs.postInstall or "")
# bash
+ ''
substituteInPlace $out/share/applications/nvim.desktop \
--replace "TryExec=nvim" "" \
--replace "Terminal=true" "Terminal=false" \

View File

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