Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Robert Hensing <[email protected]>
  • Loading branch information
Ericson2314 and roberth authored Jul 14, 2023
1 parent 990b27c commit 8af286e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/libstore/build/local-derivation-goal.cc
Original file line number Diff line number Diff line change
Expand Up @@ -596,7 +596,7 @@ void LocalDerivationGoal::startBuilder()
}
if (hasPrefix(worker.store.storeDir, tmpDirInSandbox))
{
throw Error("Inside the sandbox, `sandbox-build-dir` must not contain `store?store`");
throw Error("`sandbox-build-dir` must not contain the storeDir");
}
dirsInChroot[tmpDirInSandbox] = tmpDir;

Expand Down
1 change: 1 addition & 0 deletions tests/nested-sandboxing.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
source common.sh
# This test is run by `tests/nested-sandboxing/runner.nix` in an extra layer of sandboxing.
[[ -d /nix/store ]] || skipTest "running this test without Nix's deps being drawn from /nix/store is not yet supported"

requireSandboxSupport
Expand Down

0 comments on commit 8af286e

Please sign in to comment.