ludo@gnu.org (Ludovic Courtès) writes:
Toggle quote (18 lines)
> Alex Kost <alezost@gmail.com> skribis:>>> myglc2 (2016-02-08 18:08 +0300) wrote:>>>>> In guixSD, 'Globally-Visible Packages' packages installed accoding to>>> '7.2.1 Using the Configuration System' are not shown by 'M-x>>> guix-installed-packages' and are shown as uninstalled in the 'M-x>>> guix-all-packages' 'list' buffers.>>>> "M-x guix-installed-packages" shows the packages installed in a current>> profile (which is ~/.guix-profile by default), the same way as "guix>> package --list-installed" does. You can prefix this command with C-u to>> choose a profile you want. See also (info "(guix) Emacs Commands").>>>> If you want to look at the packages installed globally, you can run "M-x>> guix-system-generations" and press RET on the latest generation (I think>> for convenience we can add "M-x guix-system-packages" command).
WOW! That IS a beautiful thing. And, the Guix Pack Info ... AWESOME!
Toggle quote (8 lines)
>> Indeed, this is not a bug to me.> myglc2: if you think anything is unclear in the documentation, let us> know how we could improve it!>> Thanks,> Ludo’.
SIDEBAR:
I hope it is OK that I am taking the liberty of reporting things thatseem counterintutive or difficult to understand in the bugschannel. These may well be operator error or misunderstandings on mypart. I am happy to report in a different channel if that is better. Orto have you say, "enough of this!"
About me: I want to never learn another distribution, package manager,configuration approach, or deployment manager. So I really want you tosucceed. I have spent ~ 3 weeks studying and using Nix, NixOS andguixSD. I have used computers to build models since 1975 and I hope touse guix in my next work. I figure that if something puzzles me, it maybe puzzeling to others and a barrier to guix' adoption. I want to helpreduce such barriers.
I am writing in the first person to convey the way that I visualize thatyour new users, which hopefully will come and stay to play, mightexperience guix. It is not my intent to pick on guix or the doc, both ofwhich are truly outstanding.
BACK TO THE "BUG"
Yes, it is probably not a bug in a technical sense and/or given the wayyou conceptualize guix. But, at the risk of being a bore, may I pleaserestate:
It seemed really counterintuitive that when I did ...
'M-x guix-installed packages'
... I saw ...
"No package outputs installed in profile '/var/guix/profiles/per-user/glc/guix-profile'."
My concern is that this experience might leave a new user thinking,"Geez, I know back in the fog of the USB install I added packages. Whatkind of package manager is this? It doesn't show me the packages that Ipainfully typed in using zile at the console". IMO this is the kind ofdoubt that can undermine confidence during the critical first few hoursof software test driving and lead a user to abandon the experment.
My own experience: I had been going back to the config.scm files ortyping 'which' to see what was installed. I knew there were generations.But believe it or not, in the course of working with guixSD for ~ 10days, I had not used ...
1) "M-x guix-system-generations"
2) press RET on the latest generation
So say I am a dummy. I am fine with that.
But, wouldn't it be better to combine these functions so even a duummywill see all the packages?
Maybe later, for the roadmap?