| 29 Jul 2023 |
@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 (deprecated) | It should work | 17:48:40 |
@dylan:fdylan.co.uk | error: cannot find flake 'flake:myprogram' in the flake registries | 17:48:59 |
@dylan:fdylan.co.uk | but i have the config set to a local path which is the path i can run .#myprogram on so im not sure | 17:49:15 |
@dylan:fdylan.co.uk | my flake uri is just myprogram | 17:49:24 |
K900 (deprecated) | What config? | 17:50:34 |
@dylan:fdylan.co.uk | the project's config | 17:50:59 |
K900 (deprecated) | Set the flake URI to the full reference | 17:51:51 |
K900 (deprecated) | As in /path/to/your/project#myprogram | 17:51:58 |
@dylan:fdylan.co.uk | oh 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 | you cant do that | 17:52:01 |
@dylan:fdylan.co.uk | after i changed my spec file to my flake.nix i can't edit either of the jobsets | 17:53:14 |
@dylan:fdylan.co.uk | oh it's hydra permissions denied.. forgot it was running as another user. thanks | 17:56:48 |