guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 02/05: guix package: -A and -s take supported systems into account.


From: Ludovic Courtès
Subject: Re: 02/05: guix package: -A and -s take supported systems into account.
Date: Thu, 23 Apr 2015 11:47:51 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)

Mark H Weaver <address@hidden> skribis:

> Ludovic Courtès <address@hidden> writes:
>
>> commit 5763ad9266ec7682d53b87a874fc6ae04f92b6c4
>> Author: Ludovic Courtès <address@hidden>
>> Date:   Sun Apr 19 19:12:22 2015 +0200
>>
>>     guix package: -A and -s take supported systems into account.
>>     
>>     * guix/scripts/package.scm (guix-package)[process-query]
>>       <list-available>: Restrict results to packages matching
>>       'supported-package?".
>
> This breaks "guix package -A" on armhf, because it is not in
> %supported-systems.  If we add it to %supported-systems, then
> 'hydra-jobs' in build-aux/hydra/gnu-system.scm will create jobs for
> armhf which will all fail.

As discussed on IRC, the right thing is what you did, namely adding a
%hydra-supported-systems for use by Hydra.

> Also, this commit does not appear to make "guix package -s" take
> supported systems into account.  That command still works on armhf.

The subject line of the commit was misleading: -s actually still reports
all the available packages, but with an added ‘systems:’ line.

> Anyway, it's not clear to me that guix package -A and -s _should_ take
> supported systems into account.  Very often, I will use those commands
> to look for an existing package before adding it.  If no results are
> printed, I assume that I will need to add the package.  If the package
> exists but is not supported on my platform, I'd still like to know that
> it exists and to see where its definition can be found.
>
> What do you think?

I thought it might be helpful for -A/--list-available to only list
packages that are really “available” in the sense that they can be
built, to avoid deluding users.

Now, I’m open to suggestions.  If that is considered rather unhelpful,
we can still change it back.

Thanks,
Ludo’.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]