Re: crate importer throws

2022-10-14 Thread Csepp


Maxime Devos  writes:

> [[PGP Signed Part:Undecided]]
>
>
> On 12-10-2022 17:50, jgart wrote:
>> On Wed, 12 Oct 2022 14:24:26 +0200 Maxime Devos  
>> wrote:
>> That still throws:
>> guix shell guile-semver -- guix import crate the-way
>> [...] WDYT
>
> I think you need to add 'guile' as well (profiles don't properly
> compose yet w.r.t. search paths):
>
> $ guix shell guile guile-semver -- guix import crate the-way
>
> Can't reproduce locally though ('guix import crate the-way' works for
> me even without 'guix shell guile guile-semver').
>
> $ guix describe
> Generatie 14  18:45:20 10 okt 2022(huidig)
>   guix f0a6aaf
> bewaarplaats-URL: https://git.savannah.gnu.org/git/guix.git
> tak: master
> commit: f0a6aafa22c2e7c7f33786dd7de7083a64401d01
>
> Greetings,
> Maxime.
>
> [2. OpenPGP public key --- application/pgp-keys; 
> OpenPGP_0x49E3EE22191725EE.asc]...
>
> [[End of PGP Signed Part]]

This works without adding guile:
guix shell --pure guile-semver -- "$(which guix)" import crate the-way
Any idea why?  I didn't add guix to the shell because I wanted it to use
the same guix profile.



Re: bug#58417: Installer script no longer works with `yes` utility

2022-10-14 Thread zimoun
Hi Tobias,

On Tue, 11 Oct 2022 at 18:26, Tobias Geerinckx-Rice  wrote:
> Jonas Freimuth 写道:

>> bash -c 'yes | bash guix-install.sh'
>
> While this happens to work (again) now, that doesn't mean it 
> always will or should be considered supported.
>
> We should reserve the right to ask future questions to which the 
> safe/sane/common answer is ‘no’, without phrasing it awkwardly 
> just to make an unthinking stream of ‘y’s happy.
>
>   $ guix-install.sh
>   …
>   Would you like to NOT enable the Cool Experimental Feature? 
>   (DANGER) [Y/n]

Personally, I am always confused by the negative form of a question. :-)


> Conversely, I'd like to add a comment that does commit to always 
> keeping ‘yes '' | bash guix-install.sh’ working, assuming there 
> was no other input or detected issues.  Also nice for humans in a 
> hurry.
>
> Does that seem unreasonable to anyone?

>From my point of view, it could nice to have a way to run the
installation script without any human action.  For instance, install
Guix in some GitHub/Gitlab CI.


Cheers,
simon