Sorry made a mistake,

"Rutherther" <[email protected]> writes:

> (use-modules
>  (guix packages)
>  (guix profiles)
>  (guix build-system trivial)
>  (guix gexp)
>  (gnu packages mate)
>  (gnu packages gnome))
>

Here should be a define, ie (define new-gnome-meta-core-services

> (package/inherit gnome-meta-core-services
>   (propagated-inputs
>    (modify-inputs (package-propagated-inputs gnome-meta-core-services)
>      (replace
>          "evolution-data-server"
>        (let ((base evolution-data-server))
>          (package/inherit base
>            (build-system trivial-build-system)
>            (source #f)
>            (arguments
>             (list
>              #:modules '((guix build utils)
>                          (guix build union))
>              #:builder
>              #~(begin
>                  (use-modules (guix build union))
>                  (use-modules (guix build utils))
>                  (union-build
>                   #$output
>                   (list
>                    #$(this-package-input "evolution-data-server"))
>                   #:create-all-directories? #t)
>                  (delete-file-recursively (string-append #$output "/lib"))
>                  (delete-file-recursively (string-append #$output 
> "/include")))))
>            (inputs
>             (list base))
>            ;; Drop propagation of Requires.private from .pc file for 
> application
>            (propagated-inputs '())))))))
> ```

)

>
> as value of core-services in gnome-desktop-configuration,
> ie.
> ```
> (service gnome-desktop-service-type
>   (gnome-desktop-configuration
And then here instead of the old gnome-meta-core-services, use 
new-gnome-meta-core-services.
>     (list-of-packages ((@@ (gnu services desktop) extract-propagated-inputs) 
> gnome-meta-core-services))))

The define can be before your operating-system declaration.

Rutherther

Reply via email to