From e92a0dce060166df4a587204b290fd8f887830f9 Mon Sep 17 00:00:00 2001 From: Robert Hensing Date: Sun, 27 Jan 2019 01:08:51 +0100 Subject: [PATCH] Fix integration test --- tests/arion-test/default.nix | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/tests/arion-test/default.nix b/tests/arion-test/default.nix index 4d6ad9a..e301b10 100644 --- a/tests/arion-test/default.nix +++ b/tests/arion-test/default.nix @@ -18,11 +18,21 @@ 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; + virtualisation.writableStore = true; virtualisation.pathsInNixDB = [ # Pre-build the image because we don't want to build the world # in the vm. preEval.config.build.dockerComposeYaml + pkgs.stdenv ]; }; testScript = ''