_self: super: {
  # Avoid rebuilding graphical dependencies
  # when using Nixpkgs PRs rebuilding them.
  # See https://github.com/NixOS/nixpkgs/issues/96306#issuecomment-722140002
  pinentry = super.pinentry.override {
    enabledFlavors = [ "curses" "tty" ];
  };
}