!zghijEASpYQWYFzriI:nixos.org

Hydra

373 Members
109 Servers

Load older messages


SenderMessageTime
29 Jul 2023
@hacker1024:matrix.orghacker1024 Is the jobset checkinterval persistent across restarts? I want to make a jobset check weekly. 12:35:35
@andreas.schraegle:helsinki-systems.deajs124I think so, yes12:45:47
@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
@dylan:fdylan.co.uk@dylan:fdylan.co.ukimage.png
Download image.png
18:09:36
@dylan:fdylan.co.uk@dylan:fdylan.co.ukit copied successfully then complained because my declarative file wasn't json.. i guess that isn't how you're meant to do it. i can't put my path in the Flake URI, though. 18:09:36
@dylan:fdylan.co.uk@dylan:fdylan.co.ukimage.png
Download image.png
18:09:40
@ma27:nicht-so.sexyma27 isn't tit path:/home/...? 18:29:55
@dylan:fdylan.co.uk@dylan:fdylan.co.uk thank you so much ma27 18:34:57
@dylan:fdylan.co.uk@dylan:fdylan.co.ukstill fails with evaluation failed with exit code 255 but im getting closer lol 18:37:06
@magic_rb:matrix.redalder.orgmagic_rb
In reply to @dylan:fdylan.co.uk
still fails with evaluation failed with exit code 255 but im getting closer lol
hydra is running in restricted eval mode so absolute path inputs wont work
19:50:30
@dylan:fdylan.co.uk@dylan:fdylan.co.uki ran setfacl -R -m u:hydra:rwX,g:hydra:rwX ~ and it's all set lol19:51:53
@dylan:fdylan.co.uk@dylan:fdylan.co.ukmy real issue is that i never wrote any hydra tests.. i thought i could just pass in a flake and it would build it but i dont think thats how it works now 19:52:13
@hacker1024:matrix.orghacker1024 Does keepnr include the most recent build? If I set it to 1, does that mean the most recent and one previous build will be kept, or just the most recent? It looks like the former from https://github.com/NixOS/hydra/blob/d135b123cde78576e99e919a5db0428cb70fcd1e/src/script/hydra-update-gc-roots#L155, but I'm not too fluent in Perl or SQL... 23:45:18
31 Jul 2023
@bumperboat:matrix.orgbumperboat joined the room.05:12:54
@rimuru:gentoo.chat@rimuru:gentoo.chat changed their profile picture.15:40:52
1 Aug 2023
@cole-h:matrix.orgcole-h changed their display name from cole-h (back 1 Aug) to cole-h.14:15:14
@raitobezarius:matrix.orgraitobezariushttps://github.com/NixOS/nixpkgs/blob/nixos-unstable/nixos/modules/services/continuous-integration/hydra/default.nix#L2115:17:17
@raitobezarius:matrix.orgraitobezariustime to remove I guess15:17:19

Show newer messages


Back to Room ListRoom Version: 6