Skip to content

bug: --check-cache-status false positive #139

@nrdxp

Description

@nrdxp

I'm not really sure the exact semantics of the bug just yet, but when I dump a flake's nixConfig into the environment via the NIX_CONFIG variable, I get false positives when passing --check-cache-status, that is, isCached is reporting true even though the path is not cached in any of the substituters.

Not sure, but does the code consider the local /nix/store a substituter? That might be a possible explanation since the derivation in question is a NixOS config that I had to rebuild to modify my /etc/nix.conf to try and triage this issue, but it probably shouldn't since I think we want this flag to report if an artifact exists on a remote.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions