From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.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 kLM4M3X6J2UxUAAAauVa8A:P1 (envelope-from ) for ; Thu, 12 Oct 2023 15:53:58 +0200 Received: from aspmx1.migadu.com ([2001:41d0:306:2d92::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id kLM4M3X6J2UxUAAAauVa8A (envelope-from ) for ; Thu, 12 Oct 2023 15:53:57 +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 BA24D535A1 for ; Thu, 12 Oct 2023 15:53:57 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=DJwGlFrN; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-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=1697118837; 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=m9vT+4cXbJOGCwAGa7NZv7O0M/4seo86SM8i1ECyMms=; b=O52MpAU8f7wJpjK4ZkKY/1CX3/Fc7wvYiN4YM1k4qA0eNQw/YrLMyXpVqQZg3DKiCeqXo6 RiAczBC+VVqLCo5/AnQElcJwdY8tlkGXaLJz9qaC/gKgqrvVlTApsQS+1c8gBb70SZ1O9c skSeL9+TojdVbaEs0VAab6nxT7MOOd1WoEO00/NifjZgP/FYqvun8lTRntNA/PSFbuJxMO xUIy+g9EnCxCQ38ITtE0Kw+43RUSXt4qeOemmKfm3qUV5JLIVzoXckNbk2HXqSwVSWh0HO APjLRgFrWstNH2JeN2WAiqVxpBLKpFEJfUUpILdxrqne3xwBX71biYD7t923dw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=DJwGlFrN; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Seal: i=1; s=key1; d=yhetil.org; t=1697118837; a=rsa-sha256; cv=none; b=laPkRxR7CwonYLBjwui97LkSFwtvyEIBUUAPcvvr31FqKCAN+ct7IW3RW3m23ubd9anK6u sJEnRfoCfP/MVnFMAiey1vmxLxcu3MQO9tGeFj8Zo4PAZ/JtFNUGZAx6QlJb3vVIKUoOR4 TsysVw1NJ4kVxWBS+Nx9jmn1whSqu0bVWlz49jlZJG3QN8a4rOupbv3h85ZZh2ISbzFUDp 5h2lhEjOp050lbU8+i7lZ89WEL+jIsm7EHII+xC4efIWc28we6hXxKnegxqt0e27tlJsfM SkPJpBKUpHQd96JnsUnn4Of8rKEg4ErZmgw71vucevrclsa+2mR3RQmPbINr0g== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qqw8I-00074s-Sx; Thu, 12 Oct 2023 09:53:47 -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 1qqw8B-0006xm-Nh for bug-guix@gnu.org; Thu, 12 Oct 2023 09:53:41 -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 1qqw8B-0005VI-Fk for bug-guix@gnu.org; Thu, 12 Oct 2023 09:53:39 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qqw8X-0002ek-SA for bug-guix@gnu.org; Thu, 12 Oct 2023 09:54:01 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#65665: package-mapping with #:deep? #t doesn't get all the implicit inputs Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Thu, 12 Oct 2023 13:54:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 65665 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Ulf Herrman Cc: 65665@debbugs.gnu.org Received: via spool by 65665-submit@debbugs.gnu.org id=B65665.169711881610177 (code B ref 65665); Thu, 12 Oct 2023 13:54:01 +0000 Received: (at 65665) by debbugs.gnu.org; 12 Oct 2023 13:53:36 +0000 Received: from localhost ([127.0.0.1]:41443 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qqw88-0002e5-2U for submit@debbugs.gnu.org; Thu, 12 Oct 2023 09:53:36 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:50732) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qqw86-0002dt-3T for 65665@debbugs.gnu.org; Thu, 12 Oct 2023 09:53:35 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qqw7e-0005TC-BE; Thu, 12 Oct 2023 09:53:06 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To: From; bh=m9vT+4cXbJOGCwAGa7NZv7O0M/4seo86SM8i1ECyMms=; b=DJwGlFrNCJtpPz5L+zA6 p0h63ySwVzCYdCRghjF/Yz6GemmWr9oIKJ5jdQ/az/6lco88FlCET8BS89q09x89LJsLR9oY6l+fp iauE0PEI4I/eKXmkVx/tot5ZKalcVg3fYAervw+ncAq9Mp85kDNR9cDO7ofhkihJ8ZjO3f7/A9KBl rJ/ZU5ps8VYVshv3mWJnSMKZtcFUP/XAhIVBPHc2EEFOLY8bNGFNFzQBtK/IaddW3gVFFIEMkfa+Y Gxjc6++DCWSR4WGuX5Hyt1sk8G0eLl9KP3yvDVVpMCmz2v0HpC1S6esf9mfJ6mrpQ7W4fswmq+tAj veeQIToFIbS6Mg==; From: Ludovic =?UTF-8?Q?Court=C3=A8s?= In-Reply-To: <87h6ofufy5.fsf@tilde.club> (Ulf Herrman's message of "Thu, 31 Aug 2023 15:14:58 -0500") References: <87h6ofufy5.fsf@tilde.club> Date: Thu, 12 Oct 2023 15:53:03 +0200 Message-ID: <87cyxklzgg.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: bug-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -6.87 X-Spam-Score: -6.87 X-Migadu-Queue-Id: BA24D535A1 X-Migadu-Scanner: mx2.migadu.com X-TUID: 9sXKK2WxC/0x Hi Ulf, Ulf Herrman skribis: > In short, the current approach of having the build-system lower > procedure leave the arguments mostly unchanged and letting the > bag->derivation procedure (the "bag builder") fill in lots of defaults > means that there are implicit inputs that cannot be touched at the > package level without adding special logic for every single build system > that does something like this. Could you share an example of what is fixed by these changes? Let=E2=80=99s take =E2=80=98python-itsdangerous=E2=80=99 as an example. It= has zero inputs, only implicit dependencies, yet I can do this: --8<---------------cut here---------------start------------->8--- $ guix build python-itsdangerous -n substitute: updating substitutes from 'http://192.168.1.48:8123'... 100.0% 0.0 MB would be downloaded: /gnu/store/yhvhrmqd5znjs7vsq8kc55nc3rkg4w6x-python-itsdangerous-2.0.1 $ guix build python-itsdangerous --with-input=3Dpython=3Dpython2 -n The following derivations would be built: /gnu/store/b1hji2qzdiwfg2wx11l1fyjrgiy0f50v-python-itsdangerous-2.0.1.drv /gnu/store/5gibs6x75acc6j0g0rh8m66191l9wq12-python-wrapper-3.10.7.drv 0.1 MB would be downloaded: /gnu/store/b2qv97jbih850zn35b2j84n2acj079cv-itsdangerous-2.0.1.tar.gz $ guix gc --references /gnu/store/5gibs6x75acc6j0g0rh8m66191l9wq12-python-w= rapper-3.10.7.drv |grep python /gnu/store/n0snl506x5bbs5c2496blh79yil3pf44-python2-2.7.18.drv /gnu/store/whwrah24q7syyiqra16sm9mjvdxld1pv-python-wrapper-3.10.7-builder --8<---------------cut here---------------end--------------->8--- =E2=80=98python=E2=80=99 above is an implicit dependency, yet it was suitab= ly replaced by =E2=80=98--with-input=E2=80=99. In what cases does =E2=80=98package-mapping #:deep? #t=E2=80=99 miss implic= it inputs? Thanks, Ludo=E2=80=99.