Skip to content

[new HQR] queue builder uploaded to a wrong NAR path on S3 #1804

Description

@vcunat

Describe the bug

We have a correct .narinfo for this fixed-output derivation:

$ curl -s https://cache.nixos.org/gypp7g48p2fcpjx952i84dhw4ak95npl.narinfo | grep NarHash
NarHash: sha256:033w5cd8z7r02h4r2p8lha6z81qqvky69a7aiahjpd15smss4wjp

git grep -B1 033w5cd8z7r02h4r2p8lha6z81qqvky69a7aiahjpd15smss4wjp | cat
pkgs/tools/typesetting/tex/texlive/fixed-hashes.nix-  lpform-36918 = {
pkgs/tools/typesetting/tex/texlive/fixed-hashes.nix:    run = "033w5cd8z7r02h4r2p8lha6z81qqvky69a7aiahjpd15smss4wjp";

But the contents is very wrong.

$ nix build --store "$(mktemp -d)" /nix/store/gypp7g48p2fcpjx952i84dhw4ak95npl-lpform-36918-tex
error: hash mismatch importing path '/nix/store/gypp7g48p2fcpjx952i84dhw4ak95npl-lpform-36918-tex';
         specified: sha256:033w5cd8z7r02h4r2p8lha6z81qqvky69a7aiahjpd15smss4wjp
         got:       sha256:1f0v56g28nl5v8pmxg9cf7d8rm3jnb2950dknd613z1nlvqw78fc
error: path '/nix/store/gypp7g48p2fcpjx952i84dhw4ak95npl-lpform-36918-tex' is required, but there is no substituter that can build it

An LLM analysis repost:

The object served at cache.nixos.org/nar/033w5cd8….nar.zst is not the lpform TeX file at all. It’s the Haskell half-0.3.3 library built for GHC 9.10.3 (~1 MB, 13 files: libHShalf-*.so/.a, .hi, .hie, a package .conf). Decompressed and restored it hashes to 1f0v56g28… — your exact failure hash.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions