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

CA-derivation paths will not be downloaded #188

Open
gador opened this issue Oct 23, 2024 · 2 comments
Open

CA-derivation paths will not be downloaded #188

gador opened this issue Oct 23, 2024 · 2 comments

Comments

@gador
Copy link

gador commented Oct 23, 2024

When uploading paths which have been build with contentAddressedByDefault = true from my config, the path will get uploaded, but not used when built:

nix build .\#nixosConfigurations.hel.pkgs.zsh # "hel" is my config
/nix/store/1d2fkbjv4z1sz4winic225yaqaqsjy01-zsh-5.9
nix path-info --sigs ./result
ultimate ca:fixed:r:sha256:1hh2z71v4a5rgk0gib7921nbvqqk25lsv56h74zrr0zjcp5bcqch logi-nixos:vQYBVpFbLC4tzN3S/Ip40lLxmQTe17O9bt3FH/+nqk3a+96bhmJ69WEQF2
lzpyig9MIU1edDth1D0mfpuGHbAg==
nix-store --delete /nix/store/1d2fkbjv4z1sz4winic225yaqaqsjy01-zsh-5.9
nix build .\#nixosConfigurations.hel.pkgs.zsh # builds it all over again

My logs from the upload script:

Okt 23 07:01:24 logi-nixos async-nix-post-build-hook-start[119007]: Uploading paths to dev /nix/store/1d2fkbjv4z1sz4winic225yaqaqsjy01-zsh-5.9 /nix/store/pqyg7qqb18klp2xipmib464875qbrzhs-zsh-5.9-doc /nix/store/scdsc19m0d8l18sizkfanhvcsii5lmc8-zsh-5.9-info /nix/store/wyrqpgkcjds918h6d3994zwlb94fj9ay-zsh-5.9-man
Okt 23 07:01:25 logi-nixos async-nix-post-build-hook-start[119007]: ⚙️ Pushing 4 paths to "remote" on "flo" (6 already cached, 0 in upstream)...
Okt 23 07:01:26 logi-nixos async-nix-post-build-hook-start[119007]: ✅ wyrqpgkcjds918h6d3994zwlb94fj9ay-zsh-5.9-man (deduplicated)
Okt 23 07:01:30 logi-nixos async-nix-post-build-hook-start[119007]: ✅ scdsc19m0d8l18sizkfanhvcsii5lmc8-zsh-5.9-info (deduplicated)
Okt 23 07:01:33 logi-nixos async-nix-post-build-hook-start[119007]: ✅ pqyg7qqb18klp2xipmib464875qbrzhs-zsh-5.9-doc (deduplicated)
Okt 23 07:01:36 logi-nixos async-nix-post-build-hook-start[119007]: ✅ 1d2fkbjv4z1sz4winic225yaqaqsjy01-zsh-5.9 (646.91 KiB/s, 72.7% deduplicated)

Is there any setting I need to do when dealing with ca-derivations in combination with attic?

@zhaofengli
Copy link
Owner

Currently the server doesn't store or expose the CA realizations (realisations/*.doi). There will be work required on the client and server to support this.

@gador
Copy link
Author

gador commented Oct 23, 2024

Ok, thanks, I feared as much 😆

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants