diff --git a/gnu/packages/photo.scm b/gnu/packages/photo.scm
index 666058c9dc4deb09b373c1ff8c36f8b945500a6a..0969347087a1bdfc0b02a4a2d1a9caf84ab955b8 100644
--- a/gnu/packages/photo.scm
+++ b/gnu/packages/photo.scm
@@ -337,7 +337,7 @@ (define-public darktable
     (build-system cmake-build-system)
     (arguments
      `(#:tests? #f ; There are no tests.
-       #:configure-flags '("-DCMAKE_INSTALL_LIBDIR=lib")
+       #:configure-flags '("-DCMAKE_INSTALL_LIBDIR=lib" "-DBINARY_PACKAGE_BUILD=On")
        #:make-flags
        (list
         (string-append "CPATH=" (assoc-ref %build-inputs "ilmbase")