mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-16 03:06:17 +02:00
10f864c5ae
This is good for shebang, and also good for future build system simplifications
13 lines
446 B
Bash
Executable file
13 lines
446 B
Bash
Executable file
#!/usr/bin/env bash
|
|
|
|
source common.sh
|
|
# This test is run by `tests/functional/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
|
|
|
|
source ./nested-sandboxing/command.sh
|
|
|
|
expectStderr 100 runNixBuild badStoreUrl 2 | grepQuiet '`sandbox-build-dir` must not contain'
|
|
|
|
runNixBuild goodStoreUrl 5
|