From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alex Kost Subject: Re: 2 (possible) problems in documentation Date: Sun, 01 Nov 2015 18:13:38 +0300 Message-ID: <87r3k9n465.fsf@gmail.com> References: <87wpu2kaa3.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:46278) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZsuKE-00077d-Ss for guix-devel@gnu.org; Sun, 01 Nov 2015 10:13:43 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZsuKB-0002iJ-HK for guix-devel@gnu.org; Sun, 01 Nov 2015 10:13:42 -0500 Received: from mail-lf0-x22e.google.com ([2a00:1450:4010:c07::22e]:36696) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZsuKB-0002iD-AV for guix-devel@gnu.org; Sun, 01 Nov 2015 10:13:39 -0500 Received: by lffz202 with SMTP id z202so52395738lff.3 for ; Sun, 01 Nov 2015 07:13:38 -0800 (PST) In-Reply-To: (Alex Vong's message of "Sun, 1 Nov 2015 11:22:00 +0800") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: Alex Vong Cc: guix-devel@gnu.org Alex Vong (2015-11-01 06:22 +0300) wrote: > On 01/11/2015, Alex Kost wrote: >> Alex Vong (2015-10-31 14:27 +0300) wrote: [...] >>> 2. In >>> , >>> it said "To that end, all the command-line tools can be used even if >>> you have not run make install.". However, in the case of "guix pull", >>> it is not true. Even if "guix pull" does run properly, it will not >>> update the source tree you have downloaded, so you end up with running >>> the original compiled version of Guix. Obviously, I was a victim :) >> >> Sorry, I don't understand what you mean here. "guix pull" can't update >> the source tree you downloaded. It fetches the latest guix source, >> compiles it, put it to the store and link "~/.config/guix/latest" to it. >> Then the Guix code from this directory when you run "guix ..." commands. >> >> If you use the described "pre-inst-env" method, the code from the git >> directory is used instead, and running "guix pull" doesn't effect >> ".../pre-inst-env guix" commands in any way. Here instead of "guix >> pull" you use "git pull" and "make". >> > What I mean is "guix pull" only works after Guix is installed, so what > the documentation says, "To that end, all the command-line tools can > be used even if you have not run make install", is inaccurate. Should > we note this in the documentation? IMO it is accurate, because "./pre-inst-env guix pull" also works; it just doesn't work the way you thought. But if you find the documentation confusing you are welcome to improve it :-) -- Alex