diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2017-11-03T12·33+0100 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2017-11-03T12·55+0100 |
commit | 4dee01da7c7bc5d67dc916f159bfee8a873ac19b (patch) | |
tree | 335cc7473215f4833c58a28f6e000026f3c731de /tests/fetchMercurial.sh | |
parent | 0e77aa398240d04e4169208d14ea620b8507b732 (diff) |
fetchGit: Add a test
Diffstat (limited to 'tests/fetchMercurial.sh')
-rw-r--r-- | tests/fetchMercurial.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/fetchMercurial.sh b/tests/fetchMercurial.sh index 83bf1331a409..9c897ada96ac 100644 --- a/tests/fetchMercurial.sh +++ b/tests/fetchMercurial.sh @@ -42,7 +42,7 @@ path2=$(nix eval --raw "(builtins.fetchMercurial file://$repo).outPath") [[ $(nix eval --raw "(builtins.fetchMercurial file://$repo).rev") = $rev2 ]] # But with TTL 0, it should fail. -(! nix eval --tarball-ttl 0 --raw "(builtins.fetchMercurial file://$repo)") +(! nix eval --tarball-ttl 0 "(builtins.fetchMercurial file://$repo)") # Fetching with a explicit hash should succeed. path2=$(nix eval --tarball-ttl 0 --raw "(builtins.fetchMercurial { url = file://$repo; rev = \"$rev2\"; }).outPath") |