mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-26 22:38:07 -05:00
gnu: qgis: Disable SAGA.
QGIS support for SAGA is currently not working. * gnu/packages/geo.scm (qgis)[inputs]: Remove saga. [arguments]: Remove PATH wrapping for saga.
This commit is contained in:
parent
48650b0c35
commit
5e686e0a2c
1 changed files with 6 additions and 3 deletions
|
@ -2152,8 +2152,11 @@ (define-public qgis
|
|||
#t))
|
||||
(add-after 'wrap-qt 'wrap-gis
|
||||
(lambda* (#:key inputs outputs #:allow-other-keys)
|
||||
;; TODO: Find if there is a way to get SAGA to work.
|
||||
;; Currently QGIS says "version of SAGA not supported".
|
||||
;; Disable it for now.
|
||||
(let* ((out (assoc-ref outputs "out"))
|
||||
(saga (string-append (assoc-ref inputs "saga") "/bin"))
|
||||
;;(saga (string-append (assoc-ref inputs "saga") "/bin"))
|
||||
(grass-version ,(package-version grass))
|
||||
(grass-majorminor (string-join
|
||||
(list-head
|
||||
|
@ -2162,7 +2165,7 @@ (define-public qgis
|
|||
(grass (string-append (assoc-ref inputs "grass")
|
||||
"/grass" grass-majorminor)))
|
||||
(wrap-program (string-append out "/bin/qgis")
|
||||
`("PATH" ":" prefix (,saga))
|
||||
;;`("PATH" ":" prefix (,saga))
|
||||
`("QGIS_PREFIX_PATH" = (,out))
|
||||
`("GISBASE" = (,grass))))
|
||||
#t)))))
|
||||
|
@ -2209,7 +2212,7 @@ (define-public qgis
|
|||
("qtsvg" ,qtsvg)
|
||||
("qtwebkit" ,qtwebkit)
|
||||
("qwt" ,qwt)
|
||||
("saga" ,saga)
|
||||
;;("saga" ,saga)
|
||||
("sqlite" ,sqlite)))
|
||||
(native-inputs
|
||||
`(("bison" ,bison)
|
||||
|
|
Loading…
Reference in a new issue