all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* working on guix: how to
@ 2016-06-04 10:32 Catonano
  2016-06-04 11:22 ` Matthew Jordan
  2016-06-04 20:33 ` Ludovic Courtès
  0 siblings, 2 replies; 4+ messages in thread
From: Catonano @ 2016-06-04 10:32 UTC (permalink / raw)
  To: help-guix

[-- Attachment #1: Type: text/plain, Size: 611 bytes --]

Hello people

How do I hack on guix ?

I read about "guix environment guix" and that's ok

I also read that a special guile command can be thaught to Geiser so I
guess I could teach Geiser to use the Guile provided by "guix environment
guix". Right ?

But say I want to make a small modification on the actually running guix
and see the effect live.

How do I access the code of the guix running in the env provided by "guix
environment guix" ?

That is, how do I "incrementally" develop Guix ?

With "incrementally develop" I mean interactively testing snippets of code
and making small edits and then iterate

[-- Attachment #2: Type: text/html, Size: 851 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: working on guix: how to
  2016-06-04 10:32 working on guix: how to Catonano
@ 2016-06-04 11:22 ` Matthew Jordan
  2016-06-04 20:33 ` Ludovic Courtès
  1 sibling, 0 replies; 4+ messages in thread
From: Matthew Jordan @ 2016-06-04 11:22 UTC (permalink / raw)
  To: Catonano; +Cc: help-guix

Hi Catonano,

Here is what I usually do;

$ guix environment guix --ad-hoc help2man git strace
$ eval `guix environment guix --ad-hoc --search-paths help2man git strace`

Initial setup
$ git clone --recurse git://git.savannah.gnu.org/guix.git

Update
$ git pull --recurse-submodules

Build
$ ./bootstrap
$ ./configure --localstate=/var
$ make
$ make check

Runs in the foreground
#optional unless editing daemon code
$ sudo ./pre-inst-env guix-daemon --build-users-group=guixbuild

$ export GUIX_BUILD_OPTIONS="--keep-failed --verbosity=3"
$ ./pre-inst-env guix build hello &>/dev/stdout &>${BUILD_LOG}

The Guix manual also has some useful information on contributing.

Hope this helps.

-- 
Matthew Jordan
Sent with my mu4e

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: working on guix: how to
  2016-06-04 10:32 working on guix: how to Catonano
  2016-06-04 11:22 ` Matthew Jordan
@ 2016-06-04 20:33 ` Ludovic Courtès
  2016-06-06 10:48   ` Catonano
  1 sibling, 1 reply; 4+ messages in thread
From: Ludovic Courtès @ 2016-06-04 20:33 UTC (permalink / raw)
  To: Catonano; +Cc: help-guix

Hello!

Catonano <catonano@gmail.com> skribis:

> How do I hack on guix ?

As Matthew suggests, please take a look at:

  https://www.gnu.org/software/guix/manual/html_node/Contributing.html

If you find some questions are unanswered, please let us know!

HTH,
Ludo’.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: working on guix: how to
  2016-06-04 20:33 ` Ludovic Courtès
@ 2016-06-06 10:48   ` Catonano
  0 siblings, 0 replies; 4+ messages in thread
From: Catonano @ 2016-06-06 10:48 UTC (permalink / raw)
  To: Ludovic Courtès, Matthew Jordan; +Cc: help-guix

[-- Attachment #1: Type: text/plain, Size: 621 bytes --]

2016-06-04 22:33 GMT+02:00 Ludovic Courtès <ludo@gnu.org>:

> Hello!
>
> Catonano <catonano@gmail.com> skribis:
>
> > How do I hack on guix ?
>
> As Matthew suggests, please take a look at:
>
>   https://www.gnu.org/software/guix/manual/html_node/Contributing.html
>
> If you find some questions are unanswered, please let us know!
>
> HTH,
> Ludo’.
>

Thanks to the bot of you

I have a phobia for reading manuals and I had missed the art about how to
get to a REPL for an interactive session.

I managed to make the repl listen and have Geiser connect to it.

Now for the next question ;-)

[-- Attachment #2: Type: text/html, Size: 1266 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2016-06-06 10:48 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-06-04 10:32 working on guix: how to Catonano
2016-06-04 11:22 ` Matthew Jordan
2016-06-04 20:33 ` Ludovic Courtès
2016-06-06 10:48   ` Catonano

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.