From 947cd56bd8872d8e19bc196d925a1e0886555ec3 Mon Sep 17 00:00:00 2001 From: aszlig Date: Thu, 30 Nov 2017 08:42:06 +0100 Subject: tests/sandbox: Use top-level buildSandbox In 38d3fe573f4d0ad2115eaca71a0b8f67fd01a580 we have moved the sandbox builder to the top-level vuizvui namespace so we no longer need to do weird workarounds by providing an empty game configuration. Signed-off-by: aszlig --- tests/sandbox.nix | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'tests') diff --git a/tests/sandbox.nix b/tests/sandbox.nix index 98d29870..9c247da2 100644 --- a/tests/sandbox.nix +++ b/tests/sandbox.nix @@ -2,7 +2,6 @@ name = "sandbox"; machine = { pkgs, lib, ... }: { - nixpkgs.config.vuizvui.games = {}; system.activationScripts.inject-link = '' ln -svf ${pkgs.hello} /run/foo-test-sandbox ln -svf ${pkgs.gnused} /run/bar-test-sandbox @@ -23,7 +22,7 @@ /run/foo-test-sandbox/bin/hello echo aaa | /run/bar-test-sandbox/bin/sed -e 's/a/b/g' ''; - in lib.singleton (pkgs.vuizvui.games.buildSandbox testProgram { + in lib.singleton (pkgs.vuizvui.buildSandbox testProgram { paths.required = [ "/home/foo/existing" ]; paths.wanted = [ "/home/foo/nonexisting" ]; paths.runtimeVars = [ "COLLECT_ME" ]; -- cgit 1.4.1