summary refs log tree commit diff
path: root/gnu/packages/image-processing.scm
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/packages/image-processing.scm')
-rw-r--r--gnu/packages/image-processing.scm7
1 files changed, 2 insertions, 5 deletions
diff --git a/gnu/packages/image-processing.scm b/gnu/packages/image-processing.scm
index 9be9ced927..a27da6a43b 100644
--- a/gnu/packages/image-processing.scm
+++ b/gnu/packages/image-processing.scm
@@ -255,15 +255,12 @@ integrates with various databases on GUI toolkits such as Qt and Tk.")
              "-DBUILD_PERF_TESTS=OFF"
              "-DBUILD_TESTS=ON"
 
-             (string-append "-DOPENCV_EXTRA_MODULES_PATH="
-                            "/tmp/guix-build-opencv-" ,version ".drv-0"
+             (string-append "-DOPENCV_EXTRA_MODULES_PATH=" (getcwd)
                             "/opencv-contrib/opencv_contrib-" ,version
                             "/modules")
 
              ;;Define test data:
-             (string-append "-DOPENCV_TEST_DATA_PATH="
-                            "/tmp/guix-build-opencv-" ,version ".drv-0"
-                            ;;"/opencv-3.4.0"
+             (string-append "-DOPENCV_TEST_DATA_PATH=" (getcwd)
                             "/opencv-extra/opencv_extra-" ,version
                             "/testdata")