| 13 Jul 2022 |
| Gytis Ivaskevicius left the room. | 12:17:51 |
| @lukas:envs.net joined the room. | 16:23:34 |
| 14 Jul 2022 |
| @dandart:matrix.org left the room. | 15:58:34 |
| 15 Jul 2022 |
trofi | 500-ed hydra by trying a string named eval ID: https://hydra.nixos.org/eval/nixpkgs:staging-next?compare=trunk&full=1#tabs-now-fail. WAI or a bug? | 07:05:26 |
das_j | probably a bug | 09:49:52 |
das_j | should return 400 when the id is not numeric | 09:49:57 |
| @aktaboot:tchncs.de left the room. | 11:19:39 |
| @lukas:envs.net left the room. | 15:15:24 |
trofi | Thank you! Filed https://github.com/NixOS/hydra/issues/1238 | 21:31:59 |
| 18 Jul 2022 |
| toraritte changed their display name from metello to toraritte. | 09:00:20 |
| 21 Jul 2022 |
| polygon_ joined the room. | 14:15:17 |
polygon_ | Hi | 14:15:39 |
polygon_ | I have a Hydra running and now want to add a nix-serve instance to use it as a binary substituter. I've been following https://nixos.wiki/wiki/Binary_Cache for the most part. However, I have some issues with configuring the private key for nix-serve. I have
services.nix-serve.secretKeyFile = "/var/cache-priv-key.pem"
in my config and doing "systemctl cat nix-serve" also shows:
LoadCredentials=NIX_SECRET_KEY_FILE:/var/cache/cache-priv-key.pem
But when I try to obtain a narinfo, automatic signing fails with the following error:
cannot open file '/run/credentials/nix-serve.service/NIX_SECRET_KEY_FILE': permission denied
Is this a known issue? I am running on 22.05 | 14:19:05 |
polygon_ | Fixed it by removing the secretKeyFile line and adding systemd.services.nix-serve.serviceConfig.Environment = "NIX_SECRET_KEY_FILE=/var/cache-priv-key.pem" | 14:47:18 |
polygon_ | still a bit weird | 14:47:21 |
Sandro |
I have a Hydra running and now want to add a nix-serve instance to use it as a binary substituter.
hydra is already a substituter.
For example I nuked the nix-serve in the hackspace and changed the reverse proxy to redirect directly to hydra.
| 15:51:46 |
@grahamc:nixos.org | one thing to note is hydra is not very good at it | 16:26:41 |
@grahamc:nixos.org | * one thing to note is hydra is not very good at it, like (iirc) it fully buffers NARs before sending them to clients | 16:26:58 |
ajs124 | polygon_: is using nix-serve though, right? | 16:34:11 |
ajs124 | personally, I'd recommend harmonia instead (obviously), but maybe you should talk about that to somebody more impartial | 16:34:41 |
Sandro | is nix-serve doing that differently? | 16:35:30 |
polygon_ | Mhm, hydra on 3000 is a substituter | 17:18:52 |
polygon_ | Yes, I was using nix-serve | 17:33:01 |
kayla (she/they) | jsyk, last I checked, nixpkgs nix-serve conflicts with the hydra flake, if you're going that route | 19:36:39 |
kayla (she/they) | * jsyk, last I checked, nixpkgs nix-serve conflicts with the hydra flake, if you're going that route
(https://github.com/NixOS/nixpkgs/blob/nixos-22.05/pkgs/tools/package-management/nix-serve/default.nix#L50) | 19:40:09 |
kayla (she/they) | * jsyk, last I checked, nixpkgs nix-serve conflicts with the hydra flake, if you're going that route
Oh it's fixed! https://github.com/NixOS/nix/commit/948515efb775c22df5a2585443a0c7f86d2dc64d | 19:42:25 |
kayla (she/they) | * jsyk, last I checked, nixpkgs nix-serve conflicts with the hydra flake, if you're going that route
Oh it's fixed! https://github.com/NixOS/nix/commit/948515efb775c22df5a2585443a0c7f86d2dc64d Thanks Eelco! | 19:43:07 |
| dhess left the room. | 21:20:52 |
| 22 Jul 2022 |
Amanda (she/her) | What's Hydra's compatability promise? Cause if it's not needing to support before 22.05 then https://github.com/NixOS/hydra/blob/master/hydra-module.nix#L231 should be changed to nix.settings.trusted-users = ... | 14:19:38 |
Amanda (she/her) | I was going to throw in a quick PR, but I wasn't sure if that'd break any compat | 14:20:12 |