all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Alex Kost <alezost@gmail.com>
To: myglc2 <myglc2@gmail.com>
Cc: 22981@debbugs.gnu.org
Subject: bug#22981: guix-edit does not find git checkout directory
Date: Fri, 11 Mar 2016 14:03:34 +0300	[thread overview]
Message-ID: <87io0tnunt.fsf@gmail.com> (raw)
In-Reply-To: <871t7iov3n.fsf@gmail.com> (myglc2@gmail.com's message of "Thu, 10 Mar 2016 16:56:28 -0500")

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: ‘/home/glc/.config/guix/latest’ -> ‘../../src/guix’
>
> glc@g1 ~/src/guix [env]$ stat /root/.config/guix/latest
>   File: ‘/root/.config/guix/latest’ -> ‘/home/glc/src/guix’
>
>
> CREATE USER glc5
[...]
> glc5@g1 ~/src$ stat ~/.config/guix/latest
> stat: cannot stat ‘/home/glc5/.config/guix/latest’: No such 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.

-- 
Alex

  reply	other threads:[~2016-03-11 11:04 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-03-10 21:56 bug#22981: guix-edit does not find git checkout directory myglc2
2016-03-11 11:03 ` Alex Kost [this message]
2016-03-11 14:45   ` myglc2
2016-03-12  9:15     ` Alex Kost
2016-03-13  2:00       ` myglc2
2016-03-13  9:38         ` Alex Kost
2016-03-13 15:42           ` myglc2
2016-03-13 22:01             ` Ludovic Courtès
2016-03-14  8:02               ` Alex Kost
2016-03-24 20:02                 ` Ludovic Courtès
2016-03-25  1:18                   ` myglc2

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87io0tnunt.fsf@gmail.com \
    --to=alezost@gmail.com \
    --cc=22981@debbugs.gnu.org \
    --cc=myglc2@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.