mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2026-04-06 21:20:33 +02:00
gnu: orthanc-mysql: Fix searching of mysql.h.
Fixes guix/guix#1386 * gnu/packages/medical.scm (orthanc-mysql): [phases] {fix-mysql-include-path}: Swap to SEARCH-INPUT-DIRECTORY, see guix/guix#1385. Change-Id: I879001041733c03bd1e5dd8659c0e3c67fc8b6ee
This commit is contained in:
@@ -329,13 +329,12 @@ Medicine} server instead of SQLite.")
|
||||
;; file.
|
||||
(chdir "MySQL")))
|
||||
(add-after 'unpack 'fix-mysql-include-path
|
||||
(lambda _
|
||||
(lambda* (#:key inputs #:allow-other-keys)
|
||||
;; Help it find mysql.h, either from mysql in this package or
|
||||
;; from mariadb:dev in orthanc-mariadb.
|
||||
(substitute* "Resources/CMake/MariaDBConfiguration.cmake"
|
||||
(("/usr/include/mysql")
|
||||
(string-append #$(this-package-input "mysql")
|
||||
"/include/mysql")))))
|
||||
(search-input-directory inputs "include/mysql")))))
|
||||
;; There is no test target; simply run the binary.
|
||||
(replace 'check
|
||||
(lambda* (#:key tests? #:allow-other-keys)
|
||||
|
||||
Reference in New Issue
Block a user