all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Is there a way to see 'Globally-Installed Packages' from the CLI?
@ 2016-07-21 21:42 myglc2
  2016-07-22  8:35 ` Alex Kost
  0 siblings, 1 reply; 5+ messages in thread
From: myglc2 @ 2016-07-21 21:42 UTC (permalink / raw)
  To: help-guix

See subject. In other words can I produce the list shown by 'M-x
installed-system-packages' in the CLI?

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Is there a way to see 'Globally-Installed Packages' from the CLI?
  2016-07-21 21:42 Is there a way to see 'Globally-Installed Packages' from the CLI? myglc2
@ 2016-07-22  8:35 ` Alex Kost
  2016-07-22 10:10   ` Chris Marusich
  0 siblings, 1 reply; 5+ messages in thread
From: Alex Kost @ 2016-07-22  8:35 UTC (permalink / raw)
  To: myglc2; +Cc: help-guix

myglc2 (2016-07-22 00:42 +0300) wrote:

> See subject. In other words can I produce the list shown by 'M-x
> installed-system-packages' in the CLI?

guix package --list-installed --profile=/run/current-system/profile

-- 
Alex

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Is there a way to see 'Globally-Installed Packages' from the CLI?
  2016-07-22  8:35 ` Alex Kost
@ 2016-07-22 10:10   ` Chris Marusich
  2016-07-22 14:34     ` Ludovic Courtès
  0 siblings, 1 reply; 5+ messages in thread
From: Chris Marusich @ 2016-07-22 10:10 UTC (permalink / raw)
  To: Alex Kost; +Cc: myglc2, help-guix

