aboutsummaryrefslogtreecommitdiff
path: root/tests/nixos/fetch-git/test-cases
diff options
context:
space:
mode:
authorpiegames <git@piegames.de>2024-08-10 15:12:26 +0200
committerpiegames <git@piegames.de>2024-08-17 15:48:10 +0000
commit1c080a8239f1be5a61d9fb2121ca958542ec183f (patch)
treea6ca57a2ce55c600b671f6665dd76b6206b5a08f /tests/nixos/fetch-git/test-cases
parent41a0b08e646b54b27ae49fb4c23e0c45c60369ca (diff)
treewide: Stop using URL literals
They must die Change-Id: Ibe2b1818b21d98ec1a68836d01d5dad729b8c501
Diffstat (limited to 'tests/nixos/fetch-git/test-cases')
-rw-r--r--tests/nixos/fetch-git/test-cases/http-simple/default.nix4
1 files changed, 2 insertions, 2 deletions
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}"
'';