aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2020-02-01 12:26:05 +0100
committerEelco Dolstra <edolstra@gmail.com>2020-02-01 12:30:49 +0100
commit5d70b454be7da683bf9f265d95cd0066140ea956 (patch)
treeea0129dfdace9e63caa31f99ccc4aa438dd8326d /tests
parent9640208d00542afb704d2d2c39c302dc4c93d4cd (diff)
nix flake update: Imply --refresh
Diffstat (limited to 'tests')
-rw-r--r--tests/flakes.sh3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/flakes.sh b/tests/flakes.sh
index 2e4abf48d..57081f72f 100644
--- a/tests/flakes.sh
+++ b/tests/flakes.sh
@@ -589,8 +589,7 @@ nix flake info --json hg+file://$flake5Dir
nix build -o $TEST_ROOT/result hg+file://$flake5Dir --no-registries --no-allow-dirty
# Test tarball flakes
-rm -rf $flake5Dir/.hg
-tar cfz $TEST_ROOT/flake.tar.gz -C $TEST_ROOT flake5
+tar cfz $TEST_ROOT/flake.tar.gz -C $TEST_ROOT --exclude .hg flake5
nix build -o $TEST_ROOT/result file://$TEST_ROOT/flake.tar.gz