aboutsummaryrefslogtreecommitdiff
path: root/tests/nix-push.sh
blob: 69f05141af69412732f2dd72d3e4d3961d1bd80e (plain)
1
2
3
4
5
6
7
8
9
10
source common.sh

drvPath=$(nix-instantiate dependencies.nix)
outPath=$(nix-store -r $drvPath)

echo "pushing $drvPath"

mkdir -p $TEST_ROOT/cache

nix-push --copy $TEST_ROOT/cache $TEST_ROOT/manifest $drvPath