From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:306:2d92::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id cFx0Co3H7WTpTAEA9RJhRA:P1 (envelope-from ) for ; Tue, 29 Aug 2023 12:25:17 +0200 Received: from aspmx1.migadu.com ([2001:41d0:306:2d92::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id cFx0Co3H7WTpTAEA9RJhRA (envelope-from ) for ; Tue, 29 Aug 2023 12:25:17 +0200 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 E9C1437F68 for ; Tue, 29 Aug 2023 12:25:16 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=envs.net header.s=modoboa header.b=S9aXUPcN; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1693304717; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post: dkim-signature; bh=VQE6TdDTHYIfiahs9fNLU3IsApLCLkYUMgjuawn9u7s=; b=S2zM6+7gSoGKyFMrgkkOxzQFzEvmjpie/8pryzy5AiDTkb2b6hoQEHjubcQ9B3R2cKKkpp 8Xx0cpeA/5DDivZwuKjPD3YcNbR5xPHxbLfX8CtiozwhqgbCig1FwVuMWhH80P//enIWVg 2AtTJPRNtlgCanjmZSFYTTOGJq0EVgoivOTX2qiAeI8Y2gZQLEEN6vfKSibkRVJu+BKwkQ Y1YKt/QiQijYm8nyznv0nbRJrYbvyRGqoQA/gskbBYq+Adbx5O/RpRrNtCBKAO1goCx2gj zqXyJd0wQ4AHQij5Uw9pr8tI3QU94wq2o7Rvk+3KGFiJIbvVUVvrnVQX9iYe1g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=envs.net header.s=modoboa header.b=S9aXUPcN; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Seal: i=1; s=key1; d=yhetil.org; t=1693304717; a=rsa-sha256; cv=none; b=HTBgN+tpNs7bl5LrdsDlylDTL5xrK31OV41bFBFWhTGyJe1iE+IJIEyul28TqDgtriYnkV 0eZn0Fvl0tcCL54hJ54Q7lxiY3ayYj2uARNRsoCLtNFnKFc67ias9UvFSVAUzMBE/SDORU lM3gG9Mh/UbxHb+wvQM3pj1aKrvlC+FHtxfTOmxJMv8j51EyK3zWBrl1GrtqU0R0t24HMN xoGMkFAuKC9ium94KmG9IrxAVt4QjX+ihbQoFf+27hl5KDZiJsbkBvojcTe3AaFRp3HEKK S5lLg+KrmTPXQ0++wuYaGHz9w8HCIbl1W3hgf7lGpnIU74e8MesbtjUXDJbGPw== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qavu6-0002zm-EY; Tue, 29 Aug 2023 06:24:58 -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 1qavu4-0002zd-8d for guix-patches@gnu.org; Tue, 29 Aug 2023 06:24:56 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qavu4-0003pF-0b for guix-patches@gnu.org; Tue, 29 Aug 2023 06:24:56 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qavuA-000830-IY for guix-patches@gnu.org; Tue, 29 Aug 2023 06:25:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#65550] [PATCH] profiles: Don't propagate inputs for non-development packages. Resent-From: =?UTF-8?Q?=E5=AE=8B=E6=96=87=E6=AD=A6?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 29 Aug 2023 10:25:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 65550 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: Liliana Marie Prikler Cc: 65550@debbugs.gnu.org, =?UTF-8?Q?=E5=AE=8B=E6=96=87=E6=AD=A6?= Received: via spool by 65550-submit@debbugs.gnu.org id=B65550.169330467530878 (code B ref 65550); Tue, 29 Aug 2023 10:25:02 +0000 Received: (at 65550) by debbugs.gnu.org; 29 Aug 2023 10:24:35 +0000 Received: from localhost ([127.0.0.1]:49578 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qavtj-00081x-63 for submit@debbugs.gnu.org; Tue, 29 Aug 2023 06:24:35 -0400 Received: from mail.envs.net ([5.199.136.28]:46294) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qavtf-00081k-RT for 65550@debbugs.gnu.org; Tue, 29 Aug 2023 06:24:33 -0400 Received: from localhost (mail.envs.net [127.0.0.1]) by mail.envs.net (Postfix) with ESMTP id 5B1C538A013B; Tue, 29 Aug 2023 10:24:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=envs.net; s=modoboa; t=1693304662; bh=VQE6TdDTHYIfiahs9fNLU3IsApLCLkYUMgjuawn9u7s=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=S9aXUPcNqPaGoAhZmQAR1iK1TElvQAQ2nSYfcw31KxMFN1UtPEvsMTKoIDtkYbePQ GPrAb7IFrGr7nJ/4FXkhMjON8xhooenDA4tXBTr0BNayWGshCq/snKsl4yUIQRESuL U8w6OktGZe6iWzUTolET8obS1aUtU1dVnOtmYcMpAVeoG48VBz4hWH8sKwSfbxgWNX hmm75uR+OBAW8bLrmyCeL23y/bmUXhFPhdksYSzhAq3VengRxFH10w3tgDSsEj6YVj ZZienJqf0g1J30ubcxcl5nqEPtFwjY1sROcl3OMqOK4xx2y9rbG43Tat59e4ctdZzS BpSWwpTW7IIcr5dCLz10rWwZQldfTXbJ1xrqkqsJQ+Ui08VoOz6InKhWc1J2jkeOUr SS9Ys62bSZRPrEtK7b0GFZRHO3TKh1KEK0SufaHP8K/551BJD4At1DM+BV/i0siXMC bFLNmBQ/RkfF2MsdzKlRtQYRWxIuhJf0Huk5zS8ETdU/dhfjH4D7OWZvbg/OsLGFB8 PhSNMR57ESWHG3QkT3lkne75QLMcoiCOKHq6i5l3i19OuFSpf2W2qfAd1IvVy2BT5N ea9LfsMjxPhTl6bnFQIT4SywJZefp7VIDJFsULrOCutlKcaMPQiXKo/2U8lAIRZxof Pfi12nZgk6NppSVxKS833u0g= 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 wEpFYCAjrZZu; Tue, 29 Aug 2023 10:24:17 +0000 (UTC) Received: from localhost (unknown [36.170.44.50]) (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; Tue, 29 Aug 2023 10:24:16 +0000 (UTC) Received: from localhost (localhost [local]) by localhost (OpenSMTPD) with ESMTPA id c118336c; Tue, 29 Aug 2023 10:24:32 +0000 (UTC) References: <1f7f85189b17ebddb6d0e26afd7c5fad88c997e9.1693057951.git.iyzsong@member.fsf.org> <851f008ab9e989badb8bcb10f4b7eee5bc5616c0.camel@gmail.com> <87edjpaqo2.fsf@envs.net> <81f39ef4b6e0ec4de7b55446c755fb0dec621c49.camel@gmail.com> Date: Tue, 29 Aug 2023 18:24:31 +0800 In-Reply-To: <81f39ef4b6e0ec4de7b55446c755fb0dec621c49.camel@gmail.com> (Liliana Marie Prikler's message of "Sun, 27 Aug 2023 11:31:33 +0200") Message-ID: <877cpedu3k.fsf@envs.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: =?UTF-8?Q?=E5=AE=8B=E6=96=87=E6=AD=A6?= X-ACL-Warn: , =?utf-8?b?5a6L5paH5q2mIHZpYSBHdWl4LXBhdGNoZXM=?= From: =?utf-8?b?5a6L5paH5q2mIHZpYSBHdWl4LXBhdGNoZXM=?= via Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Scanner: mx2.migadu.com X-Migadu-Spam-Score: -6.72 X-Spam-Score: -6.72 X-Migadu-Queue-Id: E9C1437F68 X-TUID: UPytqstuPvaZ Liliana Marie Prikler writes: > I'd really like to avoid yet another special output, when "bin", "lib", > etc. have already been given clear meanings, one of which strongly > overlaps with "stuff that wants propagated inputs for pkg-config > reasons". The benefit to put headers files and libraries files into seperated outputs is to reduce the runtime closure size of packages, for example my home profile contains xfce, emacs, fonts, etc. has total 5GiB (by guix size), and they have 300MiB under include. calculated by: --8<---------------cut here---------------start------------->8--- x=/gnu/store/0fyhci5kv03rfb9430jqs9wki2ifq5ja-profile guix size $x for i in `guix size $x`; do [ -e $i/include ] && du -sb $i/include; done | awk '{ sum += $1 } END { print sum / 1024 / 1024 }' --8<---------------cut here---------------end--------------->8--- If put headers and other development files into a "dev" output, then those 300MiB can be saved (won't need to be substituted if substitutes available). Note that use a "include" output won't help here if you leave pkg-config files in "lib", since pkg-config files need reference its include and binaries need reference its libraries. So it seems to me a "dev" output is unavoidable, also both Debian and Alpine Linux use '-dev' packages for the same reason, it should be familiar to learn..