{ __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 args).file ]; }); }) ]; }