lix/tests/nix-push.sh
2011-10-10 21:11:08 +00:00

11 lines
210 B
Bash

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