Skip to content

Commit

Permalink
build: integration test in sandbox
Browse files Browse the repository at this point in the history
Co-authored-by: ruben <[email protected]>
Co-authored-by: kurogeek <[email protected]>
Co-authored-by: furioncycle <[email protected]>
Co-authored-by: Shahar "Dawn" Or <[email protected]>
  • Loading branch information
5 people committed Aug 17, 2024
1 parent cce954b commit 4ccc659
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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";
}
);

Expand Down

0 comments on commit 4ccc659

Please sign in to comment.