Shea Levy <s...@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’. _______________________________________________ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev