nix/tests/overlay-local-store/optimise-inner.sh
2023-07-20 10:42:39 +01:00

20 lines
240 B
Bash
Executable File

#!/usr/bin/env bash
set -eu -o pipefail
set -x
source common.sh
# Avoid store dir being inside sandbox build-dir
unset NIX_STORE_DIR
unset NIX_STATE_DIR
storeDirs
initLowerStore
mountOverlayfs
nix-store --store "$storeB" --optimise