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: Sun, 21 Sep 2014 21:54:36 +0200
User-agent: Gnus/5.130011 (Ma Gnus v0.11) Emacs/24.3 (gnu/linux)

David Thompson <address@hidden> skribis:

> I abandoned the profile approach and tried to implement something
> similar to what nix-shell does: Build all input derivations and set the
> environment variables that a builder would set.  My primary reason for
> using the low-level derivations instead of high-level package inputs is
> that the derivations include information about all of the implicit
> inputs as well.

That makes sense.

What about:

  1. Computing the list of search-path-specifications of all the
     transitive inputs of the package, the way ‘package-derivation’
     does it;

  2. Computing, based on these specifications and all the input
     derivations, the actual search paths, the way ‘set-paths’ does it?

Unless I’m mistaken, this would be equivalent to what happens with
‘build-system’ implementations, so that should work.

HTH!
Ludo’.



reply via email to

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