Hi Chris,

Chris Keschnat <[email protected]> writes:

> Chris Keschnat <[email protected]> writes:
>
> I missed that there was already a mail here two days ago. This seems to
> be the same issue as 
> https://lists.gnu.org/archive/html/help-guix/2025-09/msg00015.html

It's related, but not completely same as that problem is with mate
while, yours is evolution-data-server with mutter, for that see
https://codeberg.org/guix/guix/issues/2495.

As a workaround, feel free to try
```
(use-modules
 (guix packages)
 (guix profiles)
 (guix build-system trivial)
 (guix gexp)
 (gnu packages mate)
 (gnu packages gnome))

(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
    (list-of-packages ((@@ (gnu services desktop) extract-propagated-inputs) 
gnome-meta-core-services))))
```

feel free to get back if it doesn't work, I don't use Gnome, I haven't
tested it. I tested only that the profile with both mutter and
evolution-data-server can be built now, but not that Gnome will be happy
with this simplified evolution-data-server.

The idea here is to remove propagated-inputs from evolution-data-server
as it's both an application, and a library, and I expect Gnome needs
only the application part for runtime.

Rutherther

Reply via email to