Re: Emacs in multiple profiles

2019-11-02 Thread Pierre Neidhardt
Maxim Cournoyer writes: > But that's not too big an issue for Emacs when using Emacs-Guix, as one > can do `guix-set-emacs-environment' and choose a profile to re-read and > set (in Emacs itself) its environment variables. Re-running > 'guix-emacs-autoload-packages' would then refresh the autolo

Unexpected results with Guix.

2019-11-02 Thread Jone
Hello, peolpe! I cannot understand results of this simple sequence of actions: First, update Icecat: guix package -u icecat and then later remove it: guix package -r icecat and view /gnu/store: du -hs -l -t 1M /gnu/store/* | grep -E 'rust|icecat' 274M/gnu/store/0p4blr576rjzpyybfmvygny6ra641w0p

Re: Unexpected results with Guix.

2019-11-02 Thread Tobias Geerinckx-Rice
Jone, Jone 写道: I used to deal only with rpm package manager - there unnecessary dependencies would be removed automatically. How do I get the same result with Guix? I don't have much space on the partition =) Very quick answer: ‘guix gc’. Kind regards, T G-R signature.asc Description: PG

Re: Unexpected results with Guix.

2019-11-02 Thread Tobias Geerinckx-Rice
Jone, Tobias Geerinckx-Rice 写道: Jone 写道: I used to deal only with rpm package manager - there unnecessary dependencies would be removed automatically. How do I get the same result with Guix? I don't have much space on the partition =) Very quick answer: ‘guix gc’. OK, slightly longer ans

Re: Unexpected results with Guix.

2019-11-02 Thread Jone
Thanks, I figured out the basic things. > If the old icecat is still referenced by an old profile, you'll have to > remove this profile first. > guix package --delete-generations=1m Currently the profle contains only one generation, previous generations was deleted immediately after command 'guix

Re: Unexpected results with Guix.

2019-11-02 Thread Jone
Tobias, in answer to Pierre I have added some additional information. I read the help and manual (but partially), and anywhere is no description of my case. Or in other words, I didn't understand what I didn't understand! Sorry. (It would be very nice in addition to the manual to have any simple

Re: Unexpected results with Guix.

2019-11-02 Thread pelzflorian (Florian Pelz)
The Guix documentation videos explain common usage. They can be found on the Guix website since only a few days ago. For example, reclaiming space is explained at minute 1:01 here: https://guix.gnu.org/videos/everyday-use-of-gnu-guix,-part-two/index.html I hope these videos are prominent enoug

Re: Unexpected results with Guix.

2019-11-02 Thread Jone
> How do you list your generations? ❯ guix package -l | grep Generation Generation 158 Nov 02 2019 15:27:19(current) > But it won't work since your old icecat is still live. It seems so: ❯ guix gc -d /gnu/store/50530hgnzkxgkqciip68dn7v23cslw1c-icecat-60.8.0-guix1/ guix gc: warning: '-d' as

Re: Unexpected results with Guix.

2019-11-02 Thread pelzflorian (Florian Pelz)
Sorry for not recognizing the issue might be more difficult than the Guix videos. On Sat, Nov 02, 2019 at 06:49:57PM +, Jone wrote: > > You can see what requires it with guix gc -R .. > 183 lines.. this does not give an any answer. I'm at a loss.. > I believe guix gc --referrers /gnu/store

Re: Unexpected results with Guix.

2019-11-02 Thread Jone
Thanks for reminder about /var/guix/profiles. ❯ guix package -l | grep Generation Generation 158 Nov 02 2019 15:27:19(current) ❯ ls -1 /var/guix/profiles/per-user/jone/ current-guix current-guix-16-link guix-profile guix-profile-158-link current-guix -> current-guix-16-link current-guix-1

recompiling with custom flags

2019-11-02 Thread raingloom
Has anyone looked into compiling things like the C++ stdlib with sanitization? My use case right now is just some programming homework I wanna test for race conditions, but I suspect some people would like to be able to recompile their system with additional hardening.

Re: Unexpected results with Guix.

2019-11-02 Thread pelzflorian (Florian Pelz)
On Sun, Nov 03, 2019 at 03:26:01AM +, Jone wrote: > Thanks for reminder about /var/guix/profiles. > > ❯ guix package -l | grep Generation > Generation 158Nov 02 2019 15:27:19(current) > ❯ ls -1 /var/guix/profiles/per-user/jone/ > current-guix > current-guix-16-link > guix-profile >