From 410e38f814e5a6c1314f6f93b9fe3fcf553261a8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= <ludo@gnu.org>
Date: Sat, 11 May 2013 15:43:33 +0200
Subject: [PATCH] tests: Fix out-of-source builds.

* tests/nar.scm (%test-dir): Compute relative to `pre-inst-env', which
  is in $top_builddir.
---
 tests/nar.scm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/nar.scm b/tests/nar.scm
index 9bc5a1962ed..6493d76876f 100644
--- a/tests/nar.scm
+++ b/tests/nar.scm
@@ -153,7 +153,7 @@ (define (rm-rf dir)
 
 (define %test-dir
   ;; An output directory under $top_builddir.
-  (string-append (dirname (search-path %load-path "configure"))
+  (string-append (dirname (search-path %load-path "pre-inst-env"))
                  "/test-nar-" (number->string (getpid))))
 
 
-- 
GitLab