[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Bugs in parsing build options
From: |
Alex Kost |
Subject: |
Re: Bugs in parsing build options |
Date: |
Mon, 01 Jun 2015 09:52:34 +0300 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) |
Ludovic Courtès (2015-05-31 22:32 +0300) wrote:
> Alex Kost <address@hidden> skribis:
>
>> 1. The following command:
>>
>> GUIX_BUILD_OPTIONS="--no-grub" guix package --help
>>
>> gives the following error:
>>
>> guix package: error: no-grub: unrecognized option
>>
>> So it makes impossible to use GUIX_BUILD_OPTIONS env var or did I miss
>> anything?
>
> GUIX_BUILD_OPTIONS is intended for options that related to building,
> namely those listed in ‘%standard-build-options’ in (guix scripts
> build).
>
> Conversely, ‘--no-grub’ is specific to ‘guix system’.
Ah, indeed! I missed that GUIX_BUILD_OPTIONS is intended to have only
‘build’ options, not ‘system’ ones, sorry.
>> 2. The manual says that ‘guix package’ «supports all the common build
>> options that ‘guix build’ supports» and the following command works
>> perfectly:
>>
>> guix build --system=i686-linux hello
>>
>> However, the following command:
>>
>> guix package --system=i686-linux --install hello
>>
>> gives an error again:
>>
>> guix package: error: system=i686-linux: unrecognized option
>
> Same issue: the manual is somewhat vague, but ‘--system’ is not in
> ‘%standard-build-options’.
>
> ‘--system’ was intentionally not added to ‘guix package’ on the grounds
> that it wouldn’t be very useful to install binaries built for another
> system in a profile.
>
> Now, I agree that the situation is different on “multi-personality”
> systems, so maybe we should revise that choice?
>
> Thoughts?
I believe that ‘guix package’ should support ‘--system’ option. At
least I have a need to install some packages of another system to my
profile.
--
Alex
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: Bugs in parsing build options,
Alex Kost <=