[Nix-dev] Using the NixOS Hydra module leads to infinite recursion
Daniel Peebles
pumpkingod at gmail.com
Sun Apr 19 08:42:16 CEST 2015
I unfortunately don't know the answer to your question, but it seems
like moving the hydra module into the nixpkgs repo and adding a NixOS
VM test for it (with some build machines) would prevent things like
this happening in future. It also makes it easier to find :)
On Sat, Apr 18, 2015 at 7:20 PM, Mateusz Kowalczyk
<fuuzetsu at fuuzetsu.co.uk> wrote:
> 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
More information about the nix-dev
mailing list