You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
pynixd: a build input that cache.nixos.org holds is reported 'not valid' #16
A build through pynixd failed because an input that cache.nixos.org holds was "not valid". The cause is not known yet. This issue records what was seen.
Seen on dynhetz, 2026-10-18 (UTC), pynixd /nix/store/09hbrqjapvlkzhyvdvc21pgwjzf94m4m-pynixd-0.1.0. An ekn kubeapply realised a manifest closure through pynixd for 970 s and failed at 17:47:53:
error: error: path '/nix/store/0d75g2735r8rz9hba90ifvc748v6wd9k-python3.12-asn1crypto-1.5.1-unstable-2023-11-03' is not valid
error: Cannot build '/nix/store/rgqajmdcjfn3bri4f9zydgp20z497k96-odoo-serve.drv'.
Reason: 1 dependency failed.
Right after, the path was not in /nix/store, and the two sockets disagreed:
nix path-info <path> -> "will be fetched (1.5 MiB download)", then "is not valid"
nix path-info --store .../upstream <path> -> "will be fetched (259.0 KiB download)", then "is not valid"
nix build --store .../upstream <path> -> copied from http://127.0.0.1:8080, valid
So pynixd's HTTP front served the NAR, and a plain substitution through the real daemon worked. A retry of the same apply then passed this point.
In the same window (17:31-17:48), pynixd logged:
10 substitution_query_timeout against http-cache.nixos.org (17:32), for other paths.
The journal names the asn1crypto path only at 17:48, in the manual substitution. Neither lead is shown to be the cause: a timed-out substituter query, or a GC chunk that removed an input before the build used it.
A lead, not a proof: the window held 10 substitution_query_timeout lines. Until f39f4fa (#1265), a substituter query past 2 s counted as "no substitute", and a narinfo GET past 5 s failed. Under load, both turned a path that cache.nixos.org holds into one pynixd treated as unavailable. pynixd has no deadline on a query now, as in Nix. If this recurs after a deploy of f39f4fa, that lead is ruled out.
Activity
feat(pynixd): name the paths each GC chunk deleted
Lillecarl commentedon Nov 10, 2026
A lead, not a proof: the window held 10
substitution_query_timeoutlines. Until f39f4fa (#1265), a substituter query past 2 s counted as "no substitute", and a narinfo GET past 5 s failed. Under load, both turned a path that cache.nixos.org holds into one pynixd treated as unavailable. pynixd has no deadline on a query now, as in Nix. If this recurs after a deploy of f39f4fa, that lead is ruled out.Assisted-By: Claude Opus 5.5
Split configData with everything else