unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Efraim Flashner <efraim@flashner.co.il>
To: "Ludovic Courtès" <ludo@gnu.org>
Cc: jgart <jgart@dismail.de>, guix-devel@gnu.org
Subject: Re: guix refresh --update Removes Needed Dependencies
Date: Thu, 23 Nov 2023 09:08:43 +0200	[thread overview]
Message-ID: <ZV76e8NAz7EThV9V@3900XT> (raw)
In-Reply-To: <8734wxihrn.fsf@gnu.org>

[-- Attachment #1: Type: text/plain, Size: 1466 bytes --]

On Wed, Nov 22, 2023 at 10:45:48PM +0100, Ludovic Courtès wrote:
> Hi jgart,
> 
> "jgart" <jgart@dismail.de> 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
> ‘updater-extra-native-inputs’ 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’s implemented right now, you have to list the name
> of every input that should be preserved by ‘guix refresh -u’, 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 ‘texlive-scheme-*’ packages instead of this long
>      list.  :-)
> 
>   2. Change the code to interpret extra inputs are regexps instead of
>      names.

I like both ideas

-- 
Efraim Flashner   <efraim@flashner.co.il>   רנשלפ םירפא
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

  reply	other threads:[~2023-11-23  7:09 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-11-18  1:59 guix refresh --update Removes Needed Dependencies jgart
2023-11-22  9:47 ` Csepp
2023-11-22 21:45 ` Ludovic Courtès
2023-11-23  7:08   ` Efraim Flashner [this message]
2024-02-10 12:09 ` Ricardo Wurmus

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ZV76e8NAz7EThV9V@3900XT \
    --to=efraim@flashner.co.il \
    --cc=guix-devel@gnu.org \
    --cc=jgart@dismail.de \
    --cc=ludo@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).