[Nix-dev] Resolution context of `require' paths

Eelco Dolstra e.dolstra at tudelft.nl
Tue Jun 30 11:39:33 CEST 2009


Eelco Dolstra wrote:

> Nicolas Pierron wrote:
> 
>> On Tue, Jun 30, 2009 at 09:50, Ludovic Courtès<ludo at gnu.org> wrote:
>>> Hello,
>>>
>>> The `modular-nixos' branch introduces `require' statements, which now
>>> take a path, e.g.,
>>>
>>>  require = [ ./nixos/hardware/network/intel-4965agn.nix ];
>>>
>>> The problem is that the resolution context of this relative path is
>>> often problematic.
>> I don't consider this being a problem.
> 
> I do consider this a problem:
[...]

And I forgot:

- The filenames aren't documented anywhere, as opposed to the configuration
options.  Grepping the source tree for something that looks like the right
module for your hardware isn't very nice :-)

-- 
Eelco Dolstra | http://www.st.ewi.tudelft.nl/~dolstra/



More information about the nix-dev mailing list