tools: pin remaining Cachix version on x86_64_darwin

Signed-off-by: Antoine du Hamel <duhamelantoine1995@gmail.com>
PR-URL: https://github.com/nodejs/node/pull/67743
Refs: https://github.com/nodejs/node/pull/67738
Reviewed-By: Gürgün Dayıoğlu <hey@gurgun.day>
Reviewed-By: Richard Lau <richard.lau@ibm.com>
This commit is contained in:
Antoine du Hamel committed 2026-11-25 18:20:40 +01:00
1 parent e14f5ef423
commit 7e4d0dbc94
2 files changed
+25 -1

No files matched your search

+13 -1
View File
@@ -100,10 +100,22 @@ jobs:
with:
extra_nix_config: sandbox = true
- name: Build Cachix
if: ${{ matrix.runner == 'macos-15-intel' }}
id: build_cachix
run: |
nix-build --no-out-link -I "nixpkgs=tools/nix/pkgs.nix" -E '(import <nixpkgs> {}).cachix'
{
printf "BIN="
nix-instantiate --eval --raw -I "nixpkgs=tools/nix/pkgs.nix" -E 'with (import <nixpkgs> {});lib.getExe cachix'
printf '\n'
} >> "$GITHUB_OUTPUT"
- uses: cachix/cachix-action@38b082610b782e7e93e209c35fd730d399dee866 # v17
with:
# We do not pass any `authToken` to avoid polluting the cache with potentially untrusted code.
name: nodejs
cachixBin: ${{ steps.build_cachix.outputs.BIN || '' }}
- name: Configure sccache
uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0
@@ -119,7 +131,7 @@ jobs:
run: |
nix-shell \
-I nixpkgs=./tools/nix/pkgs.nix \
--pure --keep TAR_DIR --keep FLAKY_TESTS \
--pure \
--keep SCCACHE_GHA_ENABLED --keep SCCACHE_GHA_RW_MODE \
--keep ACTIONS_CACHE_SERVICE_V2 --keep ACTIONS_RESULTS_URL --keep ACTIONS_RUNTIME_TOKEN \
--arg withPerfetto ${{ matrix.perfetto || false }} \
+12
View File
@@ -61,10 +61,22 @@ jobs:
with:
extra_nix_config: sandbox = true
- name: Build Cachix
if: ${{ matrix.runner == 'macos-15-intel' }}
id: build_cachix
run: |
nix-build --no-out-link -I "nixpkgs=tools/nix/pkgs.nix" -E '(import <nixpkgs> {}).cachix'
{
printf "BIN="
nix-instantiate --eval --raw -I "nixpkgs=tools/nix/pkgs.nix" -E 'with (import <nixpkgs> {});lib.getExe cachix'
printf '\n'
} >> "$GITHUB_OUTPUT"
- uses: cachix/cachix-action@38b082610b782e7e93e209c35fd730d399dee866 # v17
with:
authToken: ${{ secrets.CACHIX_AUTH_TOKEN }}
name: nodejs
cachixBin: ${{ steps.build_cachix.outputs.BIN || '' }}
- name: Compute requisites after change
run: ./tools/nix/list-requisites.sh > requisites-${{ matrix.system }}-after.list