| 15 Feb 2024 |
dustee | * i think it works but im getting a bunch of forbidden in restricted mode errors. i already once had this problem and fixed it with allowed-uris = ["github:" "git+" "path:"]; but now again this uri is problematic error: access to URI 'git+https://....?ref=main&rev=43d1... is forbidden in restricted mode. But this command works nix build --restrict-eval /nix/config#nixosConfigurations.myhost.config.system.build.toplevel | 11:19:27 |
| @ajs124:ajs124.de joined the room. | 11:23:51 |
| ajs124 left the room. | 11:24:50 |
Arian | Redacted or Malformed Event | 11:41:00 |
magic_rb | In reply to @dustee:matrix.org i think it works but im getting a bunch of forbidden in restricted mode errors. i already once had this problem and fixed it with allowed-uris = ["github:" "git+" "path:"]; but now again this uri is problematic error: access to URI 'git+https://....?ref=main&rev=43d1... is forbidden in restricted mode. But this command works nix build --restrict-eval /nix/config#nixosConfigurations.myhost.config.system.build.toplevel okay do not rely on what command works, hydra may and will disagree, you have to please the almighty hydra | 22:31:35 |
magic_rb | is it possible to go from git+https:// to something: ? that would simplify | 22:32:08 |
magic_rb | * is it possible to go from git+https:// to something: ? that would simplify things | 22:32:11 |
magic_rb | In reply to @dustee:matrix.org i think it works but im getting a bunch of forbidden in restricted mode errors. i already once had this problem and fixed it with allowed-uris = ["github:" "git+" "path:"]; but now again this uri is problematic error: access to URI 'git+https://....?ref=main&rev=43d1... is forbidden in restricted mode. But this command works nix build --restrict-eval /nix/config#nixosConfigurations.myhost.config.system.build.toplevel * okay so do not rely on what command works, hydra may and will disagree, you have to please the almighty hydra | 22:32:17 |
| 18 Feb 2024 |
| bri joined the room. | 03:29:19 |
bri | In reply to @dustee:matrix.org i think it works but im getting a bunch of forbidden in restricted mode errors. i already once had this problem and fixed it with allowed-uris = ["github:" "git+" "path:"]; but now again this uri is problematic error: access to URI 'git+https://....?ref=main&rev=43d1... is forbidden in restricted mode. But this command works nix build --restrict-eval /nix/config#nixosConfigurations.myhost.config.system.build.toplevel does the allowed-uris have to go in the flake.nix? i ended up putting "github:username/" for all of my inputs in both the nix.conf and the flake.nix, but it would be nice to shorten it to just one⦠| 03:32:18 |
bri | Is there a way to download the built outputs from a job on a self-hosted hydra server? | 06:54:10 |