mirror of
https://github.com/donovanglover/nix-config.git
synced 2024-11-22 08:14:00 +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=";
|
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=";
|
||||||
|
}
|
||||||
|
);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
@ -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"
|
||||||
|
'';
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
@ -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
|
|
||||||
];
|
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user