From 76a6bdbdb295d514f998f39c91d2a21de6b8f30d Mon Sep 17 00:00:00 2001 From: Robert Hensing Date: Thu, 16 Feb 2023 23:04:20 +0100 Subject: [PATCH] Resolve warnings and enable in-VM sandbox --- tests/arion-test/default.nix | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/tests/arion-test/default.nix b/tests/arion-test/default.nix index 6035d0d..75f940d 100644 --- a/tests/arion-test/default.nix +++ b/tests/arion-test/default.nix @@ -31,15 +31,7 @@ in }; # no caches, because no internet - nix.binaryCaches = lib.mkForce []; - - # FIXME: Sandbox seems broken with current version of NixOS test - # w/ writable store. Error: - # machine# error: linking '/nix/store/7r8z2zvhwda85pgpdn5hzzz6hs1njklc-stdenv-linux.drv.chroot/nix/store/6v3y7s4q4wd16hsw393gjpxvcf9159bv-patch-shebangs.sh' to '/nix/store/6v3y7s4q4wd16hsw393gjpxvcf9159bv-patch-shebangs.sh': Operation not permitted - # - # There should be no reason why arion can't run without - # sandboxing, so please re-enable. - nix.useSandbox = false; + nix.settings.substituters = lib.mkForce []; virtualisation.writableStore = true; # Switch to virtualisation.additionalPaths when dropping all NixOS <= 21.05.