diff options
Diffstat (limited to 'tests/nix-push.sh')
-rw-r--r-- | tests/nix-push.sh | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/nix-push.sh b/tests/nix-push.sh new file mode 100644 index 000000000000..73499f1e9e35 --- /dev/null +++ b/tests/nix-push.sh @@ -0,0 +1,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 |