Skip to content

Commit

Permalink
Merge pull request #127 from mobusoperandi/provide-nix-in-sandbox
Browse files Browse the repository at this point in the history
build: integration test in sandbox
  • Loading branch information
mightyiam authored Aug 17, 2024
2 parents cce954b + 4ccc659 commit 6391ac4
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 6391ac4

Please sign in to comment.