Skip to content

Instantly share code, notes, and snippets.

@arcnmx
Created March 19, 2020 01:34
Show Gist options
  • Save arcnmx/20ef9ff7b0189a9248b873f80ff47158 to your computer and use it in GitHub Desktop.
Save arcnmx/20ef9ff7b0189a9248b873f80ff47158 to your computer and use it in GitHub Desktop.
error: while evaluating the attribute 'system' at /home/arc/projects/nix/home/channels/nixpkgs/nixos/default.nix:33:3:
while evaluating the attribute 'config.system.build.toplevel' at undefined position:
while evaluating anonymous function at /home/arc/projects/nix/home/channels/nixpkgs/lib/modules.nix:84:45, called from undefined position:
while evaluating the attribute 'value' at /home/arc/projects/nix/home/channels/nixpkgs/lib/modules.nix:385:9:
while evaluating the option `system.build':
while evaluating the attribute 'mergedValue' at /home/arc/projects/nix/home/channels/nixpkgs/lib/modules.nix:417:5:
while evaluating the attribute 'values' at /home/arc/projects/nix/home/channels/nixpkgs/lib/modules.nix:411:9:
while evaluating the attribute 'values' at /home/arc/projects/nix/home/channels/nixpkgs/lib/modules.nix:510:7:
while evaluating anonymous function at /home/arc/projects/nix/home/channels/nixpkgs/lib/modules.nix:397:28, called from /home/arc/projects/nix/home/channels/nixpkgs/lib/modules.nix:397:17:
while evaluating definitions from `/home/arc/projects/nix/home/channels/nixpkgs/nixos/modules/system/boot/loader/systemd-boot/systemd-boot.nix':
while evaluating 'dischargeProperties' at /home/arc/projects/nix/home/channels/nixpkgs/lib/modules.nix:469:25, called from /home/arc/projects/nix/home/channels/nixpkgs/lib/modules.nix:398:137:
while evaluating the attribute 'condition' at /home/arc/projects/nix/home/channels/nixpkgs/lib/modules.nix:554:14:
while evaluating the attribute 'condition' at /home/arc/projects/nix/home/channels/nixpkgs/lib/modules.nix:554:14:
while evaluating the attribute 'condition' at /home/arc/projects/nix/home/channels/nixpkgs/lib/modules.nix:554:14:
while evaluating the attribute 'enable' at undefined position:
while evaluating anonymous function at /home/arc/projects/nix/home/channels/nixpkgs/lib/modules.nix:84:45, called from undefined position:
while evaluating the attribute 'value' at /home/arc/projects/nix/home/channels/nixpkgs/lib/modules.nix:385:9:
while evaluating the option `boot.loader.systemd-boot.enable':
while evaluating the attribute 'mergedValue' at /home/arc/projects/nix/home/channels/nixpkgs/lib/modules.nix:417:5:
while evaluating the attribute 'values' at /home/arc/projects/nix/home/channels/nixpkgs/lib/modules.nix:411:9:
while evaluating the attribute 'values' at /home/arc/projects/nix/home/channels/nixpkgs/lib/modules.nix:510:7:
while evaluating anonymous function at /home/arc/projects/nix/home/channels/nixpkgs/lib/modules.nix:397:28, called from /home/arc/projects/nix/home/channels/nixpkgs/lib/modules.nix:397:17:
while evaluating definitions from `/home/arc/projects/nix/home/config/profiles/host/shanghai/nixos.nix':
while evaluating 'dischargeProperties' at /home/arc/projects/nix/home/channels/nixpkgs/lib/modules.nix:469:25, called from /home/arc/projects/nix/home/channels/nixpkgs/lib/modules.nix:398:137:
while evaluating the attribute 'condition' at /home/arc/projects/nix/home/channels/nixpkgs/lib/modules.nix:554:14:
while evaluating the attribute 'condition' at /home/arc/projects/nix/home/channels/nixpkgs/lib/modules.nix:554:14:
while evaluating the attribute 'condition' at /home/arc/projects/nix/home/channels/nixpkgs/lib/modules.nix:554:14:
while evaluating the attribute 'condition' at /home/arc/projects/nix/home/channels/nixpkgs/lib/modules.nix:554:14:
while evaluating the attribute 'condition' at /home/arc/projects/nix/home/channels/nixpkgs/lib/modules.nix:554:14:
while evaluating the attribute 'home.profiles.host.shanghai' at undefined position:
while evaluating anonymous function at /home/arc/projects/nix/home/channels/nixpkgs/lib/modules.nix:84:45, called from undefined position:
while evaluating 'isType' at /home/arc/projects/nix/home/channels/nixpkgs/lib/types.nix:14:18, called from /home/arc/projects/nix/home/channels/nixpkgs/lib/modules.nix:85:14:
while evaluating anonymous function at /home/arc/projects/nix/home/channels/nixpkgs/lib/modules.nix:284:39, called from undefined position:
while evaluating anonymous function at /home/arc/projects/nix/home/channels/nixpkgs/lib/modules.nix:302:21, called from /home/arc/projects/nix/home/channels/nixpkgs/lib/modules.nix:302:16:
while evaluating the attribute 'value' at /home/arc/projects/nix/home/channels/nixpkgs/lib/modules.nix:281:44:
while evaluating 'optionalAttrs' at /home/arc/projects/nix/home/channels/nixpkgs/lib/attrsets.nix:331:25, called from /home/arc/projects/nix/home/config/profiles/modules.nix:69:23:
while evaluating anonymous function at /home/arc/projects/nix/home/channels/nixpkgs/lib/modules.nix:284:39, called from undefined position:
while evaluating anonymous function at /home/arc/projects/nix/home/channels/nixpkgs/lib/modules.nix:302:21, called from /home/arc/projects/nix/home/channels/nixpkgs/lib/modules.nix:302:16:
while evaluating the attribute 'value' at /home/arc/projects/nix/home/channels/nixpkgs/lib/modules.nix:281:44:
infinite recursion encountered, at /home/arc/projects/nix/home/channels/nixpkgs/lib/modules.nix:281:44
... probably because the `mkIf config.home.profiles.host.shanghai` runs into this mess: https://github.com/arcnmx/home/blob/master/config/profiles/modules.nix#L69
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment