about summary refs log tree commit diff
path: root/tests/filter-source.nix
diff options
context:
space:
mode:
Diffstat (limited to 'tests/filter-source.nix')
-rw-r--r--tests/filter-source.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/filter-source.nix b/tests/filter-source.nix
index a620f0fda5c4..9071636394af 100644
--- a/tests/filter-source.nix
+++ b/tests/filter-source.nix
@@ -8,5 +8,5 @@ mkDerivation {
       type != "symlink"
       && baseNameOf path != "foo"
       && !((import ./lang/lib.nix).hasSuffix ".bak" (baseNameOf path));
-    in builtins.filterSource filter ./test-tmp/filterin;
+    in builtins.filterSource filter ((builtins.getEnv "TEST_ROOT") + "/filterin");
 }