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

                

                                           


                       
                         
 
                       
                                                        
source common.sh

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

echo "pushing $drvPath"

mkdir -p $TEST_ROOT/cache

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