gnu: rest@0.9.1: Remove dependency on gtksourceview and libadwaita.
Partly fixes <https://issues.guix.gnu.org/58352>. This also reduces the closure size of rest@0.9.1 from 2.1GiB to 498MiB (on x86_64-linux). * gnu/packages/gnome.scm (rest-next)[arguments]: Pass the "-Dexamples=false" config flag. * gnu/packages/gnome.scm (rest-next)[inputs]: Remove GTKSOURCEVIEW and LIBADWAITA.
This commit is contained in:
parent
f9694a04ab
commit
a52f39ad0c
1 changed files with 5 additions and 2 deletions
|
@ -4995,7 +4995,10 @@ libxml to ease remote use of the RESTful API.")
|
||||||
(arguments (substitute-keyword-arguments (package-arguments rest)
|
(arguments (substitute-keyword-arguments (package-arguments rest)
|
||||||
((#:tests? _ #f) #t)
|
((#:tests? _ #f) #t)
|
||||||
((#:configure-flags _)
|
((#:configure-flags _)
|
||||||
#~(list))
|
;; Do not build the optional 'librest-demo' program as it
|
||||||
|
;; depends on gtksourceview and libadwaita and thus,
|
||||||
|
;; indirectly, on Rust.
|
||||||
|
#~(list "-Dexamples=false"))
|
||||||
((#:phases phases '%standard-phases)
|
((#:phases phases '%standard-phases)
|
||||||
#~(modify-phases #$phases
|
#~(modify-phases #$phases
|
||||||
(add-after 'unpack 'disable-problematic-tests
|
(add-after 'unpack 'disable-problematic-tests
|
||||||
|
@ -5012,7 +5015,7 @@ libxml to ease remote use of the RESTful API.")
|
||||||
(append gettext-minimal
|
(append gettext-minimal
|
||||||
gi-docgen
|
gi-docgen
|
||||||
gsettings-desktop-schemas)))
|
gsettings-desktop-schemas)))
|
||||||
(inputs (list gtksourceview json-glib libadwaita))
|
(inputs (list json-glib))
|
||||||
(propagated-inputs
|
(propagated-inputs
|
||||||
(modify-inputs (package-propagated-inputs rest)
|
(modify-inputs (package-propagated-inputs rest)
|
||||||
(replace "libsoup" libsoup)
|
(replace "libsoup" libsoup)
|
||||||
|
|
Reference in a new issue