From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id +FgnFLjPbGf5YQEAqHPOHw:P1 (envelope-from ) for ; Thu, 26 Dec 2024 03:38:32 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id +FgnFLjPbGf5YQEAqHPOHw (envelope-from ) for ; Thu, 26 Dec 2024 04:38:32 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=none; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=gmail.com (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1735184311; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=6wODAdzruPZj+ESqpSO40D/vlSx0VVF/HbCnSqB0EFo=; b=ge3b9y251Smr9gkORteYQ0aQvbdf6DF12T7vwj7aguLteFkp9juO3jaNqHWf6iFxPxA8js +yClZGGHhA7rG+Po39jfh6VTQ5u5GyzokVxygZFrrDt044smN/uVunnU4EWhc3oGD09bMg EEbaeHxTBC8z1gzpFE8cDZKD0tna8varHHRKHMPw7L5NeRIp8mSwja/DAoxB3RXdqrbO9j PFYSbRL8NOsGTyf7e9OD5JAfW9pND3AOPYtrP7H1n9NtoO36FQ5XJ4hG6hsIUiK/JM8Srd 5IEsmbYko4OSoI8hVIOUIT/CPriGZXemT8tW1bWI/V8LhCHfkfhq8dGVmxlg9A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=gmail.com (policy=none) ARC-Seal: i=1; s=key1; d=yhetil.org; t=1735184311; a=rsa-sha256; cv=none; b=fKse3HplM18UsCo2meNWGEkkk2a16tWUw1/XGTlOdktoT6Lwr2p9XHGpD+86PMr3U2sL4j GTVA91WJUvFWvoLIFy46LYcXN3pJOrcoZW4+nl3XYupVciZfPX32jBQtJuFzHMU3qAtFBI /kRBGy8PKegJM+XSXtM0pYd93z6vt9mGquUdVLV7qdYreUXPCXOzahAX4zfRDrW8JIstYm WK3abmrmalUVRPrnMbrbnGMfRTwadDehwhaLtuASXq6KNXlogkwe67GiqzLVzIHw2gn6lO WLUDyTxSRhnuwKkiFOAUnROew8FFRNQ3lg6sLRA6w1hGL6PPKGNUZsHNCnnr/Q== 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 391AD7B287 for ; Thu, 26 Dec 2024 04:38:31 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tQeGT-0000KQ-JC; Wed, 25 Dec 2024 22:10:21 -0500 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 1tQeGS-0000KD-KZ for guix-devel@gnu.org; Wed, 25 Dec 2024 22:10:20 -0500 Received: from ciao.gmane.io ([116.202.254.214]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tQeGR-0002TG-9U for guix-devel@gnu.org; Wed, 25 Dec 2024 22:10:20 -0500 Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1tQeGN-0009M3-21 for guix-devel@gnu.org; Thu, 26 Dec 2024 04:10:15 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: guix-devel@gnu.org From: Bodertz Subject: How to remove output from inherited package? Date: Wed, 25 Dec 2024 20:10:10 -0700 Message-ID: <87jzbnjg19.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit User-Agent: Gnus/5.13 (Gnus v5.13) Cancel-Lock: sha1:L5GCT7aG2C6GFkTJ58XpU/yvemQ= Received-SPF: pass client-ip=116.202.254.214; envelope-from=gcggd-guix-devel@m.gmane-mx.org; helo=ciao.gmane.io X-Spam_score_int: 2 X-Spam_score: 0.2 X-Spam_bar: / X-Spam_report: (0.2 / 5.0 requ) BAYES_00=-1.9, DKIM_ADSP_CUSTOM_MED=0.001, FORGED_GMAIL_RCVD=1, FREEMAIL_FORGED_FROMDOMAIN=0.001, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.186, NML_ADSP_CUSTOM_MED=0.9, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: guix-devel-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Scanner: mx11.migadu.com X-Migadu-Spam-Score: 0.29 X-Spam-Score: 0.29 X-Migadu-Queue-Id: 391AD7B287 X-TUID: 9U51UiukdE91 In trying to create a transmission-qt package, I inherit from transmission, remove the gtkmm dependency and the phases that deal with moving transmission-gtk to the :gui output, and add a few qt dependencies so that transmission-qt is built. See the package definition below: (define-module (bodertz transmission-qt) #:use-module (gnu packages bittorrent) #:use-module (gnu packages qt) #:use-module (guix packages) #:use-module (guix gexp) #:use-module (guix utils)) (define-public transmission-qt (package (inherit transmission) ;; (outputs '("out")) (name "transmission-qt") (arguments (substitute-keyword-arguments (package-arguments transmission) ((#:phases phases) #~(modify-phases #$phases (delete 'move-gui) (delete 'glib-or-gtk-wrap) (delete 'wrap-program))))) (inputs (modify-inputs (package-inputs transmission) (delete "gtkmm") (append qtbase qttools qtsvg))))) This works fine, except that an unnecessary transmission-qt:gui output is created which contains license files (apologies if the email messes up the formatting): $ tree /gnu/store/k34zx89kvd712maqfi62spnbb5s31bqd-transmission-qt-4.0.6-gui /gnu/store/k34zx89kvd712maqfi62spnbb5s31bqd-transmission-qt-4.0.6-gui └── share └── doc └── transmission-qt-4.0.6 ├── bsd-3-clause.txt ├── COPYING ├── gpl-2.0.txt ├── gpl-3.0.txt └── mit.txt When I uncomment the ;; outputs '("out")) line from my package definition, I expected that it would only create the ordinary :out output, but instead, I get this error: $ guix build transmission-qt [...] builder for `/gnu/store/026fwjchyis1x99iqsgliqga284wydbc-transmission-qt-4.0.6.drv' failed to produce output path `/gnu/store/v331nyi7kqg4gi432gvhz1c719n8x7xf-transmission-qt-4.0.6-gui' Is there a way to avoid the attempt to create a :gui output?