!zghijEASpYQWYFzriI:nixos.org

Hydra

342 Members
99 Servers

Load older messages


SenderMessageTime
22 Jan 2025
@vcunat:matrix.orgvcunat

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@tervis:matrix.org left the room.15:12:38
@sigmasquadron:matrix.orgSigmaSquadron
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:matrix.orgSigmaSquadron

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:matrix.orgSigmaSquadron Maybe this has something to do with restricted evaluation mode? 16:39:13
@sigmasquadron:matrix.orgSigmaSquadron * 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:matrix.orgSigmaSquadron * 16:39:56
@sigmasquadron:matrix.orgSigmaSquadron * 16:41:36
@sigmasquadron:matrix.orgSigmaSquadron 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:matrix.orgSigmaSquadron *

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
@ncfavier:matrix.org@ncfavier:matrix.org left the room.16:15:40
24 Jan 2025
@pnmadelaine:matrix.orgPaul-Nicolas Madelaine changed their profile picture.09:39:10
@sophie:nue.soopy.moesoopyc (she/it) changed their profile picture.11:47:21
25 Jan 2025
@devurandom:matrix.orgDennis joined the room.20:00:36
@mrtrk:matrix.orgMarco TurchettoHi, 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:lossy.networkhexawhy are you trying to build it manually?00:22:24
@hexa:lossy.networkhexajust consume the flake if at all possible, and use the module it exposes00:22:37
@rick:matrix.ciphernetics.nl@rick:matrix.ciphernetics.nlI'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
@mrtrk:matrix.orgMarco 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
@mrtrk:matrix.orgMarco 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:nicht-so.sexyma27fwiw 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
@mrtrk:matrix.orgMarco TurchettoOh, yeah, that's the Lix fork has exactly the changes that I have done but cleaner 😄20:55:06
@mrtrk:matrix.orgMarco Turchetto* Oh, yeah, thanks the Lix fork has exactly the changes that I have done but cleaner 😄21:06:00
@wiiplayer2:matrix.org@wiiplayer2:matrix.org joined the room.21:33:44
@wiiplayer2:matrix.org@wiiplayer2:matrix.orgHi, 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:0upti.meK900No06:39:38
@k900:0upti.meK900Hydra is a bad fit for anything not nixpkgs sized IMO06:39:45
@sandro:supersandro.deSandro 🐧use the CI of your git forge15:18:27
@sandro:supersandro.deSandro 🐧hydra is also good when building all your nixos systems and you have like 50 or so15:18:48
@wiiplayer2:matrix.org@wiiplayer2:matrix.org:/ thx for your input. Will try to look further for a solution that fits me but I might try using hydra for deploying my servers (when I migrated all my servers to NixOS).16:58:36

Show newer messages


Back to Room ListRoom Version: 6