hydra: broaden allowedUris to m-labs repos #21
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "mwojcik/it-infra:alloweduris_update"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Not exactly sure if it will work but it's not a blind guess either:
https://github.com/NixOS/nix/blob/master/src/libexpr/eval.cc#L571 - mentions that the URIs are prefixes
https://github.com/NixOS/nix/issues/2002#issuecomment-375270656 - this mentions an extreme example of allowedUris being "http:// https://" to allow for absolutely everything
The Nix issue mentions a repro that does not need Hydra.
@ -7,3 +7,3 @@
evalSettings.restrictEval = true;
+ evalSettings.allowedUris = {"https://github.com/m-labs/misoc.git"};
+ evalSettings.allowedUris = {"https://github.com/m-labs/ https://git.m-labs.hk/m-labs/"};
Syntax seems wrong. I think this is an internal data structure and it should be parsed already.
322d267caf
Pull request closed