gnu: grass: Fix build.

* gnu/packages/geo.scm (grass)[arguments]: Use 'search-input-*' instead of
  'assoc-ref' in 'configure' phase.

Change-Id: I34de3bb219163e470561493efb5c41b6dd1e038f
This commit is contained in:
Guillaume Le Vaillant 2024-06-12 13:50:01 +02:00 committed by Ludovic Courtès
parent 3666d53115
commit a2c694dc6d
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -2839,26 +2839,28 @@ (define-public grass
(assoc-ref outputs "out"))
"--with-blas"
"--with-bzlib"
(string-append "--with-freetype-includes="
(assoc-ref inputs "freetype")
"/include/freetype2")
(string-append "--with-freetype-libs="
(assoc-ref inputs "freetype")
"/lib")
(string-append
"--with-freetype-includes="
(search-input-directory inputs "/include/freetype2"))
(string-append
"--with-freetype-libs="
(dirname
(search-input-file inputs "/lib/libfreetype.so")))
"--with-geos"
"--with-lapack"
"--with-mysql"
(string-append "--with-mysql-includes="
(assoc-ref inputs "mariadb-dev")
"/include/mysql")
(string-append "--with-mysql-libs="
(assoc-ref inputs "mariadb-lib")
"/lib")
(string-append
"--with-mysql-includes="
(search-input-directory inputs "/include/mysql"))
(string-append
"--with-mysql-libs="
(dirname
(search-input-file inputs "/lib/libmariadb.so")))
"--with-netcdf"
"--with-postgres"
(string-append "--with-proj-share="
(assoc-ref inputs "proj")
"/share/proj")
(string-append
"--with-proj-share="
(search-input-directory inputs "/share/proj"))
"--with-pthread"
"--with-readline"
"--with-sqlite"