Skip to content

Commit 8af286e

Browse files
Ericson2314roberth
andauthored
Apply suggestions from code review
Co-authored-by: Robert Hensing <[email protected]>
1 parent 990b27c commit 8af286e

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/libstore/build/local-derivation-goal.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -596,7 +596,7 @@ void LocalDerivationGoal::startBuilder()
596596
}
597597
if (hasPrefix(worker.store.storeDir, tmpDirInSandbox))
598598
{
599-
throw Error("Inside the sandbox, `sandbox-build-dir` must not contain `store?store`");
599+
throw Error("`sandbox-build-dir` must not contain the storeDir");
600600
}
601601
dirsInChroot[tmpDirInSandbox] = tmpDir;
602602

tests/nested-sandboxing.sh

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

45
requireSandboxSupport

0 commit comments

Comments
 (0)