Hi Tanguy,

On Tue, 18 Oct 2022 at 18:19, Tanguy LE CARROUR <tan...@bioneland.org> wrote:

> ```console
> $ guix package -I | awk '{print $1}' | tr '\n' ' ' | xargs guix refresh 2>&1 
> | ag -v "already" | ag -v "failed" | ag -v "no updater" | ag -v "warning"
> ```
>
> Yeah, I know… ugly! But, it does (part of) the job! 😎

Well, if you are using a manifest file, you can directly pass it to
’guix refresh‘.  Otherwise,

    guix package --export-manifest > /tmp/my-pkgs.scm
    guix refresh -m /tmp/my-pkgs.scm 2>&1 | ...

And even, being in a checkout of Guix,

    guix refresh -m /tmp/my-pkgs.scm --update

and then give a look at the script etc/committer.scm.


Cheers,
simon



Reply via email to