aboutsummaryrefslogtreecommitdiff
path: root/tests/nix-push.sh
blob: 73499f1e9e354225831ff7bfb50c6bb4a9242188 (plain)
1
2
3
4
5
6
7
8
9
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