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 <[email protected]> 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@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 > [email protected] > http://lists.science.uu.nl/mailman/listinfo/nix-dev --
signature.asc
Description: PGP signature
_______________________________________________ nix-dev mailing list [email protected] http://lists.science.uu.nl/mailman/listinfo/nix-dev
