!zghijEASpYQWYFzriI:nixos.org

Hydra

353 Members
99 Servers

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


SenderMessageTime
29 Jul 2023
@dylan:fdylan.co.uk@dylan:fdylan.co.uk what is the flake URI if it's a local path? every source i find shows github: but using a path says it's invalid, i run nix build /path/to#program 17:39:40
@k900:conduit.0upti.meK900 (deprecated)It should work17:48:40
@dylan:fdylan.co.uk@dylan:fdylan.co.ukerror: cannot find flake 'flake:myprogram' in the flake registries17:48:59
@dylan:fdylan.co.uk@dylan:fdylan.co.ukbut i have the config set to a local path which is the path i can run .#myprogram on so im not sure17:49:15
@dylan:fdylan.co.uk@dylan:fdylan.co.ukmy flake uri is just myprogram17:49:24
@k900:conduit.0upti.meK900 (deprecated)What config?17:50:34
@dylan:fdylan.co.uk@dylan:fdylan.co.ukthe project's config17:50:59
@k900:conduit.0upti.meK900 (deprecated)Set the flake URI to the full reference17:51:51
@k900:conduit.0upti.meK900 (deprecated)As in /path/to/your/project#myprogram17:51:58
@dylan:fdylan.co.uk@dylan:fdylan.co.ukoh i was leaving the spec file blank so it was undoing it. my .jobsets is now "cannot copy path /home/dylan/myprogram to the Nix store."17:51:59
@dylan:fdylan.co.uk@dylan:fdylan.co.ukyou cant do that 17:52:01
@dylan:fdylan.co.uk@dylan:fdylan.co.ukafter i changed my spec file to my flake.nix i can't edit either of the jobsets 17:53:14
@dylan:fdylan.co.uk@dylan:fdylan.co.ukoh it's hydra permissions denied.. forgot it was running as another user. thanks 17:56:48

Show newer messages


Back to Room ListRoom Version: 6