!zghijEASpYQWYFzriI:nixos.org

Hydra

369 Members
109 Servers

Load older messages


SenderMessageTime
27 Jan 2024
@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
@chayleaf:matrix.pavluk.orgchayleafim not evaluating anything at all, the path is simply loaded by nix-plugins14:56:09
@chayleaf:matrix.pavluk.orgchayleaf* im not (manually) evaluating anything at all, the path is simply loaded by nix-plugins14:56:54
@chayleaf:matrix.pavluk.orgchayleaf https://github.com/shlevy/nix-plugins/blob/a1b351aed22a8176fad02ee45adb8baa217a5b6e/extra-builtins.cc#L31 14:56:55
@Ericson2314:matrix.orgJohn EricsonHydra master is now Nix 2.2019:12:07
@Ericson2314:matrix.orgJohn Ericson nix-2.19 branch is the master --first-parent commit prior to that 19:12:26
@Ericson2314:matrix.orgJohn Ericson nix-next is now the same as master but for a Flake update 19:13:04

Show newer messages


Back to Room ListRoom Version: 6