[Nix-dev] Using the NixOS Hydra module leads to infinite recursion
Mateusz Kowalczyk
fuuzetsu at fuuzetsu.co.uk
Sun Apr 19 01:20:08 CEST 2015
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.
More information about the nix-dev
mailing list