| 20 Jun 2023 |
@antifuchs:asf.computer | in fact, having just set up github_authorization with a personal access token, it doesn't look like using github:me/my-private-repo gives hydra access to the repo. guess that's a nix/flakes limitation? | 00:36:02 |
@antifuchs:asf.computer | * ~in fact, having just set up github_authorization with a personal access token, it doesn't look like using github:me/my-private-repo gives hydra access to the repo. guess that's a nix/flakes limitation?~ so setting a deploy SSH key in addition to the auth token seems to do the trick! | 00:58:55 |
@antifuchs:asf.computer | * in fact, having just set up github_authorization with a personal access token, it doesn't look like using github:me/my-private-repo gives hydra access to the repo. guess that's a nix/flakes limitation? so setting a deploy SSH key in addition to the auth token seems to do the trick! | 00:59:05 |
| @vyls:matrix.org joined the room. | 10:17:43 |
| @vyls:matrix.org changed their profile picture. | 10:38:40 |
@antifuchs:asf.computer | hm, one thing that I'm extremely not grokking is how to set up a jobset that has a github_pulls or github_refs input but a "flake" reference: Is there any way to interpolate the rev/branch into the flake URI? Or is there a way to refer to the flake locally? | 13:39:59 |
@antifuchs:asf.computer | * hm, one thing that I'm extremely not grokking is how to set up a jobset that has a github_pulls or github_refs input but a "flake" reference: Is there any way to interpolate the rev/branch into the flake URI? Or is there a way to refer to the flake locally? got it working, summarized in the nixos discourse instance (to keep noise here lower (: | 18:39:16 |
| 22 Jun 2023 |
| @h4636oh:matrix.org joined the room. | 02:46:04 |
@h4636oh:matrix.org | i tried installing nixox(gnome edition) on my qemu_kvm setup but its stuck at 46% (tried multiple times) | 02:50:00 |
@h4636oh:matrix.org | sry msged wrong room | 02:50:29 |
| @h4636oh:matrix.org left the room. | 03:43:39 |
| @fata1err0r:matrix.org left the room. | 06:04:26 |
| 23 Jun 2023 |
| whoisellie joined the room. | 16:31:23 |
| 25 Jun 2023 |
Sandro | Can hydra also build drv directly? | 23:20:25 |
| 26 Jun 2023 |
| @bbigras:matrix.org joined the room. | 15:53:01 |
| ttamttam joined the room. | 15:58:53 |
@bbigras:matrix.org | any ideas what this is about? I just ran a successful build 30 minutes ago.
'nix flake metadata' returned exit code 1:
error: cannot open connection to remote store 'daemon': error: reading from file: Connection reset by peer
(use '--show-trace' to show detailed location information)
| 17:08:10 |
@bbigras:matrix.org | Adding hydra to trusted-users might have fixed it. not sure. hydra-queue-runner was already trusted. | 17:14:38 |
@bbigras:matrix.org | ah I still have it. it seems to be intermittent. | 18:58:16 |
| @janik0:matrix.org changed their profile picture. | 21:38:24 |
| 27 Jun 2023 |
| cafkafk joined the room. | 10:11:16 |
| 28 Jun 2023 |
| @attelis:matrix.org left the room. | 13:30:13 |
| feamor joined the room. | 17:41:43 |
| 29 Jun 2023 |
Sandro | When I have a package I want to test on hydra and create one gcroot for every step in between so that build progress gets cached even when the package fails, how would I do that? | 12:14:35 |
das_j | I don't think that'S supported | 12:17:21 |
Sandro | Anyone knows if any other CI solution has something like that? | 12:29:11 |
Sandro | I mean I could adopt releases-small or so and plot all my packages into that 🤔 | 12:29:31 |
toonn | I'm not sure if there is anything. But splitting a single derivation into multiple would work everywhere. I'm not entirely sure why Nixpkgs errs on the side of more monolithic derivations. | 12:32:29 |
cransom | if you were super big on always adding gcroots, you could add a postbuildhook that would add a root for every build you had.
postBuildHook = pkgs.writeScript "nix-copy-paths" ''
export IFS=' '
mkdir -p /nix/var/nix/gcroots/nixcache
for path in $OUT_PATHS; do
nix-store --add-root /nix/var/nix/gcroots/nixcache/$(basename $path) -r $path
done
'';
| 15:48:02 |
cransom | that's a nix postbuildhook, apart from hydra. | 15:48:15 |