[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Notes from discussion on Quality Assurance from the 10 Years of Guix
From: |
zimoun |
Subject: |
Re: Notes from discussion on Quality Assurance from the 10 Years of Guix event |
Date: |
Wed, 19 Oct 2022 11:57:15 +0200 |
Hi Tanguy,
On Tue, 18 Oct 2022 at 18:19, Tanguy LE CARROUR <tanguy@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