Attempt a bind instead of symlink.

This commit is contained in:
Nicolas Patry 2024-09-17 10:30:14 +02:00
parent c584443373
commit 123a59531d
No known key found for this signature in database
GPG Key ID: 64AF4752B2967863

View File

@ -20,6 +20,13 @@ jobs:
group: aws-g6-12xl-plus-priv-cache
steps:
- uses: actions/checkout@v4
- name: Attempt to bind nix store
run: |
sudo mkdir -p /mnt/hf_cache/nix
sudo mkdir -p /nix
sudo chown -R runner /mnt/hf_cache/nix
sudo chown -R runner /nix
sudo mount --bind /mnt/hf_cache/nix /nix
- uses: cachix/install-nix-action@v27
- uses: cachix/cachix-action@v14
with: