From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alex Kost Subject: bug#22981: guix-edit does not find git checkout directory Date: Fri, 11 Mar 2016 14:03:34 +0300 Message-ID: <87io0tnunt.fsf@gmail.com> References: <871t7iov3n.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:41561) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aeKrW-0002YA-7Q for bug-guix@gnu.org; Fri, 11 Mar 2016 06:04:07 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aeKrT-0003qP-1b for bug-guix@gnu.org; Fri, 11 Mar 2016 06:04:06 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:47207) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aeKrS-0003pv-UL for bug-guix@gnu.org; Fri, 11 Mar 2016 06:04:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84) (envelope-from ) id 1aeKrS-0006vX-Iw for bug-guix@gnu.org; Fri, 11 Mar 2016 06:04:02 -0500 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <871t7iov3n.fsf@gmail.com> (myglc2@gmail.com's message of "Thu, 10 Mar 2016 16:56: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: 22981@debbugs.gnu.org myglc2 (2016-03-11 00:56 +0300) wrote: > Situation: GuixSD sysetm managaed by user glc using a git checkout in > /home/glc/sre/guix. > > Problem: When I follow the manual to set up a vanila user (glc5) with a > separate git checkout in /home/glc5/src/guix, guix-edit does not find > the checkout source. > > Note: I followed comments from the #guix irc channel to set links in glc > and root that point to the glc checkout: > > glc@g1 ~/src/guix [env]$ stat ~/.config/guix/latest > File: =E2=80=98/home/glc/.config/guix/latest=E2=80=99 -> =E2=80=98../..= /src/guix=E2=80=99 > > glc@g1 ~/src/guix [env]$ stat /root/.config/guix/latest > File: =E2=80=98/root/.config/guix/latest=E2=80=99 -> =E2=80=98/home/glc= /src/guix=E2=80=99 > > > CREATE USER glc5 [...] > glc5@g1 ~/src$ stat ~/.config/guix/latest > stat: cannot stat =E2=80=98/home/glc5/.config/guix/latest=E2=80=99: No su= ch file or directory I don't understand, so you made the links for user 'glc', but then you check another user 'glc5'. If you run emacs under glc, and try "M-x guix-edit" there, you should be pointed to "~/.config/guix/latest". Since you didn't make such a link for 'glc5', you are pointed to the store. Anyway, you can configure any directory for "M-x guix-edit" by setting 'guix-directory' variable. See (info "(guix) Emacs Commands"). It is not in the hmtl manual yet. --=20 Alex