aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2013-05-11 15:43:33 +0200
committerLudovic Courtès <ludo@gnu.org>2013-05-11 15:43:33 +0200
commit410e38f814e5a6c1314f6f93b9fe3fcf553261a8 (patch)
treecaf9dc418d7ef0b37ead6a963587ea1fd8459d1f
parentccbce84809db80e6d9bc42e96f9edb2071152b56 (diff)
downloadgnu-guix-410e38f814e5a6c1314f6f93b9fe3fcf553261a8.tar
gnu-guix-410e38f814e5a6c1314f6f93b9fe3fcf553261a8.tar.gz
tests: Fix out-of-source builds.
* tests/nar.scm (%test-dir): Compute relative to `pre-inst-env', which is in $top_builddir.
-rw-r--r--tests/nar.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/nar.scm b/tests/nar.scm
index 9bc5a1962e..6493d76876 100644
--- a/tests/nar.scm
+++ b/tests/nar.scm
@@ -153,7 +153,7 @@
(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))))