From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:403:4789::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id MI40CN4WKGXAWQAAG6o9tA:P1 (envelope-from ) for ; Thu, 12 Oct 2023 17:55:10 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:4789::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id MI40CN4WKGXAWQAAG6o9tA (envelope-from ) for ; Thu, 12 Oct 2023 17:55:10 +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 0D3EA3EC8C for ; Thu, 12 Oct 2023 17:55:05 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=S7QQspZH; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); 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" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1697126105; a=rsa-sha256; cv=none; b=gNFVf1CgQjTa65SJwJ6kAHYyeENsE+kaREHWtIjBXZN7g3IdQbPKa6lWPqUKbtG71qBCH3 7H/udy0mV5Zd7TPHlMgH23BTr6Q0KU1bZ8amjgXfS4s/ORuqFJcSHFu6c8TpDb1/tKb05+ v+u9HAvCR62MDHYMGgwrSl81Q3PmRfQ4Kz6eQOk/zQmQHtdWpokvvSXH/JM9FC9UxJ90YA vf3ukheBapbBjTTwKS3G33KzPhgVtEscobmrxo0TKzyW5kW7g9cvrdg6xH/X/z0bJEPeLf Bt0HhcE8rk4w9n89Xheq8KCFNhGa+LO8LK9+squVzWMlIobblXg5RDtNjyoMfA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=S7QQspZH; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1697126105; 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=QkiMX3WtFMXOOENfpzQb34/c9SGfEMdK88NmfjfXCrQ=; b=QetpmJg5kA3yP7VjOISL1fXFqhB5v1k3Kvih4/+72ygPUORqPyKgMZDUuAuqKdgagWBCW2 d3bhFc+/BQghnqEOR5I/TG7GUNmVCIi90tBVMAbAwu+aZYBpvSat/opiu8XThfjywdJUj4 TbXDo5NcShSxTx19MX5W3/n+qVbvgU6ZADiLMEORKF54jMgv6KHXrMRhxNabY2fTfkD649 G5PUdhdztRx7N/TG4RjjJNrG8xc62KtP2R2qlLAGe+vDRWMs4vbAe4u/pfHQjhD+Fr+u/M Zwffii9Vk+tTGIj9+BC6JZY0P9hMihPUdA3lizkz/rw/lmDplVmeDJs41oZNhg== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qqy1M-0004CI-El; Thu, 12 Oct 2023 11:54:44 -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 1qqy1I-0004BA-PV for bug-guix@gnu.org; Thu, 12 Oct 2023 11:54:40 -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 1qqy1I-0003Vj-GB for bug-guix@gnu.org; Thu, 12 Oct 2023 11:54:40 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qqy1e-0007nz-3B for bug-guix@gnu.org; Thu, 12 Oct 2023 11:55:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#65665: package-mapping with #:deep? #t doesn't get all the implicit inputs Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Thu, 12 Oct 2023 15:55:02 +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: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: Ulf Herrman , 65665@debbugs.gnu.org Received: via spool by 65665-submit@debbugs.gnu.org id=B65665.169712605629941 (code B ref 65665); Thu, 12 Oct 2023 15:55:02 +0000 Received: (at 65665) by debbugs.gnu.org; 12 Oct 2023 15:54:16 +0000 Received: from localhost ([127.0.0.1]:44178 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qqy0u-0007mq-8R for submit@debbugs.gnu.org; Thu, 12 Oct 2023 11:54:16 -0400 Received: from mail-oi1-x229.google.com ([2607:f8b0:4864:20::229]:45222) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qqy0s-0007me-0F for 65665@debbugs.gnu.org; Thu, 12 Oct 2023 11:54:15 -0400 Received: by mail-oi1-x229.google.com with SMTP id 5614622812f47-3ae2ec1a222so643595b6e.2 for <65665@debbugs.gnu.org>; Thu, 12 Oct 2023 08:53:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1697126025; x=1697730825; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=QkiMX3WtFMXOOENfpzQb34/c9SGfEMdK88NmfjfXCrQ=; b=S7QQspZHqdFwaZ7LQBg5hFIwRhQVtpdnd7YD1xRki5RbCYncit/B3AKWaJyIWjh+vD jgQqyiEh/hC01Z9qra5iTbN1SpaM+3KNmoBmasquObN7wVj/pWlHxoeW1Kj+ALIXrPnL 3qZ5QBevQqpBEQ/7KqVyTY2eqkfsVn8f4G2aMEpInbdB5dDs0zM24WKnN/7TASF3j5Er T92WXYr8+s4BaqpYj5M0D4lHAo0xzA2pZn0brmJi9+S+dAHyqBQ/Lcus977kzYCgYhUE 4cr2PpqCQno3zJaOiP0BsSuhpVLGbpEh3oYbFlkXpgVCEm4evUKP6nPEtw2giwAV2Pui riFQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697126025; x=1697730825; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=QkiMX3WtFMXOOENfpzQb34/c9SGfEMdK88NmfjfXCrQ=; b=MnlfR/AXyf/FLjCNTAL8tRR/XelQ1r2VKlAXZBNUJ/dPQOUZI8w05WDf7hnHTSfPm1 1e5fq4F4ZLfhCoQ+MXp4xRfY3rRnsX2LnnQOLtxf6TyW+aZFVcYaICdiH5eqHQeYyI8f vcEVTG2jHEG9SArHGPrTGil49Qk7Ns8+AlQBrBYftaC13zQzdiMfpUJu/R3tGuh5lRKy MLbHEy0l8xeAvto3C9kq+e7PFpr4kSnkyY5DIhbn9noHHAnOkDrVqBb4rzUjB6JhISjk BveZJUg4L0CFh5FfUxZgL6eWtNaeyF5WV0CwSF1Iaubj/nzJbl77LE4MTl3/F2xJW6zQ QYlA== X-Gm-Message-State: AOJu0YyBSK0nWmuNv/sOuAy3iv+V+xwlPQZnuQBqnb/u8m71wJxLwfaZ GvqAj40p3AXo2EvB9M0GeRD2L9/77bEC8A== X-Google-Smtp-Source: AGHT+IEzLOvAalnWO6JHEUzVo+uy+HGRa4lWYRZOyl7POht7xXqkRUiv8ttygDn9gCDWsw6YzB3DMg== X-Received: by 2002:a05:6808:2985:b0:3b0:d583:dc4 with SMTP id ex5-20020a056808298500b003b0d5830dc4mr14109115oib.54.1697126025394; Thu, 12 Oct 2023 08:53:45 -0700 (PDT) Received: from hurd (dsl-10-128-66.b2b2c.ca. [72.10.128.66]) by smtp.gmail.com with ESMTPSA id ne16-20020a056214425000b0066d1540f9ecsm638272qvb.77.2023.10.12.08.53.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 12 Oct 2023 08:53:44 -0700 (PDT) From: Maxim Cournoyer In-Reply-To: <87cyxklzgg.fsf@gnu.org> ("Ludovic =?UTF-8?Q?Court=C3=A8s?="'s message of "Thu, 12 Oct 2023 15:53:03 +0200") References: <87h6ofufy5.fsf@tilde.club> <87cyxklzgg.fsf@gnu.org> Date: Thu, 12 Oct 2023 11:53:43 -0400 Message-ID: <87lec796rc.fsf@gmail.com> 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-Scanner: mx1.migadu.com X-Migadu-Spam-Score: 2.85 X-Spam-Score: 2.85 X-Migadu-Queue-Id: 0D3EA3EC8C X-TUID: 4DYP7vUtNV1Z Hi Ludovic, Ludovic Court=C3=A8s writes: > 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? Ulf had mentioned the problems they were facing in the original post of this issue: > The problem with this approach is that it doesn't affect the bag > arguments. This means that packages passed in as arguments may still > end up being used without being transformed. Worse still, packages > *not* passed in as arguments may end up being used *unless one is > explicitly passed in as an argument*, as is the case with > qt-build-system's #:qtbase argument. Examples would be an Qt packages, or packages using #:meson meson-variant. Any build system accepting package as arguments are subject to this problem, if I understand correctly. I hope that helps, --=20 Thanks, Maxim