[Nix-dev] Using the NixOS Hydra module leads to infinite recursion

Moritz Ulrich moritz at tarn-vedra.de
Mon Apr 20 11:22:43 CEST 2015


I can't tell you why, but using a local git clone of hydra and doing
hydra = /home/.../hydra.git/ works for me. I'd rather like to stay with
the fetchgit-approach, so maybe someone who knows more than me can chime
in.

(Sorry you get this twice, Mateusz, I failed at 'Reply All')

Mateusz Kowalczyk <fuuzetsu at fuuzetsu.co.uk> writes:

> Hi,
>
> For a while now I've been binding hydra = fetchgit… and then require = [
> ${hydra}/hydra-module.nix ] later down the file and using the module
> options that way. This worked fine but now I get infinite recursion when
> I try it. Does anyone know what changed and/or how to fix it?
>
>
> [root at yuuki:~]# nixos-rebuild dry-run -I 'nixpkgs=/root/nixpkgs' -I
> 'nixos=/root/nixpkgs/nixos' --show-trace
> building the system configuration...
> error: while evaluating the attribute ‘config.system.build.toplevel’ at
> "/root/nixpkgs/nixos/lib/eval-config.nix":50:5:
> while evaluating the attribute ‘config’ at
> "/root/nixpkgs/lib/modules.nix":82:25:
> while evaluating ‘yieldConfig’ at "/root/nixpkgs/lib/modules.nix":69:29,
> called from "/root/nixpkgs/lib/modules.nix":68:16:
> while evaluating ‘mergeModules’ at
> "/root/nixpkgs/lib/modules.nix":160:26, called from
> "/root/nixpkgs/lib/modules.nix":59:17:
> while evaluating ‘mergeModules'’ at
> "/root/nixpkgs/lib/modules.nix":164:36, called from
> "/root/nixpkgs/lib/modules.nix":161:5:
> while evaluating ‘concatMap’ at "/root/nixpkgs/lib/lists.nix":54:18,
> called from "/root/nixpkgs/lib/modules.nix":200:9:
> while evaluating ‘fold’ at "/root/nixpkgs/lib/lists.nix":20:19, called
> from "/root/nixpkgs/lib/modules.nix":59:38:
> while evaluating ‘fold'’ at "/root/nixpkgs/lib/lists.nix":23:15, called
> from "/root/nixpkgs/lib/lists.nix":27:8:
> while evaluating ‘closeModules’ at
> "/root/nixpkgs/lib/modules.nix":86:27, called from
> "/root/nixpkgs/lib/modules.nix":54:16:
> while evaluating anonymous function at
> "/root/nixpkgs/lib/modules.nix":88:49, called from
> "/root/nixpkgs/lib/lists.nix":49:19:
> infinite recursion encountered
>
> -- 
> Mateusz K.
> _______________________________________________
> nix-dev mailing list
> nix-dev at lists.science.uu.nl
> http://lists.science.uu.nl/mailman/listinfo/nix-dev

-- 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 472 bytes
Desc: not available
Url : http://lists.science.uu.nl/pipermail/nix-dev/attachments/20150420/4ff40ec6/attachment-0001.bin 


More information about the nix-dev mailing list