From 4dee01da7c7bc5d67dc916f159bfee8a873ac19b Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Fri, 3 Nov 2017 13:33:50 +0100 Subject: fetchGit: Add a test --- tests/fetchMercurial.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/fetchMercurial.sh') diff --git a/tests/fetchMercurial.sh b/tests/fetchMercurial.sh index 83bf1331a..9c897ada9 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") -- cgit v1.2.3