tvl-depot/tests/nix-push.sh

12 lines
226 B
Bash
Raw Normal View History

source common.sh
2006-03-01 13:51:18 +01:00
drvPath=$($nixinstantiate dependencies.nix)
outPath=$($nixstore -r $drvPath)
echo "pushing $drvPath"
mkdir $TEST_ROOT/cache
$NIX_BIN_DIR/nix-push \
--copy $TEST_ROOT/cache $TEST_ROOT/manifest $drvPath