From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms1.migadu.com with LMTPS id eP8nH/FMXWY+SQAAe85BDQ:P1 (envelope-from ) for ; Mon, 03 Jun 2024 06:56:17 +0200 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id eP8nH/FMXWY+SQAAe85BDQ (envelope-from ) for ; Mon, 03 Jun 2024 06:56:17 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=envs.net header.s=modoboa header.b=iTcuVrWP; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=quarantine) header.from=envs.net ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1717390577; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=hMQj2rkOO1snUwUjEyZdvXylVi40jsOMivAsagxZIS0=; b=Vr3wmNTtRc/nzY7UmQq6wVLymI3fZvo0DZ6leWipnQx6WT338CrAj64a8FopLLtsscBss7 ym1RbjC8uVGAky5esoVYKCD/gki2PtiRN2c9FQa4oowMTgnx4YAzfXtPuesPWjqqxUQZFl cYcoZpHnyh6rCZJtzZ2EHCmK6JFjqjvFtBH+F/JGoV1BDZsNIOl2KmKBPqixEfapJmrg9c rH89Cr5xeqLyeiTgnYMLJRkrcUJObt4Ek/nYe/lD6iWX5fhdGhyY4vpARrOXAkdIMEZAx/ xJhi6HdFk0bRkVBXOT83w/VfcUWAd/zvpnLW5dyI5IGDm/1oNzU1spYX7TAPSQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=envs.net header.s=modoboa header.b=iTcuVrWP; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=quarantine) header.from=envs.net ARC-Seal: i=1; s=key1; d=yhetil.org; t=1717390577; a=rsa-sha256; cv=none; b=MNt9qyOTa4VFQuVIobHyuNPoLMA4xkUC0XLUXB3E1JsxuM89loUnc9C1XCsAkzQNw0gWKh QEiEgs0m06UDv272742STKC7siDyn0l2nAvB0S5yrGNOS5mhsoSOo5O8P+AUC7fKxNdec9 PCQ7eIY8yKGlz7I8KitY5PVK7Dm8wuVIF8KhC3otVeHDROUUwhjC4gcdx2GoOuLhEt+Kj2 a+hW3WVQ8geGXwu2rHa0bI0zLxcsml8oROltbK+W8CQ8aX6PhIdpFvpjfDVQT5PKJ6baRA Yyge/SBuM2aLkPgWPaKVuUs+l2LR+rP73OOrUqA5gUXImH5a39H3OcyXME9Xdg== Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 4EA4B61F92 for ; Mon, 3 Jun 2024 06:56:16 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sDyPZ-0008QI-3w; Sun, 02 Jun 2024 23:31:05 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sDyPW-0008Pa-RD for help-guix@gnu.org; Sun, 02 Jun 2024 23:31:02 -0400 Received: from mail.envs.net ([5.199.136.28]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sDyPT-0000sk-VL for help-guix@gnu.org; Sun, 02 Jun 2024 23:31:02 -0400 Received: from localhost (mail.envs.net [127.0.0.1]) by mail.envs.net (Postfix) with ESMTP id 4ED7738A37CD; Mon, 3 Jun 2024 03:30:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=envs.net; s=modoboa; t=1717385452; bh=hMQj2rkOO1snUwUjEyZdvXylVi40jsOMivAsagxZIS0=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=iTcuVrWP5UqovzlEvYCZ1gBfCt9o3ZcNm/F6c2X6RW83VIYTAZacfeWEVywllLdeC vnvWFFItoZnriu2ThkTk2/HVX2P9jwhAhUg2aTEwsIPUktUuh+NiW/yPweJy/75a0R 7Hg2rP5sOscqs1sTI+q88eMmW+b6GpcGV33+UKCmBfUvC9Fx5y64YttKp6EVmp+eB4 lo86bgOijCVBsfdEBfX9Eh5qSNAoknnp5kVyAJESZsCw0mLBd+xAQRLsAHQlDmof9m mn/mfe+mJLTF8NIysm+phN4Wg0Sv3WxFsmvTx/xwSviDVXUXdJDcT433aHtAkQNDfS LUHmmnWm0bV9oa+f5PJ0x6yRN137AXyjNRTYha/se5FiHScuOZ4pZh/YQxt7agskeZ paw4l+hOv2b9L5KYJ6i0tv6Vw7ESXjoNcUL/WPaDZqB99FgsvYYVe60ZQqlWhD6An9 vCKjYbmHtyBC9T118xH/VTiUTqpETXqCB9w8efYHWtIAF+FOy56/OPI76N27XIuba4 TpzdXqNQZAxzpiR7AN1BoMepyR1mu4ltKS2pmoXiRBSUfjo3VKr0uc15g2eE7OCQtO oRfpQCWvrDfYaYlHgcy1La+oVieInlvueSrZKeBu9YeBAx8rQqCq8WVI59hUT2qOF9 Js2PBTFi5wjLizcFJllEfzAE= X-Virus-Scanned: Debian amavisd-new at mail.envs.net Received: from mail.envs.net ([127.0.0.1]) by localhost (mail.envs.net [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id ujTSKsN0ghmu; Mon, 3 Jun 2024 03:30:48 +0000 (UTC) Received: from localhost (unknown [36.170.45.120]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mail.envs.net (Postfix) with ESMTPSA; Mon, 3 Jun 2024 03:30:48 +0000 (UTC) Received: from localhost (localhost [local]) by localhost (OpenSMTPD) with ESMTPA id 1d108a01; Mon, 3 Jun 2024 03:30:44 +0000 (UTC) From: =?utf-8?B?5a6L5paH5q2m?= To: Lee Thompson Cc: help-guix@gnu.org Subject: Re: Remove Package from Gnome Meta-Package In-Reply-To: <8734pw2xv7.fsf@gmail.com> (Lee Thompson's message of "Sat, 01 Jun 2024 21:48:12 +0100") References: <8734pw2xv7.fsf@gmail.com> Date: Mon, 03 Jun 2024 11:30:44 +0800 Message-ID: <87jzj6hfdn.fsf@envs.net> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=5.199.136.28; envelope-from=iyzsong@envs.net; helo=mail.envs.net X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, UNPARSEABLE_RELAY=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: help-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -7.54 X-Spam-Score: -7.54 X-Migadu-Queue-Id: 4EA4B61F92 X-Migadu-Scanner: mx13.migadu.com X-TUID: kWYJyw/boplx Lee Thompson writes: > Hi All, > > Is there an analogue in Guix for NixOS's `excludePackage`? Under NixOS I > had something like the following in my system config: >> environment.gnome.excludePackages = with pkgs.gnome; [ >> cheese >> epiphany >> gnome-music >> ]; I think it can be done with: ``` (define (exclude-some-packages lst) (filter (lambda (pkg) (not (memq pkg (list gnome-terminal gnome-user-docs gnome-maps)))) lst)) (service gnome-desktop-service-type (let ((cfg (gnome-desktop-configuration))) (gnome-desktop-configuration (core-services (exclude-some-packages (gnome-desktop-configuration-core-services cfg))) (shell (exclude-some-packages (gnome-desktop-configuration-shell cfg))) (utilities (exclude-some-packages (gnome-desktop-configuration-utilities cfg))) (extra-packages (exclude-some-packages (gnome-desktop-configuration-utilities cfg)))))) ``` >From the its code, we can see that gnome-desktop-configuration use 4 lists for meta packages, which can be customized. Hope it helps.