feat: update nixpkgs locked version to avoid override nixpkgs in ci. (#150)

Co-authored-by: Jazz Turner-Baggs <473256+jazzz@users.noreply.github.com>
This commit is contained in:
kaichao
2026-06-24 08:04:44 -07:00
committed by GitHub
co-authored by Jazz Turner-Baggs
parent 7f3da1288a
commit 0d38dd80b7
2 changed files with 4 additions and 12 deletions
+1 -9
View File
@@ -64,15 +64,7 @@ jobs:
primary-key: nix-${{ runner.os }}-fixtest-${{ hashFiles('flake.nix', 'flake.lock') }}
restore-prefixes-first-match: nix-${{ runner.os }}-
- name: Build logos-delivery
# Build through a patched nixpkgs (kaichaosun/nixpkgs fix-gitfetch),
# whose nix-prefetch-git disables git background auto-maintenance so the
# nim-zlib submodule fetch no longer races `.git` removal. The override
# flows into logos-delivery via its `nixpkgs.follows`. The bumped cache
# key (`-fixtest-`) forces a cold store, so this genuinely re-fetches
# nim-zlib instead of reusing a cached output. No retry on purpose: a
# single build must now succeed deterministically. Re-run the job a few
# times for more samples.
run: nix build .#logos-delivery --override-input nixpkgs github:kaichaosun/nixpkgs/fix-gitfetch --print-build-logs
run: nix build .#logos-delivery --print-build-logs
# Build and run chat-cli through the dev shell so it links against the
# same Nix glibc as the prebuilt liblogosdelivery.so. A plain `cargo
# build` uses the runner's system glibc, which is older than Nix's and