From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alex Vong Subject: Re: guix package modif testing Date: Thu, 28 Jul 2016 03:03:29 +0800 Message-ID: <87zip252f2.fsf@gmail.com> References: <20160727132525.GB4819@solar> <877fc75gyl.fsf@gmail.com> <20160727162101.GB5300@solar> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:39540) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bSU7J-00087i-UR for guix-devel@gnu.org; Wed, 27 Jul 2016 15:03:43 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bSU7F-000614-Uy for guix-devel@gnu.org; Wed, 27 Jul 2016 15:03:41 -0400 Received: from mail-pf0-x22a.google.com ([2607:f8b0:400e:c00::22a]:33350) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bSU7F-000610-Nv for guix-devel@gnu.org; Wed, 27 Jul 2016 15:03:37 -0400 Received: by mail-pf0-x22a.google.com with SMTP id y134so13550679pfg.0 for ; Wed, 27 Jul 2016 12:03:37 -0700 (PDT) In-Reply-To: (Vincent Legoll's message of "Wed, 27 Jul 2016 18:37:26 +0200") 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" To: Vincent Legoll Cc: guix-devel Hi Vincent, Vincent Legoll writes: >> .config/guix/latest is itself a link into /gnu/store/..., so cannot be >> changed. You should work with a git checkout - so do a "git pull", not >> a "guix pull"! > > The thing I still miss is that: how do I make guix use a different git > checkout ? > > Is there a GUIX_CHECKOUT_PATH env var, a CLI parameter, or > ./boostrap & ./pre-inst-env done in the checkout does all the magic ? I think you are confusing the system you are running (Guix SD) and the system you are developing (the Guix git repo). `.config/guix/latest' is part of the your running system, so it is not the place you want to experiment with changes. To develop Guix, you need to clone its git repo by running: $ git clone git://git.savannah.gnu.org/guix.git Then, you can `cd' into the cloned repo and start running the `./boostrap' stuffs and so on... In case you are new to git, you can read the git book (https://git-scm.com/book/en/v2) or simply search for it on the Internet, Stackoverflow is the place where I learn most of git. Cheers, Alex