| 27 Jan 2024 |
magic_rb | still does not work :/ | 22:37:32 |
magic_rb | after bumping hydra too, it works now, weird | 22:58:28 |
magic_rb | * ~~after bumping hydra too, it works now, weird~~ no id does not, i give up for today, it just took longer to fail | 22:59:56 |
magic_rb | * +after bumping hydra too, it works now, weird+ no id does not, i give up for today, it just took longer to fail | 23:00:07 |
magic_rb | * ~after bumping hydra too, it works now, weird~ no id does not, i give up for today, it just took longer to fail | 23:00:12 |
| 28 Jan 2024 |
| nf changed their profile picture. | 14:04:06 |
| 29 Jan 2024 |
| Sam Lehman joined the room. | 10:59:07 |
| Sam Lehman set a profile picture. | 11:06:03 |
| @2xsaiko:tchncs.de joined the room. | 20:15:11 |
@2xsaiko:tchncs.de | is 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' configurations | 20:16:21 |
ma27 | 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 | 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 | 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 | 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 | my ci randomly broke after a nixpkgs update and nothing i've tried worked | 11:28:00 |
chayleaf | (nix 2.18 btw) | 11:30:46 |
chayleaf | the 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 |
Julien | did you try in your patch evalSettings.restrictEval = false; ? | 11:58:00 |
Julien | I remember doing the same kind of things and it working | 11:58:12 |
chayleaf | that didnt work either | 12:21:52 |
chayleaf | uh, it appears i now have to disable pure eval? even though the message says the issue is about restricted mode | 12:33:05 |
chayleaf | this is quite unfortunate | 12:33:10 |
chayleaf | (for the record, my use case is nix-plugins) | 12:33:37 |
Julien | Are you evaluating an absolute or relative path ? | 12:35:52 |
chayleaf | im not evaluating anything at all, the path is simply loaded by nix-plugins | 14:56:09 |
chayleaf | * im not (manually) evaluating anything at all, the path is simply loaded by nix-plugins | 14:56:54 |
chayleaf | https://github.com/shlevy/nix-plugins/blob/a1b351aed22a8176fad02ee45adb8baa217a5b6e/extra-builtins.cc#L31 | 14:56:55 |
John Ericson | Hydra master is now Nix 2.20 | 19:12:07 |
John Ericson | nix-2.19 branch is the master --first-parent commit prior to that | 19:12:26 |
John Ericson | nix-next is now the same as master but for a Flake update | 19:13:04 |