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

clearStore

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

echo "pushing $drvPath"

mkdir -p $TEST_ROOT/cache

nix-push --dest $TEST_ROOT/cache --manifest $drvPath --bzip2