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
dns-root-data: 2017-08-29 -> 2017-10-24 #31331
Conversation
The contents has changed – B changed its A record roughly two weeks ago. Mic92 suggested us mirroring it and fetching a fixed version. |
But practically we do get the contents mirrored – in the binary cache – I'm still getting it substituted... |
Staged. |
@vcunat: dns-root-data changed again a few days ago. I think the problem with the binary cache is that this doesn't properly work for nix-stores some place else than "/nix/store" (which is the case for my custom HPC install), as the install prefix is somehow used in computing the hash for the store path. |
Binaries for different prefix are different, because the absolute paths are often hardcoded in the executables and elsewhere. You can circumvent this, e.g. see https://nixos.wiki/wiki/Nix_Installation_Guide#Installing_without_root_permissions |
While I understand that the scheme makes sense for binaries, I think for fixed-output derivations it is actually rather odd and prevents reuse of the binary cache. |
Right, I think even self-references aren't allowed there. |
Motivation for this change
The hash is wrong due to upstream update.
Things done
build-use-sandbox
innix.conf
on non-NixOS)nix-shell -p nox --run "nox-review wip"
./result/bin/
)This causes a large rebuild; is it massive?
@Mic92: you mentioned in #28964 that there are ways to prevent the hash from becoming outdated; do you have some specific hints?