[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Removing prop-inputs
From: |
swedebugia |
Subject: |
Re: Removing prop-inputs |
Date: |
Sat, 12 Jan 2019 14:04:33 +0100 |
"address@hidden" <address@hidden> skrev: (12 januari 2019 04:08:13 CET)
>Perfect! My appreciation!
>Sent from my Sprint Phone.
>------ Original message------From: Timothy SampleDate: Fri, Jan 11,
>2019 8:50 PMTo: address@hidden;Cc: help-guix;Help-Guix;Subject:Re:
>Removing prop-inputs
>Hi brettg,
>
>address@hidden writes:
>
>> On 12.01.2019 02:25, address@hidden 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=? name "epiphany")))
>> (remove
>> (match-lambda
>> ((name _)
>> (string=? name "eog")))
>> (remove
>> (match-lambda
>> ((name _)
>> (string=? name "totem")))
>> (remove
>> (match-lambda
>> ((name _)
>> (string=? name "gedit")))
>> (remove
>> (match-lambda
>> ((name _)
>> (string=? name "yelp")))
>> (remove
>> (match-lambda
>> ((name _)
>> (string=? 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
Hi Tim and Brett
I think this snippet would enrich the manual.
Could one of you send a patch?
--
Sent from my p≡p for Android.
pEpkey.asc
Description: application/pgp-keys