diff options
author | piegames <git@piegames.de> | 2024-08-10 15:12:26 +0200 |
---|---|---|
committer | piegames <git@piegames.de> | 2024-08-17 15:48:10 +0000 |
commit | 1c080a8239f1be5a61d9fb2121ca958542ec183f (patch) | |
tree | a6ca57a2ce55c600b671f6665dd76b6206b5a08f /tests/functional/flakes | |
parent | 41a0b08e646b54b27ae49fb4c23e0c45c60369ca (diff) |
treewide: Stop using URL literals
They must die
Change-Id: Ibe2b1818b21d98ec1a68836d01d5dad729b8c501
Diffstat (limited to 'tests/functional/flakes')
-rw-r--r-- | tests/functional/flakes/circular.sh | 4 | ||||
-rw-r--r-- | tests/functional/flakes/flakes.sh | 8 |
2 files changed, 6 insertions, 6 deletions
diff --git a/tests/functional/flakes/circular.sh b/tests/functional/flakes/circular.sh index 14752c3e9..1c4293763 100644 --- a/tests/functional/flakes/circular.sh +++ b/tests/functional/flakes/circular.sh @@ -11,7 +11,7 @@ createGitRepo $flakeB cat > $flakeA/flake.nix <<EOF { - inputs.b.url = git+file://$flakeB; + inputs.b.url = "git+file://$flakeB"; inputs.b.inputs.a.follows = "/"; outputs = { self, b }: { @@ -25,7 +25,7 @@ git -C $flakeA add flake.nix cat > $flakeB/flake.nix <<EOF { - inputs.a.url = git+file://$flakeA; + inputs.a.url = "git+file://$flakeA"; outputs = { self, a }: { bar = 456 + a.xyzzy; diff --git a/tests/functional/flakes/flakes.sh b/tests/functional/flakes/flakes.sh index 97dc6d818..75cc329e5 100644 --- a/tests/functional/flakes/flakes.sh +++ b/tests/functional/flakes/flakes.sh @@ -235,11 +235,11 @@ cat > $flake3Dir/flake.nix <<EOF flake1 = {}; flake2 = {}; nonFlake = { - url = git+file://$nonFlakeDir; + url = "git+file://$nonFlakeDir"; flake = false; }; nonFlakeFile = { - url = path://$nonFlakeDir/README.md; + url = "path://$nonFlakeDir/README.md"; flake = false; }; nonFlakeFile2 = { @@ -442,7 +442,7 @@ cat > $flake3Dir/flake.nix <<EOF { inputs.flake2.inputs.flake1 = { type = "git"; - url = file://$flake7Dir; + url = "file://$flake7Dir"; }; outputs = { self, flake2 }: { @@ -456,7 +456,7 @@ nix flake lock $flake3Dir cat > $flake3Dir/flake.nix <<EOF { inputs.flake2.inputs.flake1.follows = "foo"; - inputs.foo.url = git+file://$flake7Dir; + inputs.foo.url = "git+file://$flake7Dir"; outputs = { self, flake2 }: { }; |