From 1c080a8239f1be5a61d9fb2121ca958542ec183f Mon Sep 17 00:00:00 2001 From: piegames Date: Sat, 10 Aug 2024 15:12:26 +0200 Subject: treewide: Stop using URL literals They must die Change-Id: Ibe2b1818b21d98ec1a68836d01d5dad729b8c501 --- tests/nixos/fetch-git/test-cases/http-simple/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/nixos/fetch-git/test-cases') diff --git a/tests/nixos/fetch-git/test-cases/http-simple/default.nix b/tests/nixos/fetch-git/test-cases/http-simple/default.nix index dcab8067e..305dce10e 100644 --- a/tests/nixos/fetch-git/test-cases/http-simple/default.nix +++ b/tests/nixos/fetch-git/test-cases/http-simple/default.nix @@ -22,7 +22,7 @@ # fetch the repo via nix fetched1 = client.succeed(f""" - nix eval --impure --raw --expr "(builtins.fetchGit {repo.remote}).outPath" + nix eval --impure --raw --expr "(builtins.fetchGit \\"{repo.remote}\\").outPath" """) # check if the committed file is there @@ -32,7 +32,7 @@ # check if the revision is the same rev1_fetched = client.succeed(f""" - nix eval --impure --raw --expr "(builtins.fetchGit {repo.remote}).rev" + nix eval --impure --raw --expr "(builtins.fetchGit \\"{repo.remote}\\").rev" """).strip() assert rev1 == rev1_fetched, f"rev1: {rev1} != rev1_fetched: {rev1_fetched}" ''; -- cgit v1.2.3