Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions .github/workflows/update_cache.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,3 +43,24 @@ jobs:

- name: Build the outputs to be cached.
run: nix build -L .#forCache

build-darwin:
permissions:
contents: read
name: Update Nix builder cache (aarch64-darwin)
runs-on: macos-26
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- uses: DeterminateSystems/nix-installer-action@3138316df39ed29be04236d7ffc686fa525866aa # v23
with:
extra-conf: |
sandbox = relaxed
- uses: cachix/cachix-action@1eb2ef646ac0255473d23a5907ad7b04ce94065c # v17
with:
name: huggingface
authToken: "${{ secrets.CACHIX_AUTH_TOKEN }}"
- name: Nix info
run: nix-shell -p nix-info --run "nix-info -m"

- name: Build the outputs to be cached.
run: nix build -L .#forCache
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@
builtins.filter (buildSet: buildSet.buildConfig.bundleBuild or false) buildSets
);

forCacheNonBundle = mkForCache (
forCacheNonBundle = mkForCache pkgs (
builtins.filter (buildSet: !(buildSet.buildConfig.bundleBuild or false)) buildSets
);

Expand Down
Loading