From 3b7ca632d8366119f89c0218b32f145570e04d0d Mon Sep 17 00:00:00 2001 From: pancho horrillo Date: Wed, 8 Jul 2026 13:20:06 +0200 Subject: [PATCH] gh-actions-cache: drop MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit As stated in the repository¹ README: Important This functionality has been integrated directly into the gh CLI https://cli.github.com/manual/gh_cache This extension should be removed and replaced with usage of gh cache directly gh extension remove actions-cache ¹: https://github.com/actions/gh-actions-cache At any rate, the repository has been archived (on Oct 21, 2024). --- doc/release-notes/rl-2611.section.md | 2 ++ pkgs/by-name/gh/gh-actions-cache/package.nix | 37 -------------------- pkgs/top-level/aliases.nix | 1 + 3 files changed, 3 insertions(+), 37 deletions(-) delete mode 100644 pkgs/by-name/gh/gh-actions-cache/package.nix diff --git a/doc/release-notes/rl-2611.section.md b/doc/release-notes/rl-2611.section.md index 936f58ebacf7..f961ae8209ac 100644 --- a/doc/release-notes/rl-2611.section.md +++ b/doc/release-notes/rl-2611.section.md @@ -54,6 +54,8 @@ - `buildFHSEnvChroot` has been removed after deprecation in 23.05. +- `gh-actions-cache` has been removed since its functionality has been integrated directly into `gh` (`gh cache`). See [upstream readme](https://github.com/actions/gh-actions-cache). + - `requireFile` now sets `meta.license = lib.licenses.unfree` by default. Users of `requireFile`-based derivations that preserve this default will need to explicitly allow their evaluation as described in [](#sec-allow-unfree). - `librest` providing 0.7 ABI was removed. `librest_1_0` providing 1.0 ABI was renamed to `librest` and `librest_1_0` was kept as an alias. diff --git a/pkgs/by-name/gh/gh-actions-cache/package.nix b/pkgs/by-name/gh/gh-actions-cache/package.nix deleted file mode 100644 index a38af3829e58..000000000000 --- a/pkgs/by-name/gh/gh-actions-cache/package.nix +++ /dev/null @@ -1,37 +0,0 @@ -{ - lib, - fetchFromGitHub, - buildGoModule, -}: - -buildGoModule (finalAttrs: { - pname = "gh-actions-cache"; - version = "1.0.4"; - - src = fetchFromGitHub { - owner = "actions"; - repo = "gh-actions-cache"; - rev = "v${finalAttrs.version}"; - hash = "sha256-GVha3xxLTBTiKfAjGb2q9btsGYzWQivGLyZ4Gg0s/N0="; - }; - - vendorHash = "sha256-4/Zt+ga3abEPtR0FjWIsDpOiG1bfVtVuLuXP8aHbzqk="; - - ldflags = [ - "-s" - "-w" - ]; - - # Needed for tests. - # https://github.com/actions/gh-actions-cache/issues/53#issuecomment-1464954495 - env.GH_TOKEN = "dummy-token-to-facilitate-rest-client"; - - meta = { - description = "gh extension to manage GitHub Actions caches"; - homepage = "https://github.com/actions/gh-actions-cache"; - changelog = "https://github.com/actions/gh-actions-cache/releases/tag/${finalAttrs.src.rev}"; - license = lib.licenses.mit; - maintainers = with lib.maintainers; [ matthiasbeyer ]; - mainProgram = "gh-actions-cache"; - }; -}) diff --git a/pkgs/top-level/aliases.nix b/pkgs/top-level/aliases.nix index 05a043d8e174..f1b70476642c 100644 --- a/pkgs/top-level/aliases.nix +++ b/pkgs/top-level/aliases.nix @@ -900,6 +900,7 @@ mapAliases { gfortran12 = throw "gfortran12 has been removed from Nixpkgs, as it is unmaintained and obsolete"; # Added 2025-08-08 gg = throw "'gg' has been renamed to/replaced by 'go-graft'"; # Converted to throw 2025-10-27 ggobi = throw "'ggobi' has been removed from Nixpkgs, as it is unmaintained and broken"; # Added 2025-05-18 + gh-actions-cache = throw "'gh-actions-cache' has been dropped from Nixpkgs, as its functionality has been incorporated to 'gh', in 'gh cache'"; # Added 2026-07-08 gh-cherry-pick = warnAlias "'gh-cherry-pick' has been renamed to 'ghcherry'" ghcherry; # Added 2026-05-17 gh-copilot = throw "'gh-copilot' has been removed since it has been deprecated and archived upstream. Consider using 'github-copilot-cli' instead"; # Added 2026-01-20 gImageReader = gimagereader; # Added 2026-02-08