mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-23 14:36:16 +02:00
10 lines
388 B
Bash
10 lines
388 B
Bash
source common.sh
|
|
|
|
requireSandboxSupport
|
|
[[ $busybox =~ busybox ]] || skipTest "no busybox"
|
|
if [[ $(uname) != Linux ]]; then skipTest "Need Linux for overlayfs"; fi
|
|
needLocalStore "The test uses --store always so we would just be bypassing the daemon"
|
|
|
|
echo "drop-supplementary-groups = false" >> "$NIX_CONF_DIR"/nix.conf
|
|
|
|
exec unshare --mount --map-root-user overlay-local-store/inner.sh
|