guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] HACKING: Mention 'guix environment'.


From: Ludovic Courtès
Subject: Re: [PATCH] HACKING: Mention 'guix environment'.
Date: Sun, 23 Nov 2014 21:26:38 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux)

David Thompson <address@hidden> skribis:

> Just today I used 'guix environment guix' to quickly create a
> development environment for Guix hacking.  I figured it should be
> mentioned in the HACKING file to assist developers that happen to
> already by using a Guix system.
>
> WDYT?

Sure, please commit!  I thought I had done it, but no.

> +If you are building Guix on a system that already runs Guix, you can use 
> 'guix
> +environment' to spawn a shell whose environment contains all of the necessary
> +packages without installing them to your user profile:
> +
> +  guix environment guix

This is true only when ‘guix’ refers to the development version, which
has the autotools etc. as inputs.

I think it would be nice to have a ‘--install’ option to specify
additional packages to add to the environment, so that one could do
(say):

  guix environment mpc -i autoconf automake libtool

and get a really complete development environment.

(We discussed this on IRC some time ago, but I think we had overlooked
this simple solution.)

WDYT?

Ludo’.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]