Alex Kost 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