From mboxrd@z Thu Jan 1 00:00:00 1970 From: "brettg@posteo.net" Subject: Re: Removing prop-inputs Date: Fri, 11 Jan 2019 21:08:13 -0600 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="--_com.lge.email_2165252871405900" Return-path: Received: from eggs.gnu.org ([209.51.188.92]:58017) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gi9ep-0001r3-8l for help-guix@gnu.org; Fri, 11 Jan 2019 22:08:24 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gi9em-0004YH-T9 for help-guix@gnu.org; Fri, 11 Jan 2019 22:08:23 -0500 Received: from mout01.posteo.de ([185.67.36.65]:40532) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gi9em-0004Xh-8p for help-guix@gnu.org; Fri, 11 Jan 2019 22:08:20 -0500 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id 57CB016005E for ; Sat, 12 Jan 2019 04:08:18 +0100 (CET) List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: Timothy Sample Cc: help-guix , Help-Guix ----_com.lge.email_2165252871405900 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Perfect! My appreciation! Sent from my Sprint Phone. ------ Original message------From: Timothy SampleDate: Fri, Jan 11, 2019 = 8:50 PMTo: brettg@posteo.net;Cc: help-guix;Help-Guix;Subject:Re: Removing= prop-inputs Hi brettg, brettg@posteo.net writes: > On 12.01.2019 02:25, brettg@posteo.net wrote: >> Hi all, this is my system configuration file. I am trying to remove >> nautilus and epiphany from the gnome-desktop-service that gets loaded. >> So far I am not having any luck. Any ideas? >> >> [...] > > Update, I got it to work, but with some very hackish code. Any > suggestions would still be appreciated. > > (define-public gnome-custom > (package (inherit gnome) > (name "gnome-custom") > (propagated-inputs (remove > (match-lambda > ((name _) > (string=3D? name "epiphany"))) > (remove > (match-lambda > ((name _) > (string=3D? name "eog"))) > (remove > (match-lambda > ((name _) > (string=3D? name "totem"))) > (remove > (match-lambda > ((name _) > (string=3D? name "gedit"))) > (remove > (match-lambda > ((name _) > (string=3D? name "yelp"))) > (remove > (match-lambda > ((name _) > (string=3D? name "gnome-calculator"))) > (package-propagated-inputs gnome)))))))))) You could try (remove (match-lambda ((name _) (member name '("epiphany" "eog" ...)))) (package-propagated-inputs gnome)) Hope that helps! -- Tim ----_com.lge.email_2165252871405900 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable
Perfect! My appreci= ation!

Sent from my Sprint Phone.

------ Original message------
From: Timothy Sample
Date: Fri, Jan 11, 2019 8:50 PM
Cc: help-guix;Help-Guix;=
Subject:Re: Removing prop-inputs

Hi brettg,

brettg@posteo.net writes:

> On 12.01.2019 02:25, brettg@posteo.net wrote:
>> Hi all, this is my system configuration file. I am trying to rem=
ove
>> nautilus and epiphany from the gnome-desktop-service that gets l=
oaded.
>> So far I am not having any luck. Any ideas?
>>
>> [...]
>
> Update, I got it to work, but with some very hackish code. Any
> suggestions would still be appreciated.
>
> (define-public gnome-custom
>   (package (inherit gnome)
> 	   (name "gnome-custom")
> 	   (propagated-inputs (remove
> 				(match-lambda
> 				  ((name _)
> 				   (string=3D? name "epiphany")))
> 				(remove
> 				 (match-lambda
> 				   ((name _)
> 				    (string=3D? name "eog")))
> 				 (remove
> 				  (match-lambda
> 				    ((name _)
> 				     (string=3D? name "totem")))
> 				  (remove
> 				   (match-lambda
> 				     ((name _)
> 				      (string=3D? name "gedit")))
> 				   (remove
> 				    (match-lambda
> 				      ((name _)
> 				       (string=3D? name "yelp")))
> 				    (remove
> 				     (match-lambda
> 				       ((name _)
> 					(string=3D? name "gnome-calculator")))
> 				     (package-propagated-inputs gnome))))))))))

You could try

    (remove (match-lambda
              ((name _)
               (member name '("epiphany" "eog" ...))))
            (package-propagated-inputs gnome))

Hope that helps!


-- Tim
----_com.lge.email_2165252871405900--