From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id gIdPF9F+EGPPygAAbAwnHQ (envelope-from ) for ; Thu, 01 Sep 2022 11:43:45 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id sGBpF9F+EGPFZwAA9RJhRA (envelope-from ) for ; Thu, 01 Sep 2022 11:43:45 +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 12ED7385A7 for ; Thu, 1 Sep 2022 11:43:45 +0200 (CEST) Received: from localhost ([::1]:38494 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oTgjg-0004UK-7M for larch@yhetil.org; Thu, 01 Sep 2022 05:43:44 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:40206) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oTg0c-0006ce-BX for guix-patches@gnu.org; Thu, 01 Sep 2022 04:57:14 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:51407) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oTg0T-0004ic-Qe for guix-patches@gnu.org; Thu, 01 Sep 2022 04:57:09 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oTg0T-0008Bu-MP for guix-patches@gnu.org; Thu, 01 Sep 2022 04:57:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#57345] [PATCH] Add gnupg to propagated-inputs of trezor-agent References: In-Reply-To: Resent-From: Ricardo Wurmus Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 01 Sep 2022 08:57:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57345 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 57345@debbugs.gnu.org Received: via spool by 57345-submit@debbugs.gnu.org id=B57345.166202258331427 (code B ref 57345); Thu, 01 Sep 2022 08:57:01 +0000 Received: (at 57345) by debbugs.gnu.org; 1 Sep 2022 08:56:23 +0000 Received: from localhost ([127.0.0.1]:41153 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oTfzr-0008Ao-9M for submit@debbugs.gnu.org; Thu, 01 Sep 2022 04:56:23 -0400 Received: from sender4-of-o51.zoho.com ([136.143.188.51]:21178) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oTfzn-0008Aa-3N for 57345@debbugs.gnu.org; Thu, 01 Sep 2022 04:56:21 -0400 ARC-Seal: i=1; a=rsa-sha256; t=1662022576; cv=none; d=zohomail.com; s=zohoarc; b=hzVwlNSe+sslhcvvlKN8dcjJAECsqTKRqjlzgEcRJkdOP3FKBLHHNDIBWxrbNFyJ9tOsmZ7m4QE27Vun8agNv5V2sWRm4AGthCrAydvzT4KK5hErIFp5vIDUWRjCV8HZB8x//zQqBNCpUI2cRKw7IwL7+av0dDRxay27O5gLL+A= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1662022576; h=Content-Type:Content-Transfer-Encoding:Date:From:MIME-Version:Message-ID:Subject:To; bh=P7X6EthzBJBrv+t5ZLRLO8xgcXOeBnZIZvk/C9ypgEQ=; b=gTxR80iJKaxAihKxaQyFwFhz4hqbarS7L2hS+sEnhThPqICWEiSl2uwGn6VfEdVNbDuedwWC6VH6m7IgPgBr+b5PqbuGEPzmQpKpP7WeZhlDpKnlbUV2shhDCLIzoWF56YG1VgKLRiD2dYbpsN5Vpx+/Btaj+gzXAbtXoKzT96w= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=elephly.net; spf=pass smtp.mailfrom=rekado@elephly.net; dmarc=pass header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1662022576; s=zoho; d=elephly.net; i=rekado@elephly.net; h=From:From:To:To:Subject:Subject:Date:Date:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-Id:Reply-To:Cc; bh=P7X6EthzBJBrv+t5ZLRLO8xgcXOeBnZIZvk/C9ypgEQ=; b=TFJW9oqgBrl7tZVKLly9p8XVYMEZh+00hYnUF/yNl5nT/hGAP/P2RhEx4Pd+xx7H 4FG6pLkOTD20r2dwiGgE1Jx4k65s/qd7bg83/FSFrFeqR9D8K60ueo9kxIZdHivVAkL N2eWM5KqHhSGwct2IYrHrSHPwAAD9BmwjudB9NkU= Received: from localhost (i5E862C74.versanet.de [94.134.44.116]) by mx.zohomail.com with SMTPS id 1662022573748986.0143372246985; Thu, 1 Sep 2022 01:56:13 -0700 (PDT) User-agent: mu4e 1.8.7; emacs 28.1 From: Ricardo Wurmus Date: Thu, 01 Sep 2022 10:51:27 +0200 X-URL: https://elephly.net X-PGP-Key: https://elephly.net/rekado.pubkey X-PGP-Fingerprint: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC Message-ID: <87a67jqxqt.fsf@elephly.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-ZohoMailClient: External 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" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1662025425; 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: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=P7X6EthzBJBrv+t5ZLRLO8xgcXOeBnZIZvk/C9ypgEQ=; b=aEMTcomFlLRSP8iFybROOyr1cRmolAcGGsVPyFCoTHqUlPTic7eYOccjb4Aqf3VEXrScum 3j+CedtGzzi7ojV9gNk80icScpULXHM0xfscTRQowPG6pvht8NGqlUJ2ZCzDDrHtAdoyNd Xdn/2kG0+KD/jniWI0Z9ggs9Z+EucUdFu4pgjn7QBHAAyrl2JngVr3hMzjXX4g1xWYZ5ql Cn2IYpXinvWnSMtJDXML0OVz4BmThs/EnlJEJVPqP/LcZJwqx6QPUkj3KHGoPRylBt/F3C Z9COvwWYT6qmQnPleB7H7k06Gf/dXB8kLeQvpIXl/d7wWPd36/kw0l+jD8xfvA== ARC-Seal: i=2; s=key1; d=yhetil.org; t=1662025425; a=rsa-sha256; cv=fail; b=VsZJjND6oY1Iy5LHl4WIeOsFFsccYB05zGBwqfO/lRmqsI2vPntYn71eDk6gdPUo3J0b5a UTiy5HmIeL5l5mlzTearrnAXp3hN6pogKbsIEIqM2pt2oQNnQitZ/4WqfnpS9I5YxquY0Y x3AD1IbRG1h5LpvbGKwxHKgggBr/e2IAekkbeedHervkpj711VvJ2xDznl27q4Uj9/GxHL Mutamzl0T8uaW5inhBrayLQ55eLHsmWd1UmTzjeJJxPj+ikx27wMo/3vCWtSiH/tm6kGZW 4pcyWD5YkYPRUfhAihB8kH12lJ3RlylAuhWmR8ckVYThSZ9U4O+5ajgWi7I84Q== ARC-Authentication-Results: i=2; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=elephly.net header.s=zoho header.b=TFJW9oqg; arc=reject ("signature check failed: fail, {[1] = sig:zohomail.com:reject}"); dmarc=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" X-Migadu-Spam-Score: 2.22 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=elephly.net header.s=zoho header.b=TFJW9oqg; arc=reject ("signature check failed: fail, {[1] = sig:zohomail.com:reject}"); dmarc=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" X-Migadu-Queue-Id: 12ED7385A7 X-Spam-Score: 2.22 X-Migadu-Scanner: scn1.migadu.com X-TUID: MX0H5GcSqiEM Hi Marek, thanks for your patch. This looks like a good fix of the problem. Propagation is generally used sparingly, when there is no other option. We try to avoid it when possible, because it can lead to unexpected conflicts, e.g. when a user has a particular version of gnupg installed in their profile and then installs trezor-agent with a more recent version of Guix it would abort with a conflict error as it cannot install two variants of gnupg into the same Guix profile. I wonder if we can avoid propagation here. We could, for example, look up gnupg in PATH (so that a user=E2=80=99s installation of gnupg is preferr= ed) and fall back to an explicit gnupg from the inputs (not propagated-inputs). This would require minor patching of trezor-agent. What do you think? --=20 Ricardo