From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id eGhPIIi7M2GJ3QAAgWs5BA (envelope-from ) for ; Sat, 04 Sep 2021 20:31:36 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id OCXwG4i7M2F9QQAAB5/wlQ (envelope-from ) for ; Sat, 04 Sep 2021 18:31:36 +0000 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 41F6A1903E for ; Sat, 4 Sep 2021 20:31:36 +0200 (CEST) Received: from localhost ([::1]:48916 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mMaRy-0001kO-VP for larch@yhetil.org; Sat, 04 Sep 2021 14:31:34 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:38252) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mMaKz-0007qY-0B for guix-devel@gnu.org; Sat, 04 Sep 2021 14:24:21 -0400 Received: from mail-wr1-x444.google.com ([2a00:1450:4864:20::444]:41530) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mMaKw-0006Ew-JO for guix-devel@gnu.org; Sat, 04 Sep 2021 14:24:20 -0400 Received: by mail-wr1-x444.google.com with SMTP id u9so3414542wrg.8 for ; Sat, 04 Sep 2021 11:24:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=message-id:subject:from:to:date:user-agent:mime-version :content-transfer-encoding; bh=cDw8iIZhZxwicGljCxB2WTxFtnNf0SB5522ezyZi8IU=; b=eAzjReuuQVKVg3P5Wuri/bNvndwVLvRnY2W74Eo4bPvtPDAYRA5xZgFQb3qwFWuu7F ektKXecmIT2bHrWB59kPGUN819IXkyzAkA69SE0xQKFzQ41cv55dK13HmDAc1mFGSABp T7jzGV0SRQ+psWaJ9ZOMusNabbncjPEIKrmspHbQ3W1nk3kVptizhAFf4tJ0xC1OcBTu 3l/pKhm7Ip/R7RUV9T3wx0SOdaT92/FdQ7ougv+dIVXUVPOen0C8HF6J/hjtA8s/wk3D 08CEQfN5OvAEzNqBTgX1yTfNQdbg/B1RO/LNYJlBCpQklWBHVGqFtQ0UIuCZ0wnTMSFY IFOg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:subject:from:to:date:user-agent :mime-version:content-transfer-encoding; bh=cDw8iIZhZxwicGljCxB2WTxFtnNf0SB5522ezyZi8IU=; b=UjpnmAzV8oOTeyvItcOEmWb5Uzv0COB9fuDX35q02Tf2PAngR2HfbyHpnJU3w+k5mP 6VLJAKZPY0ell0qdUEff5bVPTTj6/nsyhZcmQSFI0VVo7LW6YFw7eISVtqgdMeW8FLwj 6gTnEyLaTH/n35Qql4E1ZXlxIgRe7jOuobXUURnjh8cDOm3L4Hv9iM6RurNHghDscOXM GOTlvUeGKof125gifQx/gX9EefOIqjAHpC2sd3cVn7AWjkT0LbPV83nMqs7ytRGGq3ni OAfOeKviFllPASJIhBwUMHuN7+LYB7r30elEDTbi/vhnEXPPwKDEO1N7esMOPWKuZNfm AJCw== X-Gm-Message-State: AOAM532jP3icAt6fbnCWVQXdgtq0GD4K9FnImbScksLaeAf+08K2gM83 xggksJI0pmW8+8hoLCDt3XCoDMV2WculTtWqtmL7Zw== X-Google-Smtp-Source: ABdhPJxihQA0zq8A23oBrpUJWCrSlc3r9c5zLcxNKkscLoZ+feOJdlJ4ohYwAE07/4EwGJrLeecPPg== X-Received: by 2002:a5d:4c4c:: with SMTP id n12mr4894346wrt.19.1630779856779; Sat, 04 Sep 2021 11:24:16 -0700 (PDT) Received: from nijino.local (194-118-34-199.adsl.highway.telekom.at. [194.118.34.199]) by smtp.gmail.com with ESMTPSA id o5sm2773436wrw.17.2021.09.04.11.24.15 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 04 Sep 2021 11:24:16 -0700 (PDT) Message-ID: <045891c151c74e0d66d91973c9e55e0194272df5.camel@gmail.com> Subject: Rethinking propagated inputs? From: Liliana Marie Prikler To: guix-devel@gnu.org Date: Sat, 04 Sep 2021 20:24:14 +0200 Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.34.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2a00:1450:4864:20::444; envelope-from=liliana.prikler@gmail.com; helo=mail-wr1-x444.google.com 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Sat, 04 Sep 2021 14:31:16 -0400 X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.23 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" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1630780296; 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:dkim-signature; bh=cDw8iIZhZxwicGljCxB2WTxFtnNf0SB5522ezyZi8IU=; b=i94JSaeTDAOEJFst8+wDZ0e+ARHBLAr5h0NT8dpzO2xstt2RbAfw75eK+gOtAG4FEuWGxw E+96GBBLJ9hxQd0K/kaI8qSxiajr6TSk4bjqg3sw8V7nKsea1xQra5VqYmorzs61c+DJwZ klAMoeB9YLhoXh44TTcFive3NWK4GqVpVOARPlaDpORljoEWkdcwyXEy+ZOMdLABzV9vFl kA4YNobh7B7l0v9NfXX1uE46fy67uRrDuSMi5phNl1fA+i6wn3YS0FqfVC5+HnoDxZHvEj +6H6LIFTGixw0GRw45MHMG5KIJPYCDFB9Ym1U4y0uuo/StpvQITdGlv7QLDG3w== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1630780296; a=rsa-sha256; cv=none; b=EQb386ytR7heIylESAym0TI0M9nq2k9usKOa6VROJxwGbS9ncPrlFK8qsUKtkD22gq2yN/ gM1W4/pTJ8QIPPuGIBOlZU9EGUEquKfYzxvUTwp2JU+1A/xi7+Pvu9y26qhxeyFs/lvnZS VgiL0UH5H+tqzpXpnkcZGOZSUwILdJ9z9HoMaMD87JnrxBEW9pLhC1DXvaqQ3BjwwN49Ei IsJrw+lrCkrl+SjYcfXoStoK2pvl7ELUlE5Mmie/U4bx5VlwgEBXZtKDtCyvqtNAzhux+f qVpgHA4c4Fj85BjUwya8H4xy0wkZpntwbfg8W5S1bebv2TkncatoONb58SwnRg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=eAzjReuu; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of guix-devel-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Migadu-Spam-Score: -0.62 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=eAzjReuu; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of guix-devel-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Migadu-Queue-Id: 41F6A1903E X-Spam-Score: -0.62 X-Migadu-Scanner: scn1.migadu.com X-TUID: DQSHHToM7ZsH Hi Guix, some while ago we made the decision to propagate inputs, that are mentioned in pkg-config files, the rationale being that those propagated inputs will be needed in packages in order to compile. This has saved us some typing, but at a cost. For instance, it is now no longer possible to upgrade "zile" and "icecat" independently, because both propagate glib. "libreoffice" and "telegram-desktop", two packages that have failed us loudly before, are also in that list. To see what else is in here, you might want to use the following snippet in a guix repl: --8<---------------cut here---------------start------------->8--- (use-modules (guix packages) (gnu packages) (guix discovery) (srfi srfi-1) (srfi srfi-26)) (display (fold-packages (lambda (p s) (if (any (compose (lambda (input) (and (package? input) (string=? "glib" (package-name input)))) cadr) (package-transitive-inputs p)) (cons (package-name p) s) s)) '() (all-modules %default-package-module-path))) --8<---------------cut here---------------end--------------->8--- It returns more than 1400 packages – a bit less than 10% of Guix. Needless to say, that's a bad thing and I think we should do something about it, particularly when it comes to leaf packages, that users are likely to install. Does anyone have an idea how we should handle propagations for the sake of pkg-config? Perhaps we could add "linked-inputs", which are added when building packages and environments when not using --ad-hoc, but not when union-building profiles. WDYT?