diff --git a/flake.nix b/flake.nix index e3df0ee..95695b0 100644 --- a/flake.nix +++ b/flake.nix @@ -123,6 +123,7 @@ (import ./overlays/neovim-plugins.nix inputs) (import ./overlays/lib.nix) (import ./overlays/calibre-web.nix) + (import ./overlays/gh-cli.nix) ]; # System types to support. diff --git a/overlays/gh-cli.nix b/overlays/gh-cli.nix new file mode 100644 index 0000000..4743cbe --- /dev/null +++ b/overlays/gh-cli.nix @@ -0,0 +1,12 @@ +# Testing: https://github.com/cli/cli/issues/5011#issuecomment-1576931518 + +_final: prev: { + gh = prev.gh.overrideAttrs (old: { + src = prev.fetchFromGitHub { + owner = "cli"; + repo = "cli"; + rev = "420f63c3ec660d27182b713bd18459e7376f0a7a"; + sha256 = "sha256-ik4YCQBTr9637dofrh/AcgoOBa8Bx9F+brUMpC8u5U8="; + }; + }); +}