Tarball cache not evicted #668
Labels
No labels
Affects/CppNix
Affects/Nightly
Affects/Only nightly
Affects/Stable
Area/build-packaging
Area/cli
Area/evaluator
Area/fetching
Area/flakes
Area/language
Area/lix ci
Area/nix-eval-jobs
Area/profiles
Area/protocol
Area/releng
Area/remote-builds
Area/repl
Area/repl/debugger
Area/store
bug
Context
contributors
Context
drive-by
Context
maintainers
Context
RFD
crash 💥
Cross Compilation
devx
docs
Downstream Dependents
E/easy
E/hard
E/help wanted
E/reproducible
E/requires rearchitecture
imported
Language/Bash
Language/C++
Language/NixLang
Language/Python
Language/Rust
Needs Langver
OS/Linux
OS/macOS
performance
regression
release-blocker
stability
Status
blocked
Status
invalid
Status
postponed
Status
wontfix
testing
testing/flakey
Topic/Large Scale Installations
ux
No milestone
No project
No assignees
3 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: lix-project/lix#668
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Describe the bug
Hi everyone,
I have a strange problem with the nix cache. I use the mozilla overlays (from https://github.com/mozilla/nixpkgs-mozilla) to get firefox-nightly, added to my nixos.config as follows:
Recently, this started failing due to url literals in the overlay file. If we look at the commits, we can see that this fixed back in 2022 (
c89bd565a2
), so clearly there seems to be some caching issue.However both after deleting ~/.cache/nix, the error persists. Not only that, also rebuilding with
--options tarball-ttl 1
persists the error.Bonus strangeness: This bug occurs if nixos is on the 24.05 channel but not on the 24.11 channel.
Steps To Reproduce
Enter snippet above in nixos.config, make sure nixos channel is on 24.05 and rebuild.
Expected behavior
The most recent tarball of the github archive should be pulled.
nix --version
outputAdditional context
We were unable to reproduce the issue on @pennae's laptop.
Hm. The way I would try to diagnose this is by finding the store path of the offending sources and then shoving breakpoints into appropriate places (or running Lix in rr and reproing the problem) till we know which store call it comes from.
okay, wow. this was a config issue. there's an old version of the mozilla overlay in
/root/.config/nixpkgs/overlays
, which gets loaded during thebuilding Nix
phase of nixos-rebuild. not a lix issue!