guix-devel
[Top][All Lists]
Advanced

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

Re: guix-shell?


From: Ludovic Courtès
Subject: Re: guix-shell?
Date: Thu, 28 Aug 2014 17:45:06 +0200
User-agent: Gnus/5.130011 (Ma Gnus v0.11) Emacs/24.3 (gnu/linux)

David Thompson <address@hidden> skribis:

> Hmm, I thought that this was a perfect use-case for profiles.  I haven't
> read the source to nix-shell yet, but I inferred that it essentially did
> the following:
>
> 1) Create profile in project directory
> 2) Install dependencies
> 3) Run the desired shell
> 4) Prepend the new profile's /bin to $PATH
> 5) Set search path env vars

Just to be clear, that’s something that can be done currently with:

  guix package -p foo -i one two three
  eval `guix package -p $PWD/foo --search-paths`
  export PATH="$PWD/foo/bin"

(We could easily get rid of the last step.)

Ludo’.



reply via email to

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