mirror of
https://github.com/donovanglover/nix-config.git
synced 2024-11-22 00:03:55 +01:00
overlays: Format with nixfmt-rfc-style
This commit is contained in:
parent
4cbceec89c
commit
1d0296c209
@ -9,10 +9,12 @@ final: prev: {
|
||||
hash = "sha256-Se+Pg81W8R+SFGFlhF1dU+NnMWSdLo3nC9TdPHa2IL4=";
|
||||
};
|
||||
|
||||
cargoDeps = oldAttrs.cargoDeps.overrideAttrs (prev.lib.const {
|
||||
name = "${oldAttrs.pname}-${version}-vendor.tar.gz";
|
||||
inherit src;
|
||||
outputHash = "sha256-VkSznG2REXNhUKEVWwqlfA7BF9zXC+fxTgNeRfYaHi4=";
|
||||
});
|
||||
cargoDeps = oldAttrs.cargoDeps.overrideAttrs (
|
||||
prev.lib.const {
|
||||
name = "${oldAttrs.pname}-${version}-vendor.tar.gz";
|
||||
inherit src;
|
||||
outputHash = "sha256-VkSznG2REXNhUKEVWwqlfA7BF9zXC+fxTgNeRfYaHi4=";
|
||||
}
|
||||
);
|
||||
});
|
||||
}
|
||||
|
@ -1,10 +1,13 @@
|
||||
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"
|
||||
'';
|
||||
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"
|
||||
'';
|
||||
});
|
||||
}
|
||||
|
@ -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 ];
|
||||
});
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user