[-- Attachment #1: Type: text/plain, Size: 4183 bytes --]

Alex Kost <alezost@gmail.com> writes:

> myglc2 (2016-07-22 00:42 +0300) wrote:
>
>> See subject. In other words can I produce the list shown by 'M-x
>> installed-system-packages' in the CLI?
>
> guix package --list-installed --profile=/run/current-system/profile

When I run this, it works.  However, when I point it at a profile in
/var/guix/profiles, it doesn't.  Do you know why that is?

--8<---------------cut here---------------start------------->8---
[0] marusich@garuda:~
$ ls -l /var/guix/profiles/system
lrwxrwxrwx 1 root root 33 Jul 14 06:31 /var/guix/profiles/system -> /var/guix/profiles/system-22-link
[0] marusich@garuda:~
$ ls -l /run/current-system/profile
lrwxrwxrwx 2 root guixbuild 51 Dec 31  1969 /run/current-system/profile -> /gnu/store/n7jiq9bsr0k8bjv6ygch0pywk6kgwgnj-profile
[0] marusich@garuda:~
$ ls -l /var/guix/profiles/system* | grep wgnj
[1] marusich@garuda:~
$ ls -l /var/guix/profiles/system* 
lrwxrwxrwx 1 root root 33 Jul 14 06:31 /var/guix/profiles/system -> /var/guix/profiles/system-22-link
lrwxrwxrwx 1 root root 50 Apr  4 22:28 /var/guix/profiles/system-10-link -> /gnu/store/61zpas4054vlba1fdgkf8gxwyj8jx00c-system
lrwxrwxrwx 1 root root 50 Apr  4 22:53 /var/guix/profiles/system-11-link -> /gnu/store/rq90ps8zzjnvk9xzz92lrq68m8vzjwiv-system
lrwxrwxrwx 1 root root 50 Apr  5 21:00 /var/guix/profiles/system-12-link -> /gnu/store/rq90ps8zzjnvk9xzz92lrq68m8vzjwiv-system
lrwxrwxrwx 1 root root 50 Apr  5 21:32 /var/guix/profiles/system-13-link -> /gnu/store/2hr9rnmwv0s14ra1laj0x74mv0960jd8-system
lrwxrwxrwx 1 root root 50 Apr  5 21:56 /var/guix/profiles/system-14-link -> /gnu/store/aqqkcj22kqwpqd02g9i358h5wwkamls5-system
lrwxrwxrwx 1 root root 50 Apr  5 22:19 /var/guix/profiles/system-15-link -> /gnu/store/2hr9rnmwv0s14ra1laj0x74mv0960jd8-system
lrwxrwxrwx 1 root root 50 Apr 10 17:51 /var/guix/profiles/system-16-link -> /gnu/store/d39y46xsi6323l7kalpivcb2w9v8w1qs-system
lrwxrwxrwx 1 root root 50 Apr 17 02:10 /var/guix/profiles/system-17-link -> /gnu/store/wb66g20gdbk33jj5j473h6id82kw03j9-system
lrwxrwxrwx 1 root root 50 May 13 22:40 /var/guix/profiles/system-18-link -> /gnu/store/0sy1bg7vwllk683jpcb0kwb500cdqikm-system
lrwxrwxrwx 1 root root 50 May 14 20:03 /var/guix/profiles/system-19-link -> /gnu/store/9qrbcq9rs0plyyqv1q4p3lzwl3zfkf50-system
lrwxrwxrwx 1 root root 50 Mar 27 00:37 /var/guix/profiles/system-1-link -> /gnu/store/fmjq0r5rbham4j8xfip33q1b697w8722-system
lrwxrwxrwx 1 root root 50 May 20 00:25 /var/guix/profiles/system-20-link -> /gnu/store/p901gblxkhk90aix2l9c6dj079zp1prd-system
lrwxrwxrwx 1 root root 50 Jun  5 13:52 /var/guix/profiles/system-21-link -> /gnu/store/hd8g61azl10ix2ck3pwyrv45kkqrjvr6-system
lrwxrwxrwx 1 root root 50 Jul 14 06:31 /var/guix/profiles/system-22-link -> /gnu/store/9i59d3rj1mpbzrr1fi0c3ba176ib00p2-system
lrwxrwxrwx 1 root root 50 Mar 29 00:40 /var/guix/profiles/system-2-link -> /gnu/store/f0xd9sw965fg21hfli2lx4bdxbg6xnvz-system
lrwxrwxrwx 1 root root 50 Mar 29 00:49 /var/guix/profiles/system-3-link -> /gnu/store/jglf06541sma9xp9210ms0vglixw1ydj-system
lrwxrwxrwx 1 root root 50 Mar 29 19:59 /var/guix/profiles/system-4-link -> /gnu/store/8hbigaxmhvrzn5i56363cv0hczyb15mb-system
lrwxrwxrwx 1 root root 50 Mar 29 22:55 /var/guix/profiles/system-5-link -> /gnu/store/aadf1163icgi8ki2h94chjim19s2x1x2-system
lrwxrwxrwx 1 root root 50 Mar 29 23:11 /var/guix/profiles/system-6-link -> /gnu/store/jglf06541sma9xp9210ms0vglixw1ydj-system
lrwxrwxrwx 1 root root 50 Apr  3 22:39 /var/guix/profiles/system-7-link -> /gnu/store/1qkdd4glvqjqf7azqniis7abkf7v1lng-system
lrwxrwxrwx 1 root root 50 Apr  4 21:07 /var/guix/profiles/system-8-link -> /gnu/store/rq90ps8zzjnvk9xzz92lrq68m8vzjwiv-system
lrwxrwxrwx 1 root root 50 Apr  4 21:53 /var/guix/profiles/system-9-link -> /gnu/store/rq90ps8zzjnvk9xzz92lrq68m8vzjwiv-system
[0] marusich@garuda:~
$ guix package --list-installed --profile=/var/guix/profiles/system
[0] marusich@garuda:~
$ 
--8<---------------cut here---------------end--------------->8---

I expected "guix package --list-installed
--profile=/var/guix/profiles/system" to work just as well, but it
didn't.

-- 
Chris

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 818 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Is there a way to see 'Globally-Installed Packages' from the CLI?
  2016-07-22 10:10   ` Chris Marusich
@ 2016-07-22 14:34     ` Ludovic Courtès
  2016-07-22 20:42       ` myglc2
  0 siblings, 1 reply; 5+ messages in thread
From: Ludovic Courtès @ 2016-07-22 14:34 UTC (permalink / raw)
  To: Chris Marusich; +Cc: Alex Kost, myglc2, help-guix

Chris Marusich <cmmarusich@gmail.com> skribis:

> $ guix package --list-installed --profile=/var/guix/profiles/system

The system (result of ‘guix system build’) has more than just a
“profile” in the Guix sense.  You need to do this instead:

  guix package -p /var/guix/profiles/system/profile -I

Ludo’.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Is there a way to see 'Globally-Installed Packages' from the CLI?
  2016-07-22 14:34     ` Ludovic Courtès
@ 2016-07-22 20:42       ` myglc2
  0 siblings, 0 replies; 5+ messages in thread
From: myglc2 @ 2016-07-22 20:42 UTC (permalink / raw)
  To: help-guix

ludo@gnu.org (Ludovic Courtès) writes:

> You need to do this instead:
>
>   guix package -p /var/guix/profiles/system/profile -I

Thanks.

Would it make sense to add an alias for this under 'guix system ...'?

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2016-07-22 20:44 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-07-21 21:42 Is there a way to see 'Globally-Installed Packages' from the CLI? myglc2
2016-07-22  8:35 ` Alex Kost
2016-07-22 10:10   ` Chris Marusich
2016-07-22 14:34     ` Ludovic Courtès
2016-07-22 20:42       ` myglc2

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.