!zghijEASpYQWYFzriI:nixos.org

Hydra

370 Members
107 Servers

Load older messages


SenderMessageTime
18 Aug 2025
@sjanssen:matrix.org@sjanssen:matrix.org left the room.21:50:04
20 Aug 2025
@dgrig:erethon.comdgrig joined the room.17:43:06
21 Aug 2025
@hacker1024:matrix.orghacker1024Was there documentation on defining aggregate jobs somewhere? I swear I read something at one point, but I can't find anything in the manual now...01:31:48
@creepinson:matrix.org@creepinson:matrix.org joined the room.22:11:27
22 Aug 2025
@elikoga:matrix.orgelikoga changed their profile picture.17:28:12
23 Aug 2025
@janne:hess.oooJanneNone I know about17:38:18
@shawn8901:matrix.orgshawn8901

Not sure if that helps, but here is the code for the aggregate https://github.com/NixOS/nixpkgs/blob/76d197f4b03c0ad103b0254d6c333fca427133ba/pkgs/build-support/release/default.nix#L122

I am then doing something like that on my flake to define an overall hydraJob for all my nixosConfigurations

          ${name} = nixpkgs.legacyPackages.x86_64-linux.releaseTools.aggregate {
            inherit name;
            meta = {
              schedulingPriority = 10;
            };
            constituents = map (n: "nixos." + n) (nixpkgs.lib.attrNames self.nixosConfigurations);
          };
22:18:05
24 Aug 2025
@janne:hess.oooJanneOh man, I hope the parsing code is sane. Because I haven't looked at that when I fixed the other XSS thingies17:46:16
26 Aug 2025
@elvishjerricco:matrix.orgElvishJerriccois there a way to get the eval errors from an evaluation as a JSON array of the error messages? e.g. https://hydra.nixos.org/eval/1817978#tabs-errors05:02:42
@elvishjerricco:matrix.orgElvishJerriccoI'm basically just trying to get the errors so I can filter out the ones I know have nothing to do with me :P05:03:00
@janne:hess.oooJannelol, no08:10:08
@janne:hess.oooJannethat would be useful08:10:17
@janne:hess.oooJanneiirc, we get the eval errors from the stderr (or stdout) of nix-eval-jobs and that's simply a long string08:10:36
27 Aug 2025
@connorbaker:matrix.orgconnor (burnt/out) (UTC-8) changed their display name from connor (he/him) (UTC-7) to connor (he/him) (UTC+1).18:33:46
28 Aug 2025
@hacker1024:matrix.orghacker1024

I want to prepend the jobset name to this GitLab status API call, but the Builds table only has a column for the jobset ID. I'm not too familiar with Perl or SQL - is there an easy way to look up the appropriate name from the Jobsets table here?

Or is the jobset name available through some other API?

06:36:50
@hacker1024:matrix.orghacker1024 Got it - $build->jobset->get_column('name') 07:12:05
@lgcl:lgcl.de@lgcl:lgcl.de left the room.08:32:42
29 Aug 2025
@luna-null:matrix.org@luna-null:matrix.org left the room.02:40:36
@magic_rb:matrix.redalder.orgmagic_rb changed their profile picture.19:29:39
31 Aug 2025
@teutat3s:pub.solar@teutat3s:pub.solar joined the room.16:44:40
@teutat3s:pub.solar@teutat3s:pub.solarIs there any workaround to fix a cached failure on hydra that cannot be reproduced locally? Or is the solution to just wait until some cache expiry? Asking for https://hydra.nixos.org/build/30635099416:47:29
@k900:0upti.meK900Restarted17:05:05
1 Sep 2025
@joerg:thalheim.ioMic92 John Ericson: Since we switched to nix-eval-jobs in hydra, I noticed that evaluation is no longer "pure" because it uses --expr in combination with builtins.getFlake. So I added this pull request to have an alternative map function that can be applied to the expression that nix-eval-jobs receives: https://github.com/nix-community/nix-eval-jobs/pull/378 13:47:52
@Ericson2314:matrix.orgJohn Ericson @joerg:thalheim.io: I think it can still be pure? 15:47:58
@Ericson2314:matrix.orgJohn EricsonCan get flake with lock file info be done with pure eval?15:48:29
@joerg:thalheim.ioMic92https://github.com/nix-community/nix-eval-jobs/blob/a579b1a416dc04d50c0dc2832e9da24b0d08dbac/src/nix-eval-jobs.cc#L45415:49:14
@Ericson2314:matrix.orgJohn EricsonIf you pass --pure-eval what happens?15:51:51
@Ericson2314:matrix.orgJohn EricsonI thought we had some logic to do an initial fetch so we had the info we needed for pure eval?15:52:11
@Ericson2314:matrix.orgJohn EricsonWe can do the new flag in nix eval jobs, but it isn't really a nix eval jobs -specific problem, so I rather have a more general solution 15:52:46
@joerg:thalheim.ioMic92 John Ericson: that wouldn't work with getFlakes because those inputs are not populated into the nix path. 16:15:04

Show newer messages


Back to Room ListRoom Version: 6