guix/tests/nix-push.sh

10 lines
210 B
Bash

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