22 Jan 2025 |
SigmaSquadron | Hi all. What are the valid type values for inputs in the static declarative projects? The UI has all sorts of types, but the documentation only mentions the git type. | 01:06:39 |
SigmaSquadron | Also, another question: can you use builtins.getFlake inside a legacy jobset? The hydra-evaluator is giving me an error when I try to access getFlake . | 01:34:38 |
SigmaSquadron | * Also, another question: can you use builtins.getFlake inside a legacy jobset? The hydra-evaluator is saying that attribute does not exist, perhaps because flakes are disabled somehow? | 01:35:10 |
vcunat | Seems to be a Nix question really. https://nix.dev/manual/nix/2.24/language/builtins.html#builtins-getFlake
This function is only available if the flakes experimental feature is enabled. [...]
| 04:53:36 |
| @tervis:matrix.org left the room. | 15:12:38 |
SigmaSquadron | In reply to @vcunat:matrix.org
Seems to be a Nix question really. https://nix.dev/manual/nix/2.24/language/builtins.html#builtins-getFlake
This function is only available if the flakes experimental feature is enabled. [...]
That's the thing, this is enabled and I can get a REPL with getFlake enabled system-wide, even with the Hydra user. Unfortunately, the hydra-evaluator doesn't seem to accept most Nix options, and I can't seem to figure out how to explicitly enable flakes for it. | 16:11:47 |
SigmaSquadron | And of course, there's also this:
$ hydra-evaluator --help
error: unrecognised flag '--help'
Try 'hydra-evaluator --help' for more information.
$ man hydra-evaluator
No manual entry for hydra-evaluator
ðŸ«
| 16:14:05 |
SigmaSquadron | Maybe this has something to do with restricted evaluation mode? | 16:39:13 |
SigmaSquadron | * Maybe this has something to do with restricted evaluation mode? I didn't think that would disable flakes, only fetchgit and such. | 16:39:33 |
SigmaSquadron | * | 16:39:56 |
SigmaSquadron | * | 16:41:36 |
SigmaSquadron | Is there a way to access the evaluator's Nix config? I've also noticed that Hydra is using Nix 2.24 instead of the system-wide 2.25. I guess the package is built with nixVersions.latest and you need to override the Nix version? | 17:17:33 |
SigmaSquadron | * And of course, there's also this:
$ hydra-evaluator --help
error: unrecognised flag '--help'
Try 'hydra-evaluator --help' for more information.
ðŸ«
| 19:16:11 |
23 Jan 2025 |
| nf left the room. | 16:15:40 |
24 Jan 2025 |
| Paul-Nicolas Madelaine changed their profile picture. | 09:39:10 |
| soopyc (she/they/it) changed their profile picture. | 11:47:21 |
25 Jan 2025 |
| Dennis joined the room. | 20:00:36 |
Marco Turchetto | Hi, I'm trying to run hydra locally to develop some changes, but it seems that the README.md is a bit outdated, it calls for make, but it seems the project has been migrated to Mason, anyone that could help? | 21:19:30 |
26 Jan 2025 |
hexa | why are you trying to build it manually? | 00:22:24 |
hexa | just consume the flake if at all possible, and use the module it exposes | 00:22:37 |
Rick (Mindavi) | I'd say, use the standard way to build meson packages. It should be fairly straightforward. Or look at the flake to see if any special flags are required. | 09:11:10 |
Marco Turchetto | I need to patch the hydra-server, so I wanted a development environment to quickly iterate, in the docs it's described how to use foreman, but the make part is outdated. It seems that foreman expects all the CPP binaries to be built and in the PATH, with a custom shell I have managed to make it kind of work. | 11:29:49 |
Marco Turchetto | I have managed to fix most of the issues, but the static stuff that it's just unpacked by meson, it's a bit ugly. | 19:18:38 |
ma27 | fwiw you may want to take a look at the Lix fork, the dev env is actually working there, but apparently these fixes didn't get cherry-picked with the meson port into the cppnix Hydra? | 19:48:54 |
Marco Turchetto | Oh, yeah, that's the Lix fork has exactly the changes that I have done but cleaner 😄 | 20:55:06 |
Marco Turchetto | * Oh, yeah, thanks the Lix fork has exactly the changes that I have done but cleaner 😄 | 21:06:00 |
| @wiiplayer2:matrix.org joined the room. | 21:33:44 |
@wiiplayer2:matrix.org | Hi, I have (hopefully) a small question: I'm looking into using a nix based CI/CD system and was thinking about testing hydra. My main purposes are publishing .NET NuGet packages and container images. Would you say hydra is a fit for these use cases? | 21:35:18 |
27 Jan 2025 |
K900 | No | 06:39:38 |
K900 | Hydra is a bad fit for anything not nixpkgs sized IMO | 06:39:45 |