about summary refs log tree commit diff
path: root/tests/nix-push.sh
blob: 46f1edb4014be9364382cad600b23f7f826578b2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
source common.sh

drvPath=$($nixinstantiate dependencies.nix)
outPath=$($nixstore -r $drvPath)

echo "pushing $drvPath"

mkdir $TEST_ROOT/cache

$PERL -w -I$TOP/scripts $TOP/scripts/nix-push \
    --copy $TEST_ROOT/cache $TEST_ROOT/manifest $drvPath