nix/overlay/Swappy.nix

16 lines
296 B
Nix
Raw Normal View History

2024-11-23 07:09:45 +03:00
{
__findFile,
config,
pkgs,
...
} @args: {
# SEE: https://github.com/jtheoof/swappy/issues/131
nixpkgs.overlays = [(final: prev: {
swappy = prev.swappy.overrideAttrs (old: {
patches = (old.patches or [ ]) ++ [
(import <patch/swappy/DefaultColor.nix> args).file
];
});
})];
}