about summary refs log tree commit diff
path: root/tvix/eval/src
diff options
context:
space:
mode:
authorsterni <sternenseemann@systemli.org>2022-10-19T16·55+0200
committerclbot <clbot@tvl.fyi>2022-10-20T02·35+0000
commitd9dfe659105dbca51cf1284c92d8956f9851d253 (patch)
treebc1021eb2534c7f8b59651cba0c9070f5785c8c0 /tvix/eval/src
parent60363039ef8a3a93a4e776955f6606a1ec08a438 (diff)
fix(tvix/eval): fix path in notyetpassing tests r/5167
cl/7036 moved these paths around, but neglected to update the relative
paths they contain. Without these updated, they will never start
passing!

Change-Id: Ib16468611af59729883e501be8486f43d850fd58
Reviewed-on: https://cl.tvl.fyi/c/depot/+/7046
Autosubmit: sterni <sternenseemann@systemli.org>
Tested-by: BuildkiteCI
Reviewed-by: tazjin <tazjin@tvl.su>
Diffstat (limited to 'tvix/eval/src')
-rw-r--r--tvix/eval/src/tests/nix_tests/notyetpassing/eval-okay-closure.exp.xml (renamed from tvix/eval/src/tests/nix_tests/notyetpassing/eval-okay-closure.exp)0
-rw-r--r--tvix/eval/src/tests/nix_tests/notyetpassing/eval-okay-closure.nix2
-rw-r--r--tvix/eval/src/tests/nix_tests/notyetpassing/eval-okay-hashfile.nix2
-rw-r--r--tvix/eval/src/tests/nix_tests/notyetpassing/eval-okay-import.nix4
4 files changed, 4 insertions, 4 deletions
diff --git a/tvix/eval/src/tests/nix_tests/notyetpassing/eval-okay-closure.exp b/tvix/eval/src/tests/nix_tests/notyetpassing/eval-okay-closure.exp.xml
index dffc03a99891..dffc03a99891 100644
--- a/tvix/eval/src/tests/nix_tests/notyetpassing/eval-okay-closure.exp
+++ b/tvix/eval/src/tests/nix_tests/notyetpassing/eval-okay-closure.exp.xml
diff --git a/tvix/eval/src/tests/nix_tests/notyetpassing/eval-okay-closure.nix b/tvix/eval/src/tests/nix_tests/notyetpassing/eval-okay-closure.nix
index cccd4dc35730..ab4aa0e49eb6 100644
--- a/tvix/eval/src/tests/nix_tests/notyetpassing/eval-okay-closure.nix
+++ b/tvix/eval/src/tests/nix_tests/notyetpassing/eval-okay-closure.nix
@@ -8,6 +8,6 @@ let
       else [{key = builtins.sub key 9;} {key = builtins.sub key 13; foo = true;}];
   };
 
-  sort = (import ./lib.nix).sortBy (a: b: builtins.lessThan a.key b.key);
+  sort = (import ./../lib.nix).sortBy (a: b: builtins.lessThan a.key b.key);
 
 in sort closure
diff --git a/tvix/eval/src/tests/nix_tests/notyetpassing/eval-okay-hashfile.nix b/tvix/eval/src/tests/nix_tests/notyetpassing/eval-okay-hashfile.nix
index aff5a1856814..8c9de66b7ecf 100644
--- a/tvix/eval/src/tests/nix_tests/notyetpassing/eval-okay-hashfile.nix
+++ b/tvix/eval/src/tests/nix_tests/notyetpassing/eval-okay-hashfile.nix
@@ -1,4 +1,4 @@
 let
-  paths = [ ./data ./binary-data ];
+  paths = [ ./../data ./../binary-data ];
 in
   builtins.concatLists (map (hash: map (builtins.hashFile hash) paths) ["md5" "sha1" "sha256" "sha512"])
diff --git a/tvix/eval/src/tests/nix_tests/notyetpassing/eval-okay-import.nix b/tvix/eval/src/tests/nix_tests/notyetpassing/eval-okay-import.nix
index 0b18d9413122..76213a9541e3 100644
--- a/tvix/eval/src/tests/nix_tests/notyetpassing/eval-okay-import.nix
+++ b/tvix/eval/src/tests/nix_tests/notyetpassing/eval-okay-import.nix
@@ -6,6 +6,6 @@ let
     scopedImport = attrs: fn: scopedImport (overrides // attrs) fn;
 
     builtins = builtins // overrides;
-  } // import ./lib.nix;
+  } // import ./../lib.nix;
 
-in scopedImport overrides ./imported.nix
+in scopedImport overrides ./../imported.nix