about summary refs log tree commit diff
path: root/tests/nix-push.sh
blob: 0cef0c22a24806da8659be08fc635a6a2bf8eed1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
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