diff options
author | aszlig <aszlig@nix.build> | 2017-11-30 08:42:06 +0100 |
---|---|---|
committer | aszlig <aszlig@nix.build> | 2017-11-30 13:22:04 +0100 |
commit | 947cd56bd8872d8e19bc196d925a1e0886555ec3 (patch) | |
tree | a010bac43f62804159d26483bab09569317b291e | |
parent | f64804ac133b18a204989bba08ee9d39ff22c88e (diff) |
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 <aszlig@nix.build>
-rw-r--r-- | tests/sandbox.nix | 3 |
1 files changed, 1 insertions, 2 deletions
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" ]; |