unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: myglc2 <myglc2@gmail.com>
To: 22981@debbugs.gnu.org
Subject: bug#22981: guix-edit does not find git checkout directory
Date: Sat, 12 Mar 2016 21:00:29 -0500	[thread overview]
Message-ID: <8737rv2l36.fsf@gmail.com> (raw)
In-Reply-To: <871t7iov3n.fsf@gmail.com>

Alex Kost <alezost@gmail.com> writes:

> myglc2 (2016-03-11 17:45 +0300) wrote:
>
>> Alex Kost <alezost@gmail.com> writes:
> [...]
>>> 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.
>>
>> But what is the _recommended_ way to do this?
>
> I would say the recommended way is A, as it only effects this particular
> task (sets a default directory with guix packages for emacs), but this
> is free software(!), you can use whatever you like and the way you want.
>
>> A) set 'guix-directory' variable in emacs init file?
>
> I set this var in my emacs config.
>
>> B) make symbolic link to ~/src/guix from ~/.config/guix/latest?
>
> Actually, I use this too, because this is one of the general solutions
> to use guix from a git checkout.
>
>> C) something else?
>
> Christopher Allan Webber invented another interesting way of using guix
> emacs stuff with guix from git¹:
>
> (setq guix-guile-program '(".../guix/pre-inst-env" "guile"))
>
>> And if a _new_ user starts reading in "8.1 Building from Git", how do
>> they find this information?
>
> Since you want to use "M-x guix-edit" command, you are supposed to read
> its docstring (C-h f guix-edit) or a part of the manual where it is
> described.  You can learn about 'guix-directory' variable from both
> places.
>
> ¹ http://dustycloud.org/blog/guix-package-manager-without-make-install

Thank you for this great summary. This list + the post you referenced
make me feel better that I am taking so long to figure Guix out ;)

OTOH, guix as more state-full than I had hoped ;(

I suggest that you think of it this way: You are running an easter egg
hunt (I hope this is an OK analogy). You have awesome eggs (No kidding,
I can attest that the Guix eggs are truly awesome).  When the children
find the eggs they will be truly happy. But the eggs are hard to
find. If the children don't find the eggs they will not be happy!  Worse
yet, your eggs will be wasted! So ... make it easy for children to find
your eggs.

You probably already thought of this: Can guix be made easier to use by
converting some of the state-full guix configuration into guix recipe
inputs?

  reply	other threads:[~2016-03-13  1:59 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
2016-03-11 14:45   ` myglc2
2016-03-12  9:15     ` Alex Kost
2016-03-13  2:00       ` myglc2 [this message]
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

  List information: https://guix.gnu.org/

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

  git send-email \
    --in-reply-to=8737rv2l36.fsf@gmail.com \
    --to=myglc2@gmail.com \
    --cc=22981@debbugs.gnu.org \
    /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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).