OMG: substitution is broken with //third_party/cppnix and anything but cache.nixos.org
#454
Opened by sterni at
Other caches don't seem to be tried judging from -vvvvvvvv
.
$ nix-store -r /nix/store/3qsjls1fxjaflq9z1v6afj9lq6i3s2hh-wc -j0 -vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv locking this thread to CPU 22 querying info about missing paths... starting pool of 23 threads checking substituter 'https://cache.nixos.org' for path '/nix/store/3qsjls1fxjaflq9z1v6afj9lq6i3s2hh-wc' querying info about '/nix/store/3qsjls1fxjaflq9z1v6afj9lq6i3s2hh-wc' on 'https://cache.nixos.org'... downloading 'https://cache.nixos.org/3qsjls1fxjaflq9z1v6afj9lq6i3s2hh.narinfo'... download thread waiting for 10000 ms starting download of https://cache.nixos.org/3qsjls1fxjaflq9z1v6afj9lq6i3s2hh.narinfo curl: Couldn't find host cache.nixos.org in the /nix/store/5ch39mlbim3i8hj0r5p8ahrdh2jj5618-nix-2.3.18-4f415e6/etc/nix/netrc file; using defaults download thread waiting for 100 ms download thread waiting for 100 ms download thread waiting for 100 ms download thread waiting for 100 ms download thread waiting for 100 ms download thread waiting for 100 ms download thread waiting for 100 ms download thread waiting for 100 ms curl: Host cache.nixos.org:443 was resolved. curl: IPv6: 2a04:4e42:8e::729 curl: IPv4: 146.75.118.217 curl: Trying [2a04:4e42:8e::729]:443... download thread waiting for 100 ms download thread waiting for 100 ms curl: ALPN: curl offers h2,http/1.1 curl: TLSv1.3 (OUT), TLS handshake, Client hello (1): curl: CAfile: /etc/ssl/certs/ca-certificates.crt curl: CApath: none download thread waiting for 100 ms curl: TLSv1.3 (IN), TLS handshake, Server hello (2): curl: TLSv1.2 (IN), TLS handshake, Certificate (11): curl: TLSv1.2 (IN), TLS handshake, Server key exchange (12): curl: TLSv1.2 (IN), TLS handshake, Server finished (14): curl: TLSv1.2 (OUT), TLS handshake, Client key exchange (16): curl: TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1): curl: TLSv1.2 (OUT), TLS handshake, Finished (20): download thread waiting for 100 ms download thread waiting for 100 ms curl: TLSv1.2 (IN), TLS handshake, Finished (20): curl: SSL connection using TLSv1.2 / ECDHE-RSA-CHACHA20-POLY1305 / x25519 / RSASSA-PSS curl: ALPN: server accepted h2 curl: Server certificate: curl: subject: CN=cache.nixos.org curl: start date: Nov 26 09:00:27 2024 GMT curl: expire date: Dec 28 09:00:26 2025 GMT curl: subjectAltName: host "cache.nixos.org" matched cert's "cache.nixos.org" curl: issuer: C=BE; O=GlobalSign nv-sa; CN=GlobalSign Atlas R3 DV TLS CA 2024 Q4 curl: SSL certificate verify ok. curl: Certificate level 0: Public key type RSA (2048/112 Bits/secBits), signed using sha256WithRSAEncryption curl: Certificate level 1: Public key type RSA (2048/112 Bits/secBits), signed using sha256WithRSAEncryption curl: Certificate level 2: Public key type RSA (2048/112 Bits/secBits), signed using sha256WithRSAEncryption curl: Connected to cache.nixos.org (2a04:4e42:8e::729) port 443 curl: using HTTP/2 curl: [HTTP/2] [1] OPENED stream for https://cache.nixos.org/3qsjls1fxjaflq9z1v6afj9lq6i3s2hh.narinfo curl: [HTTP/2] [1] [:method: GET] curl: [HTTP/2] [1] [:scheme: https] curl: [HTTP/2] [1] [:authority: cache.nixos.org] curl: [HTTP/2] [1] [:path: /3qsjls1fxjaflq9z1v6afj9lq6i3s2hh.narinfo] curl: [HTTP/2] [1] [user-agent: curl/8.14.1 Nix/2.3.18] curl: [HTTP/2] [1] [accept: */*] curl: Request completely sent off download thread waiting for 100 ms download thread waiting for 100 ms download thread waiting for 100 ms got header for 'https://cache.nixos.org/3qsjls1fxjaflq9z1v6afj9lq6i3s2hh.narinfo': HTTP/2 404 got header for 'https://cache.nixos.org/3qsjls1fxjaflq9z1v6afj9lq6i3s2hh.narinfo': server: Varnish got header for 'https://cache.nixos.org/3qsjls1fxjaflq9z1v6afj9lq6i3s2hh.narinfo': retry-after: 0 got header for 'https://cache.nixos.org/3qsjls1fxjaflq9z1v6afj9lq6i3s2hh.narinfo': content-type: text/plain got header for 'https://cache.nixos.org/3qsjls1fxjaflq9z1v6afj9lq6i3s2hh.narinfo': accept-ranges: bytes got header for 'https://cache.nixos.org/3qsjls1fxjaflq9z1v6afj9lq6i3s2hh.narinfo': date: Sun, 28 Sep 2025 11:06:15 GMT got header for 'https://cache.nixos.org/3qsjls1fxjaflq9z1v6afj9lq6i3s2hh.narinfo': via: 1.1 varnish got header for 'https://cache.nixos.org/3qsjls1fxjaflq9z1v6afj9lq6i3s2hh.narinfo': x-served-by: cache-fra-etou8220173-FRA got header for 'https://cache.nixos.org/3qsjls1fxjaflq9z1v6afj9lq6i3s2hh.narinfo': x-cache: MISS got header for 'https://cache.nixos.org/3qsjls1fxjaflq9z1v6afj9lq6i3s2hh.narinfo': x-cache-hits: 0 got header for 'https://cache.nixos.org/3qsjls1fxjaflq9z1v6afj9lq6i3s2hh.narinfo': access-control-allow-origin: * got header for 'https://cache.nixos.org/3qsjls1fxjaflq9z1v6afj9lq6i3s2hh.narinfo': content-length: 3 got header for 'https://cache.nixos.org/3qsjls1fxjaflq9z1v6afj9lq6i3s2hh.narinfo': curl: Connection #0 to host cache.nixos.org left intact finished download of 'https://cache.nixos.org/3qsjls1fxjaflq9z1v6afj9lq6i3s2hh.narinfo'; curl status = 0, HTTP status = 404, body = 3 bytes download thread waiting for 10000 ms don't know how to build these paths: /nix/store/3qsjls1fxjaflq9z1v6afj9lq6i3s2hh-wc querying info about missing paths... starting pool of 23 threads checking substituter 'https://cache.nixos.org' for path '/nix/store/3qsjls1fxjaflq9z1v6afj9lq6i3s2hh-wc' substitution of '/nix/store/3qsjls1fxjaflq9z1v6afj9lq6i3s2hh-wc': created substitution of '/nix/store/3qsjls1fxjaflq9z1v6afj9lq6i3s2hh-wc': woken up entered goal loop substitution of '/nix/store/3qsjls1fxjaflq9z1v6afj9lq6i3s2hh-wc': init acquiring global GC lock '/nix/var/nix/gc.lock' acquiring read lock on '/nix/var/nix/temproots/2990224' acquiring write lock on '/nix/var/nix/temproots/2990224' downgrading to read lock on '/nix/var/nix/temproots/2990224' substitution of '/nix/store/3qsjls1fxjaflq9z1v6afj9lq6i3s2hh-wc': trying next substituter substitution of '/nix/store/3qsjls1fxjaflq9z1v6afj9lq6i3s2hh-wc': trying next substituter path '/nix/store/3qsjls1fxjaflq9z1v6afj9lq6i3s2hh-wc' is required, but there is no substituter that can build it substitution of '/nix/store/3qsjls1fxjaflq9z1v6afj9lq6i3s2hh-wc': done substitution of '/nix/store/3qsjls1fxjaflq9z1v6afj9lq6i3s2hh-wc': goal destroyed error: build of '/nix/store/3qsjls1fxjaflq9z1v6afj9lq6i3s2hh-wc' failed
sterni at 2025-09-28T15·23+00
Fix has been submitted. I've deployed sanduny, nevsky and bugry to use the fixed Nix version.
sterni at 2025-10-02T23·05+00
- sterni closed this issue at 2025-10-02T23·05+00