0
0
Fork 0
forked from lix-project/lix
lix/tests/nix-push.sh

11 lines
210 B
Bash

source common.sh
drvPath=$(nix-instantiate dependencies.nix)
outPath=$(nix-store -r $drvPath)
echo "pushing $drvPath"
mkdir -p $TEST_ROOT/cache
nix-push --copy $TEST_ROOT/cache $TEST_ROOT/manifest $drvPath