diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2012-07-26 18:28:12 -0400 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2012-07-26 18:28:12 -0400 |
commit | 67c6f3eded7dcb7c79243ed41f177c960f2b6aad (patch) | |
tree | 792842e32598a9201fcee341469799e936da9dfa /tests/binary-patching.sh | |
parent | 50395b71a90314abfcc39d8343dbaa8e9aa199a6 (diff) | |
download | guix-67c6f3eded7dcb7c79243ed41f177c960f2b6aad.tar.gz |
nix-push: Support generating a manifest again
This makes all the tests succeed. Woohoo!
Diffstat (limited to 'tests/binary-patching.sh')
-rw-r--r-- | tests/binary-patching.sh | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/tests/binary-patching.sh b/tests/binary-patching.sh index 8c52c2f142..188be109a0 100644 --- a/tests/binary-patching.sh +++ b/tests/binary-patching.sh @@ -7,14 +7,17 @@ mkdir -p $TEST_ROOT/cache2 $TEST_ROOT/patches RESULT=$TEST_ROOT/result # Build version 1 and 2 of the "foo" package. -nix-push --copy $TEST_ROOT/cache2 $TEST_ROOT/manifest1 \ +nix-push --dest $TEST_ROOT/cache2 --manifest --bzip2 \ $(nix-build -o $RESULT binary-patching.nix --arg version 1) +mv $TEST_ROOT/cache2/MANIFEST $TEST_ROOT/manifest1 out2=$(nix-build -o $RESULT binary-patching.nix --arg version 2) -nix-push --copy $TEST_ROOT/cache2 $TEST_ROOT/manifest2 $out2 +nix-push --dest $TEST_ROOT/cache2 --manifest --bzip2 $out2 +mv $TEST_ROOT/cache2/MANIFEST $TEST_ROOT/manifest2 out3=$(nix-build -o $RESULT binary-patching.nix --arg version 3) -nix-push --copy $TEST_ROOT/cache2 $TEST_ROOT/manifest3 $out3 +nix-push --dest $TEST_ROOT/cache2 --manifest --bzip2 $out3 +mv $TEST_ROOT/cache2/MANIFEST $TEST_ROOT/manifest3 rm $RESULT |