tvl-depot/tests/nix-push.sh
2007-09-04 15:38:09 +00:00

11 lines
226 B
Bash

source common.sh
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