!zghijEASpYQWYFzriI:nixos.org

Hydra

376 Members
109 Servers

Load older messages


SenderMessageTime
27 Jan 2024
@magic_rb:matrix.redalder.orgmagic_rb somehow even with github: in allowed-uris i keep getting github:hercules-ci/flake-parts/34fed993f1674c8d06d58b37ce1e0fe5eebcb9f5 this is on 411e4d0c2458ec5319b8ea88129dff807793f7d7 22:14:02
@roberthensing:matrix.orgRobert Hensing (roberth)are you sure hydra is linked against a Nix version where that's supported?22:15:26
@magic_rb:matrix.redalder.orgmagic_rbill check the nix version, good idea22:15:49
@magic_rb:matrix.redalder.orgmagic_rb2.19.222:16:03
@magic_rb:matrix.redalder.orgmagic_rbyeah answer is no to your quastion roberth, i dont get tho why did it work until now, i just reset my hydra because i screwed up the database and now it doesnt work22:26:09
@magic_rb:matrix.redalder.orgmagic_rbinbetween it breaking and me resetting i updated my flake so that would explain why, i guess ill bump nix to master22:30:12
@magic_rb:matrix.redalder.orgmagic_rbstill does not work :/22:37:32
@magic_rb:matrix.redalder.orgmagic_rbafter bumping hydra too, it works now, weird22:58:28
@magic_rb:matrix.redalder.orgmagic_rb * ~~after bumping hydra too, it works now, weird~~ no id does not, i give up for today, it just took longer to fail22:59:56
@magic_rb:matrix.redalder.orgmagic_rb * +after bumping hydra too, it works now, weird+ no id does not, i give up for today, it just took longer to fail23:00:07
@magic_rb:matrix.redalder.orgmagic_rb * ~after bumping hydra too, it works now, weird~ no id does not, i give up for today, it just took longer to fail23:00:12
28 Jan 2024
@ncfavier:matrix.orgnf changed their profile picture.14:04:06
29 Jan 2024
@lehmanator:tchncs.deSam Lehman joined the room.10:59:07
@lehmanator:tchncs.deSam Lehman set a profile picture.11:06:03
@2xsaiko:tchncs.de@2xsaiko:tchncs.de joined the room.20:15:11
@2xsaiko:tchncs.de@2xsaiko:tchncs.deis it possible to set up hydra to build to a store that's not /nix/store? My /nix/store on the machine I want to set this up on is on a pretty small partition that I don't want to fill up with hydra building other systems' configurations20:16:21
@ma27:nicht-so.sexyma27 the queue runner can write build products to a different store that can be configured with store_uri in hydra.conf. 20:54:46
30 Jan 2024
@2xsaiko:tchncs.de@2xsaiko:tchncs.de
In reply to @ma27:nicht-so.sexy
the queue runner can write build products to a different store that can be configured with store_uri in hydra.conf.
nice, I'll try that, thanks!
02:29:23
@hacker1024:matrix.orghacker1024 How can I run a single test using the environment set up by the test Makefile? make check works fine, but when I try using yath as instructed by the README it complains due to a lack of HYDRA_HOME, database, etc. 03:46:40
@chayleaf:matrix.pavluk.orgchayleaf

i've applied the following patch:

diff --git a/src/hydra-eval-jobs/hydra-eval-jobs.cc b/src/hydra-eval-jobs/hydra-eval-jobs.cc
index 30ab9740..ffb8c748 100644
--- a/src/hydra-eval-jobs/hydra-eval-jobs.cc
+++ b/src/hydra-eval-jobs/hydra-eval-jobs.cc
@@ -310,10 +310,6 @@ int main(int argc, char * * argv)
         /* FIXME: The build hook in conjunction with import-from-derivation is causing "unexpected EOF" during eval */
         settings.builders = "";
 
-        /* Prevent access to paths outside of the Nix search path and
-           to the environment. */
-        evalSettings.restrictEval = true;
-
         /* When building a flake, use pure evaluation (no access to
            'getEnv', 'currentSystem' etc. */
         evalSettings.pureEval = pureEval;

however, for some reason my repo is still being evaluated in restricted mode. I've tried removing the eval cache, but nothing helped, I'm still getting the error access to canonical path '...' is forbidden in restricted mode. What could be the reason behind this?

11:26:18
@chayleaf:matrix.pavluk.orgchayleafmy ci randomly broke after a nixpkgs update and nothing i've tried worked11:28:00
@chayleaf:matrix.pavluk.orgchayleaf(nix 2.18 btw)11:30:46
@chayleaf:matrix.pavluk.orgchayleafthe same nix code works fine when run from the hydra user's shell, even with restrict eval on (given the right nix-path in nix.conf)11:44:20
@julienmalka:matrix.orgJuliendid you try in your patch evalSettings.restrictEval = false; ?11:58:00
@julienmalka:matrix.orgJulienI remember doing the same kind of things and it working 11:58:12
@chayleaf:matrix.pavluk.orgchayleafthat didnt work either12:21:52
@chayleaf:matrix.pavluk.orgchayleafuh, it appears i now have to disable pure eval? even though the message says the issue is about restricted mode12:33:05
@chayleaf:matrix.pavluk.orgchayleafthis is quite unfortunate12:33:10
@chayleaf:matrix.pavluk.orgchayleaf (for the record, my use case is nix-plugins) 12:33:37
@julienmalka:matrix.orgJulienAre you evaluating an absolute or relative path ?12:35:52

Show newer messages


Back to Room ListRoom Version: 6