From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alex Kost Subject: bug#22600: 'Globally-Visible Packages' not shown by 'M-x guix-installed-packages' Date: Wed, 10 Feb 2016 12:04:29 +0300 Message-ID: <87pow5542q.fsf@gmail.com> References: <87zivb6xyy.fsf@gmail.com> <87egcmrhjj.fsf@gmail.com> <87d1s6u870.fsf@gnu.org> <87io1y7h1r.fsf@gmail.com> <871t8lbsg6.fsf@gmail.com> <87bn7p5mbf.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:59619) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aTQhv-0000Wm-IP for bug-guix@gnu.org; Wed, 10 Feb 2016 04:05:08 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aTQhq-0007Wy-Gx for bug-guix@gnu.org; Wed, 10 Feb 2016 04:05:07 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:53308) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aTQhq-0007Wu-D6 for bug-guix@gnu.org; Wed, 10 Feb 2016 04:05:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84) (envelope-from ) id 1aTQhq-0004yS-4h for bug-guix@gnu.org; Wed, 10 Feb 2016 04:05:02 -0500 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <87bn7p5mbf.fsf@gmail.com> (myglc2@gmail.com's message of "Tue, 09 Feb 2016 21:30:28 -0500") List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org To: myglc2 Cc: 22600@debbugs.gnu.org myglc2 (2016-02-10 05:30 +0300) wrote: > Alex Kost writes: > [...] >> As I suggested in the previous mail, we can add "M-x guix-system-packages". >> Maybe it would be good to add "M-x guix-user-packages", or maybe name them: >> >> - guix-installed-system-packages (for /run/current-system/profile) >> - guix-installed-user-packages (for ~/.guix-profile) >> >> And to leave "M-x guix-installed-packages" for an arbitrary profile >> specified by a user. WDYT? > > I like it. I tried to summarize what I think I understand in the table > below. Could you take a look and fix it up? > > | Recipe Source | install | Profile | UI access | Scope | Generations | > |-------------------------+----------------------------------------------------------------------------+-----------------------------+--------------------------------------+--------+-----------------------------| > | guix pull | sudo guix system reconfigure | /run/current-system/profile | * M-x guix-installed-system-packages | global | M-x guix-system-generations | > | guix pull | guix -i | ~/.guix-profile | * M-x guix-installed-user-packages | global | M-x guix-generations | guix package -i > | | | | | | | > | git pull w/wo user mods | [env]$ sudo ./pre-inst-env guix system reconfigure ../configs/config.k.scm | /run/current-system/profile | * M-x guix-installed-system-packages | user | M-x guix-system-generations | > | git pull w/wo user mods | ??? | ~/.guix-profile | * M-x guix-installed-user-packages | user | M-x guix-generations | I don't understand what "w/wo user mods" means, but if you are talking about running guix commands using a git repo; "pre-inst-env" is the way to go, for example: "./pre-inst-env guix package -i ..." > | | ??? | | M-x guix-installed-packages | ouser | ??? | For a custom package (if that's what you mean), it's the same: "guix package -i ", but at first you need to add a directory with your packages to GUIX_PACKAGE_PATH as described in the manual: (info "(guix) Package Modules") If you want to install packages in an arbitrary profile, run "guix package" command with "--profile=..." option. > Notes: > * - proposed > ??? - don't know Also I don't understand what "scope" column means. -- Alex