From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.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 kPdpIiMl7mQObgAAG6o9tA:P1 (envelope-from ) for ; Tue, 29 Aug 2023 19:04:35 +0200 Received: from aspmx1.migadu.com ([2001:41d0:306:2d92::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id kPdpIiMl7mQObgAAG6o9tA (envelope-from ) for ; Tue, 29 Aug 2023 19:04:35 +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 1C81455570 for ; Tue, 29 Aug 2023 19:04:35 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20221208 header.b=XQcOZq18; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1693328675; 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: content-transfer-encoding:content-transfer-encoding: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=+oRllfCjHLE0NvlHhEneXMQa/hC8g6uKxmImaP4Yel0=; b=cC9iOQhab5G/4jCQS6RR03EwKjB1UDjZtK05TyueUuzoG7sb1ZtNOhs17OyTVqW/yqywCK pTOSherIWFsvIiaOD26TYooQO9VMah/19HskyxrTMI9DlzSJcmwIpc1ybaVeBO/jZ0Gc29 YK576e4VKhxaSJVpKoFFLYcvLVGBdEsOCYOumCD5Xd9A2CoBmQZGbvNBTEzYYosJJQXNTF 1edQcZAAOV6ufvnBb3p0G4P/R4n4r9s+IPQZ2UBBV03drvzKGdouJMXLgUeWi53WoDiR59 GyosIvfyikCNUmOTdQvkub/9Lxpo0hxxN9oLJqk+UVf1m8ELFc2cnsihee0rMw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1693328675; a=rsa-sha256; cv=none; b=C4v6PSAwpct+nWjHBT1EQa1YXMvT/E9dxCegvdaYmgUoA1eRmpJNatqtFX5KkRwgc1s8XW Riq0o5rbohUhmOWMGOKy8dyW3GPSv8nxgbkJZNxPWP+furwijuCNvv94Tui9kOuJ9jZp4v cR6eWLzZtpJXRDIGKIRkJXwAICghp/PKa3YFQ1i+Mf1onbEhGccX1oQnWniRMD5fcThhe4 5EY0DpJb6w/vtbvHFeeuB6NX0BL9Iz9tyGvnqI3xaWaGC0JnW8fwp26QhrB1fU3Vl0yIVj vAHnzwS2PfOxa2XVTzKMjB2NJQuxChC46iF8pOyzgpY9nf26ikLkrnRW+Gs9mQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20221208 header.b=XQcOZq18; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); 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" Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qb27K-0002cp-MA; Tue, 29 Aug 2023 13:03:02 -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 1qb27D-0002XG-TX for guix-patches@gnu.org; Tue, 29 Aug 2023 13:02:55 -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 1qb27D-00053P-1J for guix-patches@gnu.org; Tue, 29 Aug 2023 13:02:55 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qb27K-0007ei-22 for guix-patches@gnu.org; Tue, 29 Aug 2023 13:03:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#65550] [PATCH] profiles: Don't propagate inputs for non-development packages. Resent-From: Liliana Marie Prikler Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 29 Aug 2023 17:03: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: =?UTF-8?Q?=E5=AE=8B=E6=96=87=E6=AD=A6?= 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.169332852629362 (code B ref 65550); Tue, 29 Aug 2023 17:03:02 +0000 Received: (at 65550) by debbugs.gnu.org; 29 Aug 2023 17:02:06 +0000 Received: from localhost ([127.0.0.1]:51459 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qb26Q-0007dW-54 for submit@debbugs.gnu.org; Tue, 29 Aug 2023 13:02:06 -0400 Received: from mail-lj1-x233.google.com ([2a00:1450:4864:20::233]:52510) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qb26K-0007cy-Kd for 65550@debbugs.gnu.org; Tue, 29 Aug 2023 13:02:04 -0400 Received: by mail-lj1-x233.google.com with SMTP id 38308e7fff4ca-2bcc187e0b5so71160371fa.1 for <65550@debbugs.gnu.org>; Tue, 29 Aug 2023 10:01:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1693328508; x=1693933308; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:cc:to:from:subject:message-id:from:to:cc:subject :date:message-id:reply-to; bh=+oRllfCjHLE0NvlHhEneXMQa/hC8g6uKxmImaP4Yel0=; b=XQcOZq188/y+Uk/pyg1iU5Az0NQ/xyT811wxa37vATV0AvI894jETF2EBjIdUEFNsF PUmtnGV+TS46wcjsCeNsgRbBzl6XB5FTEDt9rOdVB9ukQnpBIlzr/iSkMCry/xABMTs/ dGypyXobFUDzfOnkcCLEMEdTqPLwrttKuiNss2ZBy+W+hEYpCS+d/HycDn2sbIcyKlEY zsnbzNiU7QKfnm2pXCjwMqd4jYoCCg4LLLWoCM9jVMGP03RlPPXephM2qm0dkeW6DfKI gDPF8cfrcNajFHpnN7fbUrURXXAnbqERgjGM3+Tdgpm5c0yiXkcXSjU8aEZhHDIv5b6w kkXA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1693328508; x=1693933308; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:cc:to:from:subject:message-id:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=+oRllfCjHLE0NvlHhEneXMQa/hC8g6uKxmImaP4Yel0=; b=T3QBDY03111jiGt4eANwaYnjIylNVnLpg4/5/KVaiyLhPlXm5Ii4mfNrsW3Mo2JO3k m/lSYp7InHJBnivWvO0ZiOehYchBTQcP4abxbwZZfMcfvm3bTow751ypQi06v+2H8MqQ w/RWatvy7xkvy3jAl7ZGfBKWHooOkRgEhEIbSCblV4HK3CyIBTHf4IRsPIj/9oCjhGg9 iF9X1qdVf00Gtxbr+OzQ/EtoRpiZsx9p8jvKJG+UBOKOO2ACAk4B7BorratkpNfDAnUP MWJFz477Pe+TG8vA8X/n0STnjc1zLD8LbJhxbugt7FfRacgUELUoUdM2tw4YBf/K+IWp eu3w== X-Gm-Message-State: AOJu0YyChZTZivfb0a9/YpDgD9jgF6xUosi2ItSGlmK21RYCLP9KZHIQ aQD8oMh6wWI44DzZys5KbMw= X-Google-Smtp-Source: AGHT+IHZXFMT+hHmeFXd44KM6gkl9l45b56GvLLZiktIHvoU/cpK4UuhGG9sHrrJr/a4Rei5K+IVVA== X-Received: by 2002:a2e:994b:0:b0:2bc:de11:453b with SMTP id r11-20020a2e994b000000b002bcde11453bmr12673678ljj.1.1693328507347; Tue, 29 Aug 2023 10:01:47 -0700 (PDT) Received: from lumine.fritz.box (85-127-52-93.dsl.dynamic.surfer.at. [85.127.52.93]) by smtp.gmail.com with ESMTPSA id k6-20020a17090646c600b009a168ab6ee2sm6083284ejs.164.2023.08.29.10.01.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 29 Aug 2023 10:01:45 -0700 (PDT) Message-ID: From: Liliana Marie Prikler Date: Tue, 29 Aug 2023 19:01:44 +0200 In-Reply-To: <877cpedu3k.fsf@envs.net> References: <1f7f85189b17ebddb6d0e26afd7c5fad88c997e9.1693057951.git.iyzsong@member.fsf.org> <851f008ab9e989badb8bcb10f4b7eee5bc5616c0.camel@gmail.com> <87edjpaqo2.fsf@envs.net> <81f39ef4b6e0ec4de7b55446c755fb0dec621c49.camel@gmail.com> <877cpedu3k.fsf@envs.net> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.46.4 MIME-Version: 1.0 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: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: 2.78 X-Spam-Score: 2.78 X-Migadu-Queue-Id: 1C81455570 X-Migadu-Scanner: mx2.migadu.com X-TUID: R+2L2zX59Ov5 Am Dienstag, dem 29.08.2023 um 18:24 +0800 schrieb =E5=AE=8B=E6=96=87=E6=AD= =A6: > Liliana Marie Prikler writes: >=20 > > 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". >=20 > 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. >=20 > calculated by: > --8<---------------cut here---------------start------------->8--- > x=3D/gnu/store/0fyhci5kv03rfb9430jqs9wki2ifq5ja-profile > guix size $x > for i in `guix size $x`; > =C2=A0 do [ -e $i/include ] && du -sb $i/include; > done | awk '{ sum +=3D $1 } END { print sum / 1024 / 1024 }' > --8<---------------cut here---------------end--------------->8--- >=20 > 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).=C2=A0 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. >=20 > 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.. There is little point in a dev package when you blow up its size by propagating inputs=E2=80=A6