[Nix-dev] GNU Guix 0.1 released (alpha)

Ludovic Courtès ludo at gnu.org
Thu Jan 24 00:12:10 CET 2013


Shea Levy <shea at shealevy.com> skribis:

> On 01/21/2013 05:39 AM, Ludovic Courtès wrote:

[...]

>> In theory yes, because ‘import’ in the Nix language can import .drv
>> files–a little-known feature.  ;-)
>>
>> In practice, though, it can only do that if the .drv defines an
>> environment variable called ‘name’
>
> Why do you say this?

>From ‘prim_derivationStrict’:

    if (attr == args[0]->attrs->end())
        throw EvalError("required attribute `name' missing");

Thanks,
Ludo’.


More information about the nix-dev mailing list