-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Realisations don't get copied to binary caches #6623
Comments
Yes, that's somewhat normal:
|
Thanks, that makes sense. |
I ran headlong into this in #8622 and ask: why can't we copy realisations known about if it was built locally? I get that "it's impossible to do this in the general case", but I don't see why it couldn't work in the typical case of |
I suppose I'm asking if it's unreasonable to copy all of the realisations that are known about locally? (edit: for the output path) |
Another UX issue here: it basically means |
Describe the bug
Copying a CA derivation to a binary cache does not appear to create anything in
realisations/
Steps To Reproduce
nix-shell -p 'hello.overrideAttrs (_: { __contentAddressed = true; })'
nix copy --to file:///tmp/binary-cache $buildInputs
ls /tmp/binary-cache/realisations
Expected behavior
I would expect a realisation to be placed in the directory.
nix-env (Nix) 2.8.1
Additional context
experimental-features = nix-command flakes ca-derivations
The text was updated successfully, but these errors were encountered: