nix-config/overlays/rofi/default.nix
Donovan Glover 43a07cc8d9
treewide: Switch from alejandra to nixpkgs-fmt
Neither nixfmt nor alejandra support the "standard" way to syntax
highlight multi-line strings in Nix, so nixpkgs-fmt is the only viable
solution.
2023-06-11 09:37:27 -04:00

21 lines
627 B
Nix

{ pkgs, ... }: {
nixpkgs.overlays = [
(final: prev: {
rofi-unwrapped = prev.rofi-unwrapped.overrideAttrs (oldAttrs: rec {
version = "d06095b5ed40e5d28236b7b7b575ca867696d847";
src = final.fetchFromGitHub {
owner = "lbonn";
repo = "rofi";
rev = version;
fetchSubmodules = true;
sha256 = "sha256-8IfHpaVFGeWqyw+tLjNtg+aWwAHhSA5PuXJYjpoht2E=";
};
nativeBuildInputs = oldAttrs.nativeBuildInputs ++ [ pkgs.wayland-scanner ];
buildInputs = oldAttrs.buildInputs ++ [ pkgs.wayland pkgs.wayland-protocols ];
});
})
];
}