[Nix-dev] [Nix] Feature request for NixOS introspection.

Eelco Dolstra e.dolstra at tudelft.nl
Tue Dec 7 14:09:40 CET 2010


Hi,

On 12/07/2010 01:52 PM, Marc Weber wrote:

>> This could be a risk, how does toXML handles infinite recursions?
>  
>  What about trying?
> 
>  let x = { x = x; };
>  in builtins.toXML x
>  # nix-instantiate --eval-only test.nix
>  || /bin/sh: line 1: 27018 Segmentation fault      

Yes, that's a stack overflow.

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



More information about the nix-dev mailing list