Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Binary cache - improve error message when trying to copy partial closure #2958

Closed

Conversation

backuitist
Copy link
Contributor

@backuitist backuitist commented Jun 19, 2019

Since 0207272#diff-4fb7d3254df1c8894c7014adc990dfa1 copying a partial closure isn't allowed, but the error message is a bit misleading: "the reference is not valid" might mean that there's something wrong on the local store (missing path, invalid signature, ...).

Just out of curiosity, why isn't it possible to partially copy a closure to a binary cache? Shouldn't nix be able to pull a closure from different substituters? Isn't this a bit at odd with the nix copy --no-recursive option?

@domenkozar domenkozar added the error-messages Confusing messages and better diagnostics label Apr 9, 2020
@stale
Copy link

stale bot commented Feb 13, 2021

I marked this as stale due to inactivity. → More info

@stale stale bot added the stale label Feb 13, 2021
@stale
Copy link

stale bot commented Apr 16, 2022

I closed this issue due to inactivity. → More info

@stale stale bot closed this Apr 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
error-messages Confusing messages and better diagnostics stale
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants