Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

infinite recursion while importing overlay using pkgs.fetchFromGitHub #5007

Open
Kreyren opened this issue Jul 13, 2021 · 1 comment
Open

Comments

@Kreyren
Copy link

Kreyren commented Jul 13, 2021

Was told on matrix [ https://matrix.to/#/!KqkRjyTEzAGRiZFBYT:nixos.org/$ah8tmGHfB-VOzoEtsUJACN2ltabaRrRUhpOhZejHgxc?via=nixos.org&via=matrix.org&via=tchncs.de ] that this is a bug so i am filing it

https://git.dotya.ml/RiXotStudio/system-management/src/commit/84abf19a9fbbae0d2539cb9d6180b1bf19840504

Causes:

[cargo-make] INFO - makers 0.34.0
[cargo-make] INFO - Build File: Makefile.toml
[cargo-make] INFO - Task: debug
[cargo-make] INFO - Profile: development
[cargo-make] INFO - Execute Command: "nixos-rebuild" "test" "--show-trace" "-I" "nixos-config=."
error: while evaluating the attribute 'config' at /nix/var/nix/profiles/per-user/root/channels/nixos/nixos/lib/eval-config.nix:64:5:
while evaluating 'evalModules' at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:63:17, called from /nix/var/nix/profiles/per-user/root/channels/nixos/nixos/lib/eval-config.nix:58:12:
while evaluating the attribute 'unmatchedDefns' at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:430:7:
while evaluating anonymous function at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/attrsets.nix:256:10, called from undefined position:
while evaluating anonymous function at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:430:59, called from /nix/var/nix/profiles/per-user/root/channels/nixos/lib/attrsets.nix:256:16:
while evaluating the attribute 'hardware' at undefined position:
while evaluating anonymous function at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:423:22, called from undefined position:
while evaluating the attribute 'unmatchedDefns' at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:430:7:
while evaluating anonymous function at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/attrsets.nix:256:10, called from undefined position:
while evaluating anonymous function at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:430:59, called from /nix/var/nix/profiles/per-user/root/channels/nixos/lib/attrsets.nix:256:16:
while evaluating the attribute 'bluetooth' at undefined position:
while evaluating anonymous function at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:423:22, called from undefined position:
while evaluating the attribute 'unmatchedDefns' at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:430:7:
while evaluating anonymous function at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/attrsets.nix:256:10, called from undefined position:
while evaluating anonymous function at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:430:59, called from /nix/var/nix/profiles/per-user/root/channels/nixos/lib/attrsets.nix:256:16:
while evaluating the attribute 'config' at undefined position:
while evaluating anonymous function at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:423:22, called from undefined position:
while evaluating anonymous function at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:395:56, called from undefined position:
while evaluating anonymous function at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/lists.nix:240:22, called from /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:401:23:
while evaluating anonymous function at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:401:30, called from /nix/var/nix/profiles/per-user/root/channels/nixos/lib/lists.nix:240:28:
while evaluating 'isType' at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/types.nix:67:18, called from /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:401:33:
while evaluating the attribute 'options' at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:384:38:
while evaluating 'setAttrByPath' at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/attrsets.nix:57:29, called from /nix/var/nix/profiles/per-user/root/channels/nixos/lib/attrsets.nix:60:41:
while evaluating 'optionalAttrs' at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/attrsets.nix:353:25, called from /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:914:12:
while evaluating 'attrByPath' at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/attrsets.nix:24:35, called from /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:907:26:
while evaluating 'attrByPath' at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/attrsets.nix:24:35, called from /nix/var/nix/profiles/per-user/root/channels/nixos/lib/attrsets.nix:29:12:
while evaluating 'attrByPath' at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/attrsets.nix:24:35, called from /nix/var/nix/profiles/per-user/root/channels/nixos/lib/attrsets.nix:29:12:
while evaluating 'attrByPath' at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/attrsets.nix:24:35, called from /nix/var/nix/profiles/per-user/root/channels/nixos/lib/attrsets.nix:29:12:
while evaluating the attribute 'settings' at undefined position:
while evaluating anonymous function at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:418:37, called from undefined position:
while evaluating the attribute 'matchedOptions' at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:406:15:
while evaluating 'evalOptionValue' at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:496:31, called from /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:406:32:
while evaluating 'warnIf' at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/trivial.nix:307:18, called from /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:521:9:
while evaluating 'fixupOptionType' at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:670:26, called from /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:404:23:
while evaluating the attribute 'type.getSubModules' at /nix/var/nix/profiles/per-user/root/channels/nixos/nixos/modules/services/hardware/bluetooth.nix:75:9:
while evaluating anonymous function at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:303:44, called from undefined position:
while evaluating the module argument `pkgs' in "/nix/var/nix/profiles/per-user/root/channels/nixos/nixos/modules/services/hardware/bluetooth.nix":
while evaluating the attribute '_module.args.pkgs' at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/attrsets.nix:366:7:
while evaluating anonymous function at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/types.nix:410:29, called from /nix/var/nix/profiles/per-user/root/channels/nixos/lib/attrsets.nix:366:15:
while evaluating the attribute 'optionalValue.value' at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:569:5:
while evaluating the attribute 'values' at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:551:9:
while evaluating the attribute 'values' at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:650:7:
while evaluating anonymous function at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:537:28, called from /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:537:17:
while evaluating definitions from `/nix/var/nix/profiles/per-user/root/channels/nixos/nixos/modules/misc/nixpkgs.nix':
while evaluating 'dischargeProperties' at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:609:25, called from /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:538:137:
while evaluating the attribute 'value' at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/types.nix:416:58:
while evaluating anonymous function at /nix/store/735xwdhrl3rp93g6caf0psljv5c4rk7h-nixos-21.11pre301414.45fc7d4a35c/nixos/pkgs/top-level/impure.nix:15:1, called from /nix/var/nix/profiles/per-user/root/channels/nixos/nixos/modules/misc/nixpkgs.nix:58:17:
while evaluating anonymous function at /nix/store/735xwdhrl3rp93g6caf0psljv5c4rk7h-nixos-21.11pre301414.45fc7d4a35c/nixos/pkgs/top-level/default.nix:19:1, called from /nix/store/735xwdhrl3rp93g6caf0psljv5c4rk7h-nixos-21.11pre301414.45fc7d4a35c/nixos/pkgs/top-level/impure.nix:83:1:
while evaluating anonymous function at /nix/store/735xwdhrl3rp93g6caf0psljv5c4rk7h-nixos-21.11pre301414.45fc7d4a35c/nixos/pkgs/stdenv/booter.nix:42:1, called from /nix/store/735xwdhrl3rp93g6caf0psljv5c4rk7h-nixos-21.11pre301414.45fc7d4a35c/nixos/pkgs/top-level/default.nix:122:10:
while evaluating 'dfold' at /nix/store/735xwdhrl3rp93g6caf0psljv5c4rk7h-nixos-21.11pre301414.45fc7d4a35c/nixos/pkgs/stdenv/booter.nix:60:27, called from /nix/store/735xwdhrl3rp93g6caf0psljv5c4rk7h-nixos-21.11pre301414.45fc7d4a35c/nixos/pkgs/stdenv/booter.nix:136:4:
while evaluating 'go' at /nix/store/735xwdhrl3rp93g6caf0psljv5c4rk7h-nixos-21.11pre301414.45fc7d4a35c/nixos/pkgs/stdenv/booter.nix:63:18, called from /nix/store/735xwdhrl3rp93g6caf0psljv5c4rk7h-nixos-21.11pre301414.45fc7d4a35c/nixos/pkgs/stdenv/booter.nix:72:13:
while evaluating 'folder' at /nix/store/735xwdhrl3rp93g6caf0psljv5c4rk7h-nixos-21.11pre301414.45fc7d4a35c/nixos/pkgs/stdenv/booter.nix:89:33, called from /nix/store/735xwdhrl3rp93g6caf0psljv5c4rk7h-nixos-21.11pre301414.45fc7d4a35c/nixos/pkgs/stdenv/booter.nix:68:18:
while evaluating 'allPackages' at /nix/store/735xwdhrl3rp93g6caf0psljv5c4rk7h-nixos-21.11pre301414.45fc7d4a35c/nixos/pkgs/top-level/default.nix:112:17, called from /nix/store/735xwdhrl3rp93g6caf0psljv5c4rk7h-nixos-21.11pre301414.45fc7d4a35c/nixos/pkgs/stdenv/booter.nix:101:12:
while evaluating anonymous function at /nix/store/735xwdhrl3rp93g6caf0psljv5c4rk7h-nixos-21.11pre301414.45fc7d4a35c/nixos/pkgs/top-level/stage.nix:12:1, called from /nix/store/735xwdhrl3rp93g6caf0psljv5c4rk7h-nixos-21.11pre301414.45fc7d4a35c/nixos/pkgs/top-level/default.nix:112:26:
while evaluating 'fix' at /nix/store/735xwdhrl3rp93g6caf0psljv5c4rk7h-nixos-21.11pre301414.45fc7d4a35c/nixos/lib/fixed-points.nix:19:9, called from /nix/store/735xwdhrl3rp93g6caf0psljv5c4rk7h-nixos-21.11pre301414.45fc7d4a35c/nixos/pkgs/top-level/stage.nix:268:3:
while evaluating 'extends' at /nix/store/735xwdhrl3rp93g6caf0psljv5c4rk7h-nixos-21.11pre301414.45fc7d4a35c/nixos/lib/fixed-points.nix:69:24, called from /nix/store/735xwdhrl3rp93g6caf0psljv5c4rk7h-nixos-21.11pre301414.45fc7d4a35c/nixos/lib/fixed-points.nix:19:20:
while evaluating 'stdenvOverrides' at /nix/store/735xwdhrl3rp93g6caf0psljv5c4rk7h-nixos-21.11pre301414.45fc7d4a35c/nixos/pkgs/top-level/stage.nix:130:27, called from /nix/store/735xwdhrl3rp93g6caf0psljv5c4rk7h-nixos-21.11pre301414.45fc7d4a35c/nixos/lib/fixed-points.nix:69:67:
while evaluating the attribute 'stdenv.overrides' at /nix/store/735xwdhrl3rp93g6caf0psljv5c4rk7h-nixos-21.11pre301414.45fc7d4a35c/nixos/pkgs/top-level/stage.nix:105:12:
while evaluating the attribute 'stdenv' at /nix/store/735xwdhrl3rp93g6caf0psljv5c4rk7h-nixos-21.11pre301414.45fc7d4a35c/nixos/pkgs/stdenv/linux/default.nix:351:5:
while evaluating 'makeOverridable' at /nix/store/735xwdhrl3rp93g6caf0psljv5c4rk7h-nixos-21.11pre301414.45fc7d4a35c/nixos/lib/customisation.nix:67:24, called from /nix/store/735xwdhrl3rp93g6caf0psljv5c4rk7h-nixos-21.11pre301414.45fc7d4a35c/nixos/pkgs/stdenv/linux/default.nix:351:14:
while evaluating anonymous function at /nix/store/735xwdhrl3rp93g6caf0psljv5c4rk7h-nixos-21.11pre301414.45fc7d4a35c/nixos/pkgs/stdenv/generic/default.nix:3:1, called from /nix/store/735xwdhrl3rp93g6caf0psljv5c4rk7h-nixos-21.11pre301414.45fc7d4a35c/nixos/lib/customisation.nix:69:16:
while evaluating 'optionalAttrs' at /nix/store/735xwdhrl3rp93g6caf0psljv5c4rk7h-nixos-21.11pre301414.45fc7d4a35c/nixos/lib/attrsets.nix:353:25, called from /nix/store/735xwdhrl3rp93g6caf0psljv5c4rk7h-nixos-21.11pre301414.45fc7d4a35c/nixos/pkgs/stdenv/generic/default.nix:83:5:
while evaluating 'optional' at /nix/store/735xwdhrl3rp93g6caf0psljv5c4rk7h-nixos-21.11pre301414.45fc7d4a35c/nixos/lib/lists.nix:254:20, called from /nix/store/735xwdhrl3rp93g6caf0psljv5c4rk7h-nixos-21.11pre301414.45fc7d4a35c/nixos/pkgs/stdenv/linux/default.nix:398:16:
while evaluating 'callPackageWith' at /nix/store/735xwdhrl3rp93g6caf0psljv5c4rk7h-nixos-21.11pre301414.45fc7d4a35c/nixos/lib/customisation.nix:117:35, called from /nix/store/735xwdhrl3rp93g6caf0psljv5c4rk7h-nixos-21.11pre301414.45fc7d4a35c/nixos/pkgs/top-level/all-packages.nix:5017:10:
while evaluating 'makeOverridable' at /nix/store/735xwdhrl3rp93g6caf0psljv5c4rk7h-nixos-21.11pre301414.45fc7d4a35c/nixos/lib/customisation.nix:67:24, called from /nix/store/735xwdhrl3rp93g6caf0psljv5c4rk7h-nixos-21.11pre301414.45fc7d4a35c/nixos/lib/customisation.nix:121:8:
while evaluating the attribute 'xorg' at /nix/store/735xwdhrl3rp93g6caf0psljv5c4rk7h-nixos-21.11pre301414.45fc7d4a35c/nixos/pkgs/top-level/all-packages.nix:20292:3:
while evaluating 'recurseIntoAttrs' at /nix/store/735xwdhrl3rp93g6caf0psljv5c4rk7h-nixos-21.11pre301414.45fc7d4a35c/nixos/lib/attrsets.nix:506:5, called from /nix/store/735xwdhrl3rp93g6caf0psljv5c4rk7h-nixos-21.11pre301414.45fc7d4a35c/nixos/pkgs/top-level/all-packages.nix:20292:10:
while evaluating 'callPackageWith' at /nix/store/735xwdhrl3rp93g6caf0psljv5c4rk7h-nixos-21.11pre301414.45fc7d4a35c/nixos/lib/customisation.nix:117:35, called from /nix/store/735xwdhrl3rp93g6caf0psljv5c4rk7h-nixos-21.11pre301414.45fc7d4a35c/nixos/pkgs/top-level/all-packages.nix:20292:29:
while evaluating 'makeOverridable' at /nix/store/735xwdhrl3rp93g6caf0psljv5c4rk7h-nixos-21.11pre301414.45fc7d4a35c/nixos/lib/customisation.nix:67:24, called from /nix/store/735xwdhrl3rp93g6caf0psljv5c4rk7h-nixos-21.11pre301414.45fc7d4a35c/nixos/lib/customisation.nix:121:8:
while evaluating anonymous function at /nix/store/735xwdhrl3rp93g6caf0psljv5c4rk7h-nixos-21.11pre301414.45fc7d4a35c/nixos/pkgs/servers/x11/xorg/default.nix:2:1, called from /nix/store/735xwdhrl3rp93g6caf0psljv5c4rk7h-nixos-21.11pre301414.45fc7d4a35c/nixos/lib/customisation.nix:69:16:
while evaluating anonymous function at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:303:44, called from undefined position:
while evaluating the module argument `pkgs' in "/home/kreyren/Repositories/system-management":
while evaluating the attribute '_module.args.pkgs' at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/attrsets.nix:366:7:
infinite recursion encountered, at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/attrsets.nix:366:7
building Nix...
error: while evaluating the attribute 'config' at /nix/var/nix/profiles/per-user/root/channels/nixos/nixos/lib/eval-config.nix:64:5:
while evaluating 'evalModules' at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:63:17, called from /nix/var/nix/profiles/per-user/root/channels/nixos/nixos/lib/eval-config.nix:58:12:
while evaluating the attribute 'unmatchedDefns' at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:430:7:
while evaluating anonymous function at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/attrsets.nix:256:10, called from undefined position:
while evaluating anonymous function at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:430:59, called from /nix/var/nix/profiles/per-user/root/channels/nixos/lib/attrsets.nix:256:16:
while evaluating the attribute 'hardware' at undefined position:
while evaluating anonymous function at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:423:22, called from undefined position:
while evaluating the attribute 'unmatchedDefns' at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:430:7:
while evaluating anonymous function at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/attrsets.nix:256:10, called from undefined position:
while evaluating anonymous function at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:430:59, called from /nix/var/nix/profiles/per-user/root/channels/nixos/lib/attrsets.nix:256:16:
while evaluating the attribute 'bluetooth' at undefined position:
while evaluating anonymous function at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:423:22, called from undefined position:
while evaluating the attribute 'unmatchedDefns' at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:430:7:
while evaluating anonymous function at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/attrsets.nix:256:10, called from undefined position:
while evaluating anonymous function at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:430:59, called from /nix/var/nix/profiles/per-user/root/channels/nixos/lib/attrsets.nix:256:16:
while evaluating the attribute 'config' at undefined position:
while evaluating anonymous function at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:423:22, called from undefined position:
while evaluating anonymous function at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:395:56, called from undefined position:
while evaluating anonymous function at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/lists.nix:240:22, called from /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:401:23:
while evaluating anonymous function at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:401:30, called from /nix/var/nix/profiles/per-user/root/channels/nixos/lib/lists.nix:240:28:
while evaluating 'isType' at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/types.nix:67:18, called from /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:401:33:
while evaluating the attribute 'options' at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:384:38:
while evaluating 'setAttrByPath' at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/attrsets.nix:57:29, called from /nix/var/nix/profiles/per-user/root/channels/nixos/lib/attrsets.nix:60:41:
while evaluating 'optionalAttrs' at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/attrsets.nix:353:25, called from /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:914:12:
while evaluating 'attrByPath' at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/attrsets.nix:24:35, called from /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:907:26:
while evaluating 'attrByPath' at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/attrsets.nix:24:35, called from /nix/var/nix/profiles/per-user/root/channels/nixos/lib/attrsets.nix:29:12:
while evaluating 'attrByPath' at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/attrsets.nix:24:35, called from /nix/var/nix/profiles/per-user/root/channels/nixos/lib/attrsets.nix:29:12:
while evaluating 'attrByPath' at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/attrsets.nix:24:35, called from /nix/var/nix/profiles/per-user/root/channels/nixos/lib/attrsets.nix:29:12:
while evaluating the attribute 'settings' at undefined position:
while evaluating anonymous function at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:418:37, called from undefined position:
while evaluating the attribute 'matchedOptions' at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:406:15:
while evaluating 'evalOptionValue' at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:496:31, called from /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:406:32:
while evaluating 'warnIf' at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/trivial.nix:307:18, called from /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:521:9:
while evaluating 'fixupOptionType' at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:670:26, called from /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:404:23:
while evaluating the attribute 'type.getSubModules' at /nix/var/nix/profiles/per-user/root/channels/nixos/nixos/modules/services/hardware/bluetooth.nix:75:9:
while evaluating anonymous function at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:303:44, called from undefined position:
while evaluating the module argument `pkgs' in "/nix/var/nix/profiles/per-user/root/channels/nixos/nixos/modules/services/hardware/bluetooth.nix":
while evaluating the attribute '_module.args.pkgs' at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/attrsets.nix:366:7:
while evaluating anonymous function at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/types.nix:410:29, called from /nix/var/nix/profiles/per-user/root/channels/nixos/lib/attrsets.nix:366:15:
while evaluating the attribute 'optionalValue.value' at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:569:5:
while evaluating the attribute 'values' at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:551:9:
while evaluating the attribute 'values' at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:650:7:
while evaluating anonymous function at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:537:28, called from /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:537:17:
while evaluating definitions from `/nix/var/nix/profiles/per-user/root/channels/nixos/nixos/modules/misc/nixpkgs.nix':
while evaluating 'dischargeProperties' at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:609:25, called from /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:538:137:
while evaluating the attribute 'value' at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/types.nix:416:58:
while evaluating anonymous function at /nix/store/735xwdhrl3rp93g6caf0psljv5c4rk7h-nixos-21.11pre301414.45fc7d4a35c/nixos/pkgs/top-level/impure.nix:15:1, called from /nix/var/nix/profiles/per-user/root/channels/nixos/nixos/modules/misc/nixpkgs.nix:58:17:
while evaluating anonymous function at /nix/store/735xwdhrl3rp93g6caf0psljv5c4rk7h-nixos-21.11pre301414.45fc7d4a35c/nixos/pkgs/top-level/default.nix:19:1, called from /nix/store/735xwdhrl3rp93g6caf0psljv5c4rk7h-nixos-21.11pre301414.45fc7d4a35c/nixos/pkgs/top-level/impure.nix:83:1:
while evaluating anonymous function at /nix/store/735xwdhrl3rp93g6caf0psljv5c4rk7h-nixos-21.11pre301414.45fc7d4a35c/nixos/pkgs/stdenv/booter.nix:42:1, called from /nix/store/735xwdhrl3rp93g6caf0psljv5c4rk7h-nixos-21.11pre301414.45fc7d4a35c/nixos/pkgs/top-level/default.nix:122:10:
while evaluating 'dfold' at /nix/store/735xwdhrl3rp93g6caf0psljv5c4rk7h-nixos-21.11pre301414.45fc7d4a35c/nixos/pkgs/stdenv/booter.nix:60:27, called from /nix/store/735xwdhrl3rp93g6caf0psljv5c4rk7h-nixos-21.11pre301414.45fc7d4a35c/nixos/pkgs/stdenv/booter.nix:136:4:
while evaluating 'go' at /nix/store/735xwdhrl3rp93g6caf0psljv5c4rk7h-nixos-21.11pre301414.45fc7d4a35c/nixos/pkgs/stdenv/booter.nix:63:18, called from /nix/store/735xwdhrl3rp93g6caf0psljv5c4rk7h-nixos-21.11pre301414.45fc7d4a35c/nixos/pkgs/stdenv/booter.nix:72:13:
while evaluating 'folder' at /nix/store/735xwdhrl3rp93g6caf0psljv5c4rk7h-nixos-21.11pre301414.45fc7d4a35c/nixos/pkgs/stdenv/booter.nix:89:33, called from /nix/store/735xwdhrl3rp93g6caf0psljv5c4rk7h-nixos-21.11pre301414.45fc7d4a35c/nixos/pkgs/stdenv/booter.nix:68:18:
while evaluating 'allPackages' at /nix/store/735xwdhrl3rp93g6caf0psljv5c4rk7h-nixos-21.11pre301414.45fc7d4a35c/nixos/pkgs/top-level/default.nix:112:17, called from /nix/store/735xwdhrl3rp93g6caf0psljv5c4rk7h-nixos-21.11pre301414.45fc7d4a35c/nixos/pkgs/stdenv/booter.nix:101:12:
while evaluating anonymous function at /nix/store/735xwdhrl3rp93g6caf0psljv5c4rk7h-nixos-21.11pre301414.45fc7d4a35c/nixos/pkgs/top-level/stage.nix:12:1, called from /nix/store/735xwdhrl3rp93g6caf0psljv5c4rk7h-nixos-21.11pre301414.45fc7d4a35c/nixos/pkgs/top-level/default.nix:112:26:
while evaluating 'fix' at /nix/store/735xwdhrl3rp93g6caf0psljv5c4rk7h-nixos-21.11pre301414.45fc7d4a35c/nixos/lib/fixed-points.nix:19:9, called from /nix/store/735xwdhrl3rp93g6caf0psljv5c4rk7h-nixos-21.11pre301414.45fc7d4a35c/nixos/pkgs/top-level/stage.nix:268:3:
while evaluating 'extends' at /nix/store/735xwdhrl3rp93g6caf0psljv5c4rk7h-nixos-21.11pre301414.45fc7d4a35c/nixos/lib/fixed-points.nix:69:24, called from /nix/store/735xwdhrl3rp93g6caf0psljv5c4rk7h-nixos-21.11pre301414.45fc7d4a35c/nixos/lib/fixed-points.nix:19:20:
while evaluating 'stdenvOverrides' at /nix/store/735xwdhrl3rp93g6caf0psljv5c4rk7h-nixos-21.11pre301414.45fc7d4a35c/nixos/pkgs/top-level/stage.nix:130:27, called from /nix/store/735xwdhrl3rp93g6caf0psljv5c4rk7h-nixos-21.11pre301414.45fc7d4a35c/nixos/lib/fixed-points.nix:69:67:
while evaluating the attribute 'stdenv.overrides' at /nix/store/735xwdhrl3rp93g6caf0psljv5c4rk7h-nixos-21.11pre301414.45fc7d4a35c/nixos/pkgs/top-level/stage.nix:105:12:
while evaluating the attribute 'stdenv' at /nix/store/735xwdhrl3rp93g6caf0psljv5c4rk7h-nixos-21.11pre301414.45fc7d4a35c/nixos/pkgs/stdenv/linux/default.nix:351:5:
while evaluating 'makeOverridable' at /nix/store/735xwdhrl3rp93g6caf0psljv5c4rk7h-nixos-21.11pre301414.45fc7d4a35c/nixos/lib/customisation.nix:67:24, called from /nix/store/735xwdhrl3rp93g6caf0psljv5c4rk7h-nixos-21.11pre301414.45fc7d4a35c/nixos/pkgs/stdenv/linux/default.nix:351:14:
while evaluating anonymous function at /nix/store/735xwdhrl3rp93g6caf0psljv5c4rk7h-nixos-21.11pre301414.45fc7d4a35c/nixos/pkgs/stdenv/generic/default.nix:3:1, called from /nix/store/735xwdhrl3rp93g6caf0psljv5c4rk7h-nixos-21.11pre301414.45fc7d4a35c/nixos/lib/customisation.nix:69:16:
while evaluating 'optionalAttrs' at /nix/store/735xwdhrl3rp93g6caf0psljv5c4rk7h-nixos-21.11pre301414.45fc7d4a35c/nixos/lib/attrsets.nix:353:25, called from /nix/store/735xwdhrl3rp93g6caf0psljv5c4rk7h-nixos-21.11pre301414.45fc7d4a35c/nixos/pkgs/stdenv/generic/default.nix:83:5:
while evaluating 'optional' at /nix/store/735xwdhrl3rp93g6caf0psljv5c4rk7h-nixos-21.11pre301414.45fc7d4a35c/nixos/lib/lists.nix:254:20, called from /nix/store/735xwdhrl3rp93g6caf0psljv5c4rk7h-nixos-21.11pre301414.45fc7d4a35c/nixos/pkgs/stdenv/linux/default.nix:398:16:
while evaluating 'callPackageWith' at /nix/store/735xwdhrl3rp93g6caf0psljv5c4rk7h-nixos-21.11pre301414.45fc7d4a35c/nixos/lib/customisation.nix:117:35, called from /nix/store/735xwdhrl3rp93g6caf0psljv5c4rk7h-nixos-21.11pre301414.45fc7d4a35c/nixos/pkgs/top-level/all-packages.nix:5017:10:
while evaluating 'makeOverridable' at /nix/store/735xwdhrl3rp93g6caf0psljv5c4rk7h-nixos-21.11pre301414.45fc7d4a35c/nixos/lib/customisation.nix:67:24, called from /nix/store/735xwdhrl3rp93g6caf0psljv5c4rk7h-nixos-21.11pre301414.45fc7d4a35c/nixos/lib/customisation.nix:121:8:
while evaluating the attribute 'xorg' at /nix/store/735xwdhrl3rp93g6caf0psljv5c4rk7h-nixos-21.11pre301414.45fc7d4a35c/nixos/pkgs/top-level/all-packages.nix:20292:3:
while evaluating 'recurseIntoAttrs' at /nix/store/735xwdhrl3rp93g6caf0psljv5c4rk7h-nixos-21.11pre301414.45fc7d4a35c/nixos/lib/attrsets.nix:506:5, called from /nix/store/735xwdhrl3rp93g6caf0psljv5c4rk7h-nixos-21.11pre301414.45fc7d4a35c/nixos/pkgs/top-level/all-packages.nix:20292:10:
while evaluating 'callPackageWith' at /nix/store/735xwdhrl3rp93g6caf0psljv5c4rk7h-nixos-21.11pre301414.45fc7d4a35c/nixos/lib/customisation.nix:117:35, called from /nix/store/735xwdhrl3rp93g6caf0psljv5c4rk7h-nixos-21.11pre301414.45fc7d4a35c/nixos/pkgs/top-level/all-packages.nix:20292:29:
while evaluating 'makeOverridable' at /nix/store/735xwdhrl3rp93g6caf0psljv5c4rk7h-nixos-21.11pre301414.45fc7d4a35c/nixos/lib/customisation.nix:67:24, called from /nix/store/735xwdhrl3rp93g6caf0psljv5c4rk7h-nixos-21.11pre301414.45fc7d4a35c/nixos/lib/customisation.nix:121:8:
while evaluating anonymous function at /nix/store/735xwdhrl3rp93g6caf0psljv5c4rk7h-nixos-21.11pre301414.45fc7d4a35c/nixos/pkgs/servers/x11/xorg/default.nix:2:1, called from /nix/store/735xwdhrl3rp93g6caf0psljv5c4rk7h-nixos-21.11pre301414.45fc7d4a35c/nixos/lib/customisation.nix:69:16:
while evaluating anonymous function at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:303:44, called from undefined position:
while evaluating the module argument `pkgs' in "/home/kreyren/Repositories/system-management":
while evaluating the attribute '_module.args.pkgs' at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/attrsets.nix:366:7:
infinite recursion encountered, at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/attrsets.nix:366:7
building the system configuration...
error: while evaluating the attribute 'config.system.build.toplevel' at /nix/var/nix/profiles/per-user/root/channels/nixos/nixos/lib/eval-config.nix:64:5:
while evaluating 'evalModules' at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:63:17, called from /nix/var/nix/profiles/per-user/root/channels/nixos/nixos/lib/eval-config.nix:58:12:
while evaluating the attribute 'unmatchedDefns' at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:430:7:
while evaluating anonymous function at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/attrsets.nix:256:10, called from undefined position:
while evaluating anonymous function at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:430:59, called from /nix/var/nix/profiles/per-user/root/channels/nixos/lib/attrsets.nix:256:16:
while evaluating the attribute 'hardware' at undefined position:
while evaluating anonymous function at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:423:22, called from undefined position:
while evaluating the attribute 'unmatchedDefns' at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:430:7:
while evaluating anonymous function at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/attrsets.nix:256:10, called from undefined position:
while evaluating anonymous function at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:430:59, called from /nix/var/nix/profiles/per-user/root/channels/nixos/lib/attrsets.nix:256:16:
while evaluating the attribute 'bluetooth' at undefined position:
while evaluating anonymous function at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:423:22, called from undefined position:
while evaluating the attribute 'unmatchedDefns' at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:430:7:
while evaluating anonymous function at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/attrsets.nix:256:10, called from undefined position:
while evaluating anonymous function at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:430:59, called from /nix/var/nix/profiles/per-user/root/channels/nixos/lib/attrsets.nix:256:16:
while evaluating the attribute 'config' at undefined position:
while evaluating anonymous function at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:423:22, called from undefined position:
while evaluating anonymous function at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:395:56, called from undefined position:
while evaluating anonymous function at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/lists.nix:240:22, called from /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:401:23:
while evaluating anonymous function at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:401:30, called from /nix/var/nix/profiles/per-user/root/channels/nixos/lib/lists.nix:240:28:
while evaluating 'isType' at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/types.nix:67:18, called from /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:401:33:
while evaluating the attribute 'options' at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:384:38:
while evaluating 'setAttrByPath' at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/attrsets.nix:57:29, called from /nix/var/nix/profiles/per-user/root/channels/nixos/lib/attrsets.nix:60:41:
while evaluating 'optionalAttrs' at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/attrsets.nix:353:25, called from /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:914:12:
while evaluating 'attrByPath' at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/attrsets.nix:24:35, called from /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:907:26:
while evaluating 'attrByPath' at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/attrsets.nix:24:35, called from /nix/var/nix/profiles/per-user/root/channels/nixos/lib/attrsets.nix:29:12:
while evaluating 'attrByPath' at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/attrsets.nix:24:35, called from /nix/var/nix/profiles/per-user/root/channels/nixos/lib/attrsets.nix:29:12:
while evaluating 'attrByPath' at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/attrsets.nix:24:35, called from /nix/var/nix/profiles/per-user/root/channels/nixos/lib/attrsets.nix:29:12:
while evaluating the attribute 'settings' at undefined position:
while evaluating anonymous function at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:418:37, called from undefined position:
while evaluating the attribute 'matchedOptions' at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:406:15:
while evaluating 'evalOptionValue' at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:496:31, called from /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:406:32:
while evaluating 'warnIf' at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/trivial.nix:307:18, called from /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:521:9:
while evaluating 'fixupOptionType' at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:670:26, called from /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:404:23:
while evaluating the attribute 'type.getSubModules' at /nix/var/nix/profiles/per-user/root/channels/nixos/nixos/modules/services/hardware/bluetooth.nix:75:9:
while evaluating anonymous function at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:303:44, called from undefined position:
while evaluating the module argument `pkgs' in "/nix/var/nix/profiles/per-user/root/channels/nixos/nixos/modules/services/hardware/bluetooth.nix":
while evaluating the attribute '_module.args.pkgs' at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/attrsets.nix:366:7:
while evaluating anonymous function at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/types.nix:410:29, called from /nix/var/nix/profiles/per-user/root/channels/nixos/lib/attrsets.nix:366:15:
while evaluating the attribute 'optionalValue.value' at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:569:5:
while evaluating the attribute 'values' at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:551:9:
while evaluating the attribute 'values' at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:650:7:
while evaluating anonymous function at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:537:28, called from /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:537:17:
while evaluating definitions from `/nix/var/nix/profiles/per-user/root/channels/nixos/nixos/modules/misc/nixpkgs.nix':
while evaluating 'dischargeProperties' at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:609:25, called from /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:538:137:
while evaluating the attribute 'value' at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/types.nix:416:58:
while evaluating anonymous function at /nix/store/735xwdhrl3rp93g6caf0psljv5c4rk7h-nixos-21.11pre301414.45fc7d4a35c/nixos/pkgs/top-level/impure.nix:15:1, called from /nix/var/nix/profiles/per-user/root/channels/nixos/nixos/modules/misc/nixpkgs.nix:58:17:
while evaluating anonymous function at /nix/store/735xwdhrl3rp93g6caf0psljv5c4rk7h-nixos-21.11pre301414.45fc7d4a35c/nixos/pkgs/top-level/default.nix:19:1, called from /nix/store/735xwdhrl3rp93g6caf0psljv5c4rk7h-nixos-21.11pre301414.45fc7d4a35c/nixos/pkgs/top-level/impure.nix:83:1:
while evaluating anonymous function at /nix/store/735xwdhrl3rp93g6caf0psljv5c4rk7h-nixos-21.11pre301414.45fc7d4a35c/nixos/pkgs/stdenv/booter.nix:42:1, called from /nix/store/735xwdhrl3rp93g6caf0psljv5c4rk7h-nixos-21.11pre301414.45fc7d4a35c/nixos/pkgs/top-level/default.nix:122:10:
while evaluating 'dfold' at /nix/store/735xwdhrl3rp93g6caf0psljv5c4rk7h-nixos-21.11pre301414.45fc7d4a35c/nixos/pkgs/stdenv/booter.nix:60:27, called from /nix/store/735xwdhrl3rp93g6caf0psljv5c4rk7h-nixos-21.11pre301414.45fc7d4a35c/nixos/pkgs/stdenv/booter.nix:136:4:
while evaluating 'go' at /nix/store/735xwdhrl3rp93g6caf0psljv5c4rk7h-nixos-21.11pre301414.45fc7d4a35c/nixos/pkgs/stdenv/booter.nix:63:18, called from /nix/store/735xwdhrl3rp93g6caf0psljv5c4rk7h-nixos-21.11pre301414.45fc7d4a35c/nixos/pkgs/stdenv/booter.nix:72:13:
while evaluating 'folder' at /nix/store/735xwdhrl3rp93g6caf0psljv5c4rk7h-nixos-21.11pre301414.45fc7d4a35c/nixos/pkgs/stdenv/booter.nix:89:33, called from /nix/store/735xwdhrl3rp93g6caf0psljv5c4rk7h-nixos-21.11pre301414.45fc7d4a35c/nixos/pkgs/stdenv/booter.nix:68:18:
while evaluating 'allPackages' at /nix/store/735xwdhrl3rp93g6caf0psljv5c4rk7h-nixos-21.11pre301414.45fc7d4a35c/nixos/pkgs/top-level/default.nix:112:17, called from /nix/store/735xwdhrl3rp93g6caf0psljv5c4rk7h-nixos-21.11pre301414.45fc7d4a35c/nixos/pkgs/stdenv/booter.nix:101:12:
while evaluating anonymous function at /nix/store/735xwdhrl3rp93g6caf0psljv5c4rk7h-nixos-21.11pre301414.45fc7d4a35c/nixos/pkgs/top-level/stage.nix:12:1, called from /nix/store/735xwdhrl3rp93g6caf0psljv5c4rk7h-nixos-21.11pre301414.45fc7d4a35c/nixos/pkgs/top-level/default.nix:112:26:
while evaluating 'fix' at /nix/store/735xwdhrl3rp93g6caf0psljv5c4rk7h-nixos-21.11pre301414.45fc7d4a35c/nixos/lib/fixed-points.nix:19:9, called from /nix/store/735xwdhrl3rp93g6caf0psljv5c4rk7h-nixos-21.11pre301414.45fc7d4a35c/nixos/pkgs/top-level/stage.nix:268:3:
while evaluating 'extends' at /nix/store/735xwdhrl3rp93g6caf0psljv5c4rk7h-nixos-21.11pre301414.45fc7d4a35c/nixos/lib/fixed-points.nix:69:24, called from /nix/store/735xwdhrl3rp93g6caf0psljv5c4rk7h-nixos-21.11pre301414.45fc7d4a35c/nixos/lib/fixed-points.nix:19:20:
while evaluating 'stdenvOverrides' at /nix/store/735xwdhrl3rp93g6caf0psljv5c4rk7h-nixos-21.11pre301414.45fc7d4a35c/nixos/pkgs/top-level/stage.nix:130:27, called from /nix/store/735xwdhrl3rp93g6caf0psljv5c4rk7h-nixos-21.11pre301414.45fc7d4a35c/nixos/lib/fixed-points.nix:69:67:
while evaluating the attribute 'stdenv.overrides' at /nix/store/735xwdhrl3rp93g6caf0psljv5c4rk7h-nixos-21.11pre301414.45fc7d4a35c/nixos/pkgs/top-level/stage.nix:105:12:
while evaluating the attribute 'stdenv' at /nix/store/735xwdhrl3rp93g6caf0psljv5c4rk7h-nixos-21.11pre301414.45fc7d4a35c/nixos/pkgs/stdenv/linux/default.nix:351:5:
while evaluating 'makeOverridable' at /nix/store/735xwdhrl3rp93g6caf0psljv5c4rk7h-nixos-21.11pre301414.45fc7d4a35c/nixos/lib/customisation.nix:67:24, called from /nix/store/735xwdhrl3rp93g6caf0psljv5c4rk7h-nixos-21.11pre301414.45fc7d4a35c/nixos/pkgs/stdenv/linux/default.nix:351:14:
while evaluating anonymous function at /nix/store/735xwdhrl3rp93g6caf0psljv5c4rk7h-nixos-21.11pre301414.45fc7d4a35c/nixos/pkgs/stdenv/generic/default.nix:3:1, called from /nix/store/735xwdhrl3rp93g6caf0psljv5c4rk7h-nixos-21.11pre301414.45fc7d4a35c/nixos/lib/customisation.nix:69:16:
while evaluating 'optionalAttrs' at /nix/store/735xwdhrl3rp93g6caf0psljv5c4rk7h-nixos-21.11pre301414.45fc7d4a35c/nixos/lib/attrsets.nix:353:25, called from /nix/store/735xwdhrl3rp93g6caf0psljv5c4rk7h-nixos-21.11pre301414.45fc7d4a35c/nixos/pkgs/stdenv/generic/default.nix:83:5:
while evaluating 'optional' at /nix/store/735xwdhrl3rp93g6caf0psljv5c4rk7h-nixos-21.11pre301414.45fc7d4a35c/nixos/lib/lists.nix:254:20, called from /nix/store/735xwdhrl3rp93g6caf0psljv5c4rk7h-nixos-21.11pre301414.45fc7d4a35c/nixos/pkgs/stdenv/linux/default.nix:398:16:
while evaluating 'callPackageWith' at /nix/store/735xwdhrl3rp93g6caf0psljv5c4rk7h-nixos-21.11pre301414.45fc7d4a35c/nixos/lib/customisation.nix:117:35, called from /nix/store/735xwdhrl3rp93g6caf0psljv5c4rk7h-nixos-21.11pre301414.45fc7d4a35c/nixos/pkgs/top-level/all-packages.nix:5017:10:
while evaluating 'makeOverridable' at /nix/store/735xwdhrl3rp93g6caf0psljv5c4rk7h-nixos-21.11pre301414.45fc7d4a35c/nixos/lib/customisation.nix:67:24, called from /nix/store/735xwdhrl3rp93g6caf0psljv5c4rk7h-nixos-21.11pre301414.45fc7d4a35c/nixos/lib/customisation.nix:121:8:
while evaluating the attribute 'xorg' at /nix/store/735xwdhrl3rp93g6caf0psljv5c4rk7h-nixos-21.11pre301414.45fc7d4a35c/nixos/pkgs/top-level/all-packages.nix:20292:3:
while evaluating 'recurseIntoAttrs' at /nix/store/735xwdhrl3rp93g6caf0psljv5c4rk7h-nixos-21.11pre301414.45fc7d4a35c/nixos/lib/attrsets.nix:506:5, called from /nix/store/735xwdhrl3rp93g6caf0psljv5c4rk7h-nixos-21.11pre301414.45fc7d4a35c/nixos/pkgs/top-level/all-packages.nix:20292:10:
while evaluating 'callPackageWith' at /nix/store/735xwdhrl3rp93g6caf0psljv5c4rk7h-nixos-21.11pre301414.45fc7d4a35c/nixos/lib/customisation.nix:117:35, called from /nix/store/735xwdhrl3rp93g6caf0psljv5c4rk7h-nixos-21.11pre301414.45fc7d4a35c/nixos/pkgs/top-level/all-packages.nix:20292:29:
while evaluating 'makeOverridable' at /nix/store/735xwdhrl3rp93g6caf0psljv5c4rk7h-nixos-21.11pre301414.45fc7d4a35c/nixos/lib/customisation.nix:67:24, called from /nix/store/735xwdhrl3rp93g6caf0psljv5c4rk7h-nixos-21.11pre301414.45fc7d4a35c/nixos/lib/customisation.nix:121:8:
while evaluating anonymous function at /nix/store/735xwdhrl3rp93g6caf0psljv5c4rk7h-nixos-21.11pre301414.45fc7d4a35c/nixos/pkgs/servers/x11/xorg/default.nix:2:1, called from /nix/store/735xwdhrl3rp93g6caf0psljv5c4rk7h-nixos-21.11pre301414.45fc7d4a35c/nixos/lib/customisation.nix:69:16:
while evaluating anonymous function at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:303:44, called from undefined position:
while evaluating the module argument `pkgs' in "/home/kreyren/Repositories/system-management":
while evaluating the attribute '_module.args.pkgs' at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/attrsets.nix:366:7:
infinite recursion encountered, at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/attrsets.nix:366:7
[cargo-make] ERROR - Error while executing command, exit code: 1
[cargo-make] WARN - Build Failed.

Expected behavior

Being able to import dns.nix by kirelagin globally (repository-wide) to be used in services/bind.nix without:

dns = import (pkgs.fetchFromGitHub {
			owner = "kirelagin";
			repo = "dns.nix";
			rev = "v1.1.0";
			sha256 = "0zvg92fjrfmdylk8ic3b2srsrqc8ii94a1ir0v5sknjyxvy5f3rf";
		});

In the header of files that use dns.*

nix-env --version output

[kreyren@leonid:~]$ nix-env --version
nix-env (Nix) 2.3.12

Additional context

image

@Kreyren Kreyren added the bug label Jul 13, 2021
@stale
Copy link

stale bot commented Jan 9, 2022

I marked this as stale due to inactivity. → More info

@stale stale bot added the stale label Jan 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant