Re: Is there a NPM importer?

2020-05-19 Thread divoplade
Hello, Le lundi 18 mai 2020 à 17:00 -0400, Julien Lepiller a écrit : > We might be lucky and no other package might be needed. Now I understand the problem. Best regards

Re: Guix closure size of a system?

2020-05-19 Thread Pierre Neidhardt
`guix size -h` does not advertize that it can take derivations. Doc bug? I tried your trick but it seems to take forever. So I tried on a lighter package then: --8<---cut here---start->8--- > guix size zile store item

Re: Guix closure size of a system?

2020-05-19 Thread Marius Bakke
Pierre Neidhardt writes: > Hi! > > Is there a way to calculate the closure size of a system (as generated > by guix system reconfigure config.scm)? Try: 'guix size $(guix system build config.scm)'. Or for the currently running generation: 'guix size $(readlink -f /run/current-system)' signat

Re: Guix closure size of a system?

2020-05-19 Thread Tobias Geerinckx-Rice
Hullo Pierre, Pierre Neidhardt 写道: Is there a way to calculate the closure size of a system (as generated by guix system reconfigure config.scm)? Trivially! Guix does good the unix and composes: $ guix size `guix build /etc/guix/system.scm` allowing funtrospection like $ guix size `read

Re: Guix closure size of a system?

2020-05-19 Thread Julien Lepiller
Le 19 mai 2020 05:57:02 GMT-04:00, Pierre Neidhardt a écrit : >This works, thanks! > >Should we document it in `guix size -h`? > >I think the result is interesting with respect to the discussion we had >about shrinking the closure sizes in Guix: > >--8<---cut here---start-

Re: Guix closure size of a system?

2020-05-19 Thread Julien Lepiller
Le 19 mai 2020 08:50:39 GMT-04:00, Pierre Neidhardt a écrit : >Julien Lepiller writes: > >>>Moving the llvm libs to a "lib" output could reduce the closure size >of >>>many packages I believe. >>> >>>Thoughts? >> >> Llvm doesn't support that afaik. > >Does not support what? >Arch Linux has a sep

Access custom images inside disk image

2020-05-19 Thread Reza Alizadeh Majd
Hello, I built a modified version of Guix to have a series of custom Channels by default. using this modified version, everything is OK, and I have access to these custom channels by default. The problem is that when I create a disk image using this custom build of Guix, only default Guix channe

guile: warning: failed to install locale

2020-05-19 Thread znavko
Hi! After update guile says 'error: failed to install locale': $ guix pull && guix package -u ... building /gnu/store/gbnfw9mh8ij47sr1pg2m3ljz66acp0kp-guix-command.drv... building /gnu/store/rfhzb4kg8bifmcqhclbwfxy6rnpb6vnr-guix-daemon.drv... downloading from https://ci.guix.gnu.org/nar/lzip/id0x3

GUIX_LOCPATH message over and over again

2020-05-19 Thread Ekaitz Zarraga
Hi all, I made a guix pull the other day and since then I'm getting the classic: guile: warning: failed to install locale hint: Consider installing the `glibc-utf8-locales' or `glibc-locales' package and defining `GUIX_LOCPATH', along these lines: guix package -i glibc-utf8-locales

Re: Guix closure size of a system?

2020-05-19 Thread Leo Famulari
On Tue, May 19, 2020 at 11:57:02AM +0200, Pierre Neidhardt wrote: > /gnu/store/w8gjhcw6a16rk1dvxa97bz2znal5fihm-go-1.13.9 639.1 > 350.7 6.8% > - go: I think I've got go because of docker, but go should be a > build-time dependency, I don't think it belong here. Just FYI the Go

Re: guile: warning: failed to install locale

2020-05-19 Thread Leo Famulari
On Tue, May 19, 2020 at 02:33:58PM +, zna...@disroot.org wrote: > What to do? The issue is that the guix-daemon didn't get the new locales yet. You need to also do `guix pull` as root and then restart guix-daemon, assuming you use root's copy of guix-daemon. Otherwise, adjust the advice as ne

Re: GUIX_LOCPATH message over and over again

2020-05-19 Thread Leo Famulari
On Tue, May 19, 2020 at 03:17:32PM +, Ekaitz Zarraga wrote: > I made a guix pull the other day and since then I'm getting the classic: > > > guile: warning: failed to install locale > hint: Consider installing the `glibc-utf8-locales' or `glibc-locales' package > and defining `GUIX_LOCPA

Re: Guix closure size of a system?

2020-05-19 Thread Leo Famulari
On Tue, May 19, 2020 at 05:58:54PM +0200, Pierre Neidhardt wrote: > I haven't looked at the details, but > > --8<---cut here---start->8--- > > guix size docker > store item totalself > /gnu/store/w8gjhcw6

Re: Guix closure size of a system?

2020-05-19 Thread Leo Famulari
On Tue, May 19, 2020 at 06:46:14PM +0200, Pierre Neidhardt wrote: > Should I file a bug? I've done it:

[no subject]

2020-05-19 Thread Edison Ibáñez
Regards, I currently use xonsh as my user's shell, but the default version in GuixSD is 0.6.2 and the latest available is 0.9.18. I wrote a file to install the latest version of this package but I cannot set this version as my user's default shell. There is a way to update xons

Re: Update Xonsh

2020-05-19 Thread Edison Ibáñez
sorry i forgot to put the subject of this message El martes 19 de mayo del 2020 a las 1931 horas, Edison Ibáñez escribió: Regards, I currently use xonsh as my user's shell, but the default version in GuixSD is 0.6.2 and the latest available is 0.9.18. I wrote a file to inst

Re: Update Xonsh

2020-05-19 Thread Carlo Zancanaro
Hey Edison, One easy way to do this is to just put your package definition in config.scm, above your operating system definition. I haven't tried it with a shell, but the basic idea would be to have something like this: (define-public xonsh ... your package definition ...) (operating-syste

guile: warning: failed to install locale

2020-05-19 Thread Jérémy Korwin-Zmijowski
When I get that on my Ubuntu, I repeat this steps : $ guix pull $ guix package --install=glibc-locales $ guix upgrade $ sudo su # guix pull # guix package --install=glibc-locales # guix upgrade Then make sure super user and regular user share the same locales. Finally, I reboot.

GUIX_LOCPATH message over and over again

2020-05-19 Thread Jérémy Korwin-Zmijowski
When I get that on my Ubuntu, I repeat this steps : $ guix pull $ guix package --install=glibc-locales $ guix upgrade $ sudo su # guix pull # guix package --install=glibc-locales # guix upgrade Then make sure super user and regular users share the same locales. Finally, I reboot.