diff options
author | Emile <git@emile.space> | 2024-06-10 19:45:47 +0200 |
---|---|---|
committer | Emile <git@emile.space> | 2024-06-10 19:45:47 +0200 |
commit | 57c2b600a584d642d49216474f334b3a0de489af (patch) | |
tree | d0cb815f84be6f558d41fc491d2490a2fc3126d3 | |
parent | d182f2bea05f7b54c2d4cd24630df51b56af560d (diff) |
virt virtualbox guest x11 has some problem, doesnt exist
-rw-r--r-- | nix/hosts/corrino/www/hydra.patch | 13 | ||||
-rw-r--r-- | nix/hosts/hacknix/configuration.nix | 1 |
2 files changed, 13 insertions, 1 deletions
diff --git a/nix/hosts/corrino/www/hydra.patch b/nix/hosts/corrino/www/hydra.patch new file mode 100644 index 0000000..2c086e4 --- /dev/null +++ b/nix/hosts/corrino/www/hydra.patch @@ -0,0 +1,13 @@ +diff --git a/src/hydra-eval-jobs/hydra-eval-jobs.cc b/src/hydra-eval-jobs/hydra-eval-jobs.cc +index 2794cc62..bd6416e9 100644 +--- a/src/hydra-eval-jobs/hydra-eval-jobs.cc ++++ b/src/hydra-eval-jobs/hydra-eval-jobs.cc +@@ -327,7 +327,7 @@ int main(int argc, char * * argv) + + /* Prevent access to paths outside of the Nix search path and + to the environment. */ +- evalSettings.restrictEval = true; ++ evalSettings.restrictEval = config->getBoolOption("evaluator_restrict_eval", true); + + /* When building a flake, use pure evaluation (no access to + 'getEnv', 'currentSystem' etc. */ diff --git a/nix/hosts/hacknix/configuration.nix b/nix/hosts/hacknix/configuration.nix index 858d4ec..6706f52 100644 --- a/nix/hosts/hacknix/configuration.nix +++ b/nix/hosts/hacknix/configuration.nix @@ -287,7 +287,6 @@ in { # virtualbox guest additions virtualisation.virtualbox.guest.enable = true; - virtualisation.virtualbox.guest.x11 = true; nix = { settings.experimental-features = [ |