all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: swedebugia <swedebugia@riseup.net>
To: "brettg@posteo.net" <brettg@posteo.net>,
	Timothy Sample <samplet@ngyro.com>
Cc: help-guix <help-guix@gnu.org>,
	Help-Guix <help-guix-bounces+brettg=posteo.net@gnu.org>
Subject: Re: Removing prop-inputs
Date: Sat, 12 Jan 2019 14:04:33 +0100	[thread overview]
Message-ID: <8D5DFAEC-E3AB-4EDC-8892-81A75E98426A@pretty.Easy.privacy> (raw)
In-Reply-To: <gsdrlgqnplesu54gi901uv7f.1547262479084@email.lge.com>;


[-- Attachment #1.1: Type: text/html, Size: 2888 bytes --]

[-- Attachment #1.2: Type: text/plain, Size: 1889 bytes --]

"brettg@posteo.net" <brettg@posteo.net> 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: 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=? 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.

[-- Attachment #2: pEpkey.asc --]
[-- Type: application/pgp-keys, Size: 3825 bytes --]

  reply	other threads:[~2019-01-12 13:04 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-01-12  3:08 Removing prop-inputs brettg
2019-01-12 13:04 ` swedebugia [this message]
  -- strict thread matches above, loose matches on Subject: below --
2019-01-12  1:25 brettg
2019-01-12  2:25 ` brettg
2019-01-12  2:50   ` Timothy Sample

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8D5DFAEC-E3AB-4EDC-8892-81A75E98426A@pretty.Easy.privacy \
    --to=swedebugia@riseup.net \
    --cc=brettg@posteo.net \
    --cc=help-guix-bounces+brettg=posteo.net@gnu.org \
    --cc=help-guix@gnu.org \
    --cc=samplet@ngyro.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.