1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2024-09-20 11:11:03 -04:00
nix/tests/overlay-local-store.sh
2023-05-08 16:01:36 -04:00

11 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