!zghijEASpYQWYFzriI:nixos.org

Hydra

357 Members
99 Servers

You have reached the beginning of time (for this room).


SenderMessageTime
22 Jan 2025
@sigmasquadron:matrix.orgFernando Rodrigues
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.orgFernando Rodrigues

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

Show newer messages


Back to Room ListRoom Version: 6