1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-11-11 04:56:01 +01:00

Run onnamespace, use their cache

This commit is contained in:
Graham Christensen 2025-06-13 15:24:01 -04:00
parent b0a325d8db
commit 6185afef92
2 changed files with 6 additions and 1 deletions

View file

@ -135,6 +135,11 @@ jobs:
FLAKE_REGRESSION_GLOB: ${{ matrix.glob }}
NIX_CONFIG: ${{ matrix.nix_config }}
run: |
set -x
if [ ! -z "${NSC_CACHE_PATH:-}" ]; then
mkdir -p "${NSC_CACHE_PATH}/nix/xdg-cache"
export XDG_CACHE_HOME="${NSC_CACHE_PATH}/nix/xdg-cache"
fi
nix build -L --out-link ./new-nix
export PATH=$(pwd)/new-nix/bin:$PATH

View file

@ -35,7 +35,7 @@ jobs:
uses: ./.github/workflows/build.yml
with:
system: x86_64-linux
runner: UbuntuLatest32Cores128G
runner: namespace-profile-linuxamd32c64g-cache
runner_small: ubuntu-latest
run_tests: true
run_vm_tests: true