all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Christopher Allan Webber <cwebber@dustycloud.org>
To: "Ludovic Courtès" <ludo@gnu.org>
Cc: guix <guix-devel@gnu.org>, Feng Shu <tumashu@163.com>
Subject: Re: Is it possible add 'Guix package manager without "make install"' to guix doc?
Date: Sat, 23 May 2015 12:22:39 -0500	[thread overview]
Message-ID: <878ucf2ma7.fsf@earlgrey.lan> (raw)
In-Reply-To: <87zj4ve6nm.fsf@gnu.org>

Ludovic Courtès writes:

> Christopher Allan Webber <cwebber@dustycloud.org> skribis:
>
>> Ludovic Courtès writes:
>
> [...]
>
>>> What I would like is to have a “Guix Development” section in the manual,
>>> along the lines of “Running Guix before it is installed” in ‘HACKING’,
>>> but marked as a developer’s trick.
>>
>> That sounds like a good idea.
>
> Done in c71979f.  Comments & patches welcome!  :-)

Hey nice!

>>> I do not feel like explicitly inviting users to do “alias
>>> guix=~/guix/pre-inst-env guix”, though, because that seems a bit hacky.
>>> ;-)
>>>
>>> WDYT?
>>
>> Do you have an alternative suggestion so that running guix easily in
>> bash is possible?  Per my current blogpost, this alias is only set up
>> after running guix-enable.  I agree it's not ideal, and am open to alternatives.
>
> I think if we document ./pre-inst-env, then it’ll be clear that people
> can do this sort of thing.  All I’m saying is that I’d rather not
> document the technique from your post in extenso because that’s not very
> nice.

Makes sense.

Btw a bit of a tangent but ./pre-inst-env is an interesting technique
that I learned for my own Guile hacking stuff because Dave Thompson
pointed it out to me in Sly (which in turn borrowed from Guix), and
learning that I could hack on things by running "./pre-inst-env guile
--listen" then using connect-to-guile in geiser... that's another one of
those techniques which seems known in the community but I only found out
because I know someone who knows. :) But it's a good pattern!  I wonder
if we should have recommendations on how to hack on and package guile
stuff somewhere.  But I guess that's a guile-dev or guile-user
conversation...

> I confess that, being biased as I am ;-), I don’t fully understand the
> rationale: after all, you’re already installing /gnu and
> /usr/local/var/guix, so why is it so important to not install two more
> files in /usr/local/bin?
>
> But really, it’s just me being ignorant about the use case, so I’m happy
> to read what people think/want.

Well, for me it's two reasons:
 - I've had pain with things being dumped to /usr/local/ and then
   trouble removing the whole thing before, not to mention forgetting
   that they're there.  I try to avoid installing to my system unless
   using a package manager (and now, guix counts as one of those ;))
 - I also wanted to hack on guix and guix packages... I guess, maybe
   it's possible to do with a make install?  But given that I'm
   interactively hacking on the project, wouldn't I want to not have to
   do a "make install" every time and instead use whatever's in git?

   Similarly, I've wondered, how do GuixSD users hack on Guix, if Guix
   is already installed system-wide?  Genuine question!

>>> For the Emacs part, I think setting ‘load-path’,
>>> ‘geiser-guile-load-path’, and ‘guix-load-path’ would be enough.  Maybe
>>> that part of the doc needs to be adjusted?
>>
>> Does that work?
>
> I have ~/src/guix/emacs in ‘load-path’ and ~/src/guix in
> ‘geiser-guile-load-path’, and that’s all it takes, AFAICS.  Alex?

Aha, ok!

> Thanks for your feedback!
>
> Ludo’.

Thanks for integrating!

  reply	other threads:[~2015-05-23 18:14 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-05-22  0:27 Is it possible add 'Guix package manager without "make install"' to guix doc? Feng Shu
2015-05-22 16:03 ` Christopher Allan Webber
2015-05-22 16:30   ` Ludovic Courtès
2015-05-22 19:01     ` Christopher Allan Webber
2015-05-23 13:59       ` Ludovic Courtès
2015-05-23 17:22         ` Christopher Allan Webber [this message]
2015-05-27 19:49           ` Ludovic Courtès
2015-05-27 20:39             ` Mathieu Lirzin
2015-05-29 20:59               ` Ludovic Courtès
2015-05-30 13:53                 ` Mathieu Lirzin
2015-05-31 19:20                   ` Merging ‘HACKING’ in the manual? Ludovic Courtès
2015-06-01  0:38                     ` Luis Felipe López Acevedo
2015-06-01 19:34                       ` Ludovic Courtès
2015-06-01 19:58                         ` Ricardo Wurmus
2015-06-03  8:17                           ` Ludovic Courtès
2015-06-04 11:59                             ` Mathieu Lirzin
2015-06-01  7:06                     ` Alex Kost
2015-05-23 19:03         ` Is it possible add 'Guix package manager without "make install"' to guix doc? Alex Kost

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=878ucf2ma7.fsf@earlgrey.lan \
    --to=cwebber@dustycloud.org \
    --cc=guix-devel@gnu.org \
    --cc=ludo@gnu.org \
    --cc=tumashu@163.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.