From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id CMa3Abh2XmUU8QAA9RJhRA:P1 (envelope-from ) for ; Wed, 22 Nov 2023 22:46:32 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id CMa3Abh2XmUU8QAA9RJhRA (envelope-from ) for ; Wed, 22 Nov 2023 22:46:32 +0100 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 C7652443F8 for ; Wed, 22 Nov 2023 22:46:31 +0100 (CET) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gnu.org header.s=fencepost-gnu-org header.b=jsI1Eb1I; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-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=1700689591; 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: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=iNmc2Vy+P86h3+ysO2OBkloL45zi9io015bp63Nt0lY=; b=EghobhcD3xB6mU2yGl73Ya+3jrVFEhvY43Zl47UtO0XFpHsG8LwWywT47CEMhuJSVNk3Ad cFu01BEhzTmB12iBbiD+lBZkEie9eA8aONwFSLd7WAE+TPYz7D5W2bqT9rl74FLu97SelV XudVrTx0+5nX5iy3zwhxNyXyh4GQ6kJoGBZb2XgdiKL5GzybrM3CNoTvomly+Vn9Tq45Re 2KObK3HWMz0HPR9MNp+UrEcIqydtC94pQYS9+C3lZtFAUw2cXnmFbd+88HB2N29k9qyK5+ PfJ1k5LIzJH2Q9r34OTKKc8HXF5tjXT9TU857XuUdltHqJfKAIA6cbMZpJdygQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gnu.org header.s=fencepost-gnu-org header.b=jsI1Eb1I; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Seal: i=1; s=key1; d=yhetil.org; t=1700689591; a=rsa-sha256; cv=none; b=ULjFAkeQDAMyAX2FVzutBT4/iqs2ENMh8BRIB9KrqfCS/WbzkcSPqEDxs0e8Qb0R94zMTL J62xIrED/04bQSQ1DFiRi6NTjx0QJNm7rc8FRbl8cLpxvuQoQxRKR2BIhzE6xAU+ZYD3R9 tgH7Gx3AAlwM3SCR0FpaxfBP4beWkM/CheEoprH3RHHspvZBItRvrhxtJUJ+hk1uL/R/iw f5c7hpjOOr/LWRUzghmXsIFIBGQmfj+JNTkEzZTPS2kHVaqPzSewo2CnAfcDvGOjkSDNb4 qDcc7qeXNDus4XrS6TCjK9I03DmquSFcVSXNL4V3x5uA6//xRiGFvP7YcH87UA== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1r5v2i-000128-QQ; Wed, 22 Nov 2023 16:45:56 -0500 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 1r5v2g-000108-ID for guix-devel@gnu.org; Wed, 22 Nov 2023 16:45:54 -0500 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 1r5v2f-0008GY-El; Wed, 22 Nov 2023 16:45:53 -0500 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=iNmc2Vy+P86h3+ysO2OBkloL45zi9io015bp63Nt0lY=; b=jsI1Eb1I4ZMhJ0ZRLAbR Z86LyInN3a4nz2ZPtP2jh5+3qMCLi4QROUUG7vWo0zb+zvTEz7ezaAIbypadnmRFzGTwbNxn8rA5d BHge4p7lkMo6vudyrXuj2QlFwggB8tNgVnIpxk976xh+KYW4N1T94BBu43K0hWh4EDSTOvTprsfDq dnOsp2m6jfGubuzFEQmvvmASSWq93C1gyyK1enKpCjxlA0kh4U4Ldte7Vsv8I1mFBaJj9g3wlexgM LSmwh2679fG0qz1+6ckDz098wIF+zVwoF108WUCHP34ee8C03YHqPP1HcDkh7MmUuu9tOckvxl4tU wj/zlm5XBp5GNw==; From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: "jgart" Cc: guix-devel@gnu.org Subject: Re: guix refresh --update Removes Needed Dependencies In-Reply-To: (jgart@dismail.de's message of "Sat, 18 Nov 2023 01:59:51 +0000") References: X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: Duodi 2 Frimaire an 232 de la =?utf-8?Q?R=C3=A9volut?= =?utf-8?Q?ion=2C?= jour du Turneps X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Wed, 22 Nov 2023 22:45:48 +0100 Message-ID: <8734wxihrn.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: guix-devel@gnu.org X-Mailman-Version: 2.1.29 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -9.23 X-Spam-Score: -9.23 X-Migadu-Queue-Id: C7652443F8 X-Migadu-Scanner: mx13.migadu.com X-TUID: bm8hIukhHqV4 Hi jgart, "jgart" skribis: > ./pre-inst-env guix refresh --update python-sphinx [...] > - ;; The Sphinx LaTeX library '\RequirePackage' or \\usepackage > - ;; these: > - texlive-amsfonts ;amsmath, amssymb, amstext > - texlive-amsmath > - texlive-capt-of > - texlive-carlisle ;remreset To avoid this problem one can add package properties such as =E2=80=98updater-extra-native-inputs=E2=80=99 in this case: https://guix.gnu.org/manual/devel/en/html_node/Invoking-guix-refresh.html= #index-updater_002dextra_002dinputs_002c-package-property However, the way it=E2=80=99s implemented right now, you have to list the n= ame of every input that should be preserved by =E2=80=98guix refresh -u=E2=80= =99, which is inconvenient in this particular case because there are many of them. I can think of two ways to improve on that: 1. Use one of the =E2=80=98texlive-scheme-*=E2=80=99 packages instead of = this long list. :-) 2. Change the code to interpret extra inputs are regexps instead of names. Thoughts? Ludo=E2=80=99.