From 4ccc65974de1b84a684fc04d746b3a68437b50d9 Mon Sep 17 00:00:00 2001 From: warren2k <846021+warren2k@users.noreply.github.com> Date: Sat, 17 Aug 2024 09:53:43 -0400 Subject: [PATCH] build: integration test in sandbox Co-authored-by: ruben Co-authored-by: kurogeek Co-authored-by: furioncycle Co-authored-by: Shahar "Dawn" Or --- flake.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/flake.nix b/flake.nix index 522a229..a15c37b 100644 --- a/flake.nix +++ b/flake.nix @@ -9,6 +9,8 @@ inputs.treefmt-nix.url = "github:numtide/treefmt-nix"; inputs.treefmt-nix.inputs.nixpkgs.follows = "nixpkgs"; + nixConfig.sandbox-paths = "/nix/var/nix/daemon-socket/socket"; + outputs = { self, crane, @@ -70,8 +72,6 @@ commonArgs // { inherit cargoArtifacts NIX_CMD_PATH NIX_INSTANTIATE_CMD_PATH; - # integration tests use nix. can't do that in the sandbox. - cargoTestExtraArgs = "--bins"; } );