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

                








                                                                    
source common.sh

drvPath=$($TOP/src/nix-instantiate/nix-instantiate dependencies.nix)
outPath=$($TOP/src/nix-store/nix-store -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