Skip to content

Instantly share code, notes, and snippets.

@thefloweringash
Created November 6, 2019 17:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save thefloweringash/5f5602254aa8560d02320c5e32100a2e to your computer and use it in GitHub Desktop.
Save thefloweringash/5f5602254aa8560d02320c5e32100a2e to your computer and use it in GitHub Desktop.
Tracing NixOS module evaluation
building Nix...
warning: ignoring the user-specified setting 'show-trace', because it is a restricted setting and you are not a trusted user
building the system configuration...
warning: ignoring the user-specified setting 'show-trace', because it is a restricted setting and you are not a trusted user
trace: nm: true
error: while evaluating the attribute 'buildCommand' of the derivation 'nixos-vm' at /home/lorne/src/nixpkgs/pkgs/build-support/trivial-builders.nix:7:14:
while evaluating the attribute 'system.build.toplevel' at /home/lorne/src/nixpkgs/nixos/modules/system/activation/top-level.nix:274:5:
while evaluating 'foldr' at /home/lorne/src/nixpkgs/lib/lists.nix:52:20, called from /home/lorne/src/nixpkgs/nixos/modules/system/activation/top-level.nix:138:12:
while evaluating 'fold'' at /home/lorne/src/nixpkgs/lib/lists.nix:55:15, called from /home/lorne/src/nixpkgs/lib/lists.nix:59:8:
while evaluating the attribute 'assertions' at undefined position:
while evaluating anonymous function at /home/lorne/src/nixpkgs/lib/modules.nix:75:45, called from undefined position:
while evaluating the attribute 'value' at /home/lorne/src/nixpkgs/lib/modules.nix:336:9:
while evaluating the option `assertions':
while evaluating the attribute 'isDefined' at /home/lorne/src/nixpkgs/lib/modules.nix:373:5:
while evaluating the attribute 'values' at /home/lorne/src/nixpkgs/lib/modules.nix:362:9:
while evaluating the attribute 'values' at /home/lorne/src/nixpkgs/lib/modules.nix:456:7:
while evaluating anonymous function at /home/lorne/src/nixpkgs/lib/modules.nix:348:28, called from /home/lorne/src/nixpkgs/lib/modules.nix:348:17:
while evaluating 'dischargeProperties' at /home/lorne/src/nixpkgs/lib/modules.nix:415:25, called from /home/lorne/src/nixpkgs/lib/modules.nix:349:62:
while evaluating the attribute 'condition' at /home/lorne/src/nixpkgs/lib/modules.nix:500:14:
while evaluating the attribute 'condition' at /home/lorne/src/nixpkgs/lib/modules.nix:500:14:
assertion failed at /home/lorne/src/nixpkgs/nixos/modules/services/networking/networkmanager.nix:390:71
building Nix...
warning: ignoring the user-specified setting 'show-trace', because it is a restricted setting and you are not a trusted user
building the system configuration...
warning: ignoring the user-specified setting 'show-trace', because it is a restricted setting and you are not a trusted user
trace: nm: true
trace: nm: false
error: while evaluating the attribute 'buildCommand' of the derivation 'nixos-vm' at /home/lorne/src/nixpkgs/pkgs/build-support/trivial-builders.nix:7:14:
while evaluating the attribute 'activationScript' of the derivation 'nixos-system-nixos-19.09.git.c5aabb0' at /home/lorne/src/nixpkgs/nixos/modules/system/activation/top-level.nix:102:5:
while evaluating the attribute 'system.activationScripts.script' at /home/lorne/src/nixpkgs/nixos/modules/system/activation/activation-script.nix:68:9:
while evaluating 'textClosureMap' at /home/lorne/src/nixpkgs/lib/strings-with-deps.nix:70:35, called from /home/lorne/src/nixpkgs/nixos/modules/system/activation/activation-script.nix:89:18:
while evaluating 'id' at /home/lorne/src/nixpkgs/lib/trivial.nix:14:5, called from undefined position:
while evaluating the attribute 'text' at /home/lorne/src/nixpkgs/nixos/modules/system/activation/activation-script.nix:9:5:
while evaluating the attribute 'text' at /home/lorne/src/nixpkgs/lib/strings-with-deps.nix:77:38:
while evaluating the attribute 'sources' of the derivation 'etc' at /home/lorne/src/nixpkgs/nixos/modules/system/etc/etc.nix:12:5:
while evaluating anonymous function at /home/lorne/src/nixpkgs/nixos/modules/system/etc/etc.nix:20:20, called from undefined position:
while evaluating the attribute 'source' at undefined position:
while evaluating anonymous function at /home/lorne/src/nixpkgs/lib/modules.nix:75:45, called from undefined position:
while evaluating the attribute 'value' at /home/lorne/src/nixpkgs/lib/modules.nix:336:9:
while evaluating the option `environment.etc.systemd/system.source':
while evaluating the attribute 'mergedValue' at /home/lorne/src/nixpkgs/lib/modules.nix:368:5:
while evaluating anonymous function at /home/lorne/src/nixpkgs/lib/modules.nix:368:32, called from /home/lorne/src/nixpkgs/lib/modules.nix:368:19:
while evaluating 'check' at /home/lorne/src/nixpkgs/lib/types.nix:246:15, called from /home/lorne/src/nixpkgs/lib/modules.nix:369:10:
while evaluating the attribute 'buildCommand' of the derivation 'system-units' at /home/lorne/src/nixpkgs/pkgs/build-support/trivial-builders.nix:7:14:
while evaluating the attribute 'text' of the derivation 'unit-dbus.service' at /home/lorne/src/nixpkgs/pkgs/build-support/trivial-builders.nix:7:14:
while evaluating the attribute 'text' at undefined position:
while evaluating anonymous function at /home/lorne/src/nixpkgs/lib/modules.nix:75:45, called from undefined position:
while evaluating the attribute 'value' at /home/lorne/src/nixpkgs/lib/modules.nix:336:9:
while evaluating the option `systemd.units.dbus.service.text':
while evaluating the attribute 'isDefined' at /home/lorne/src/nixpkgs/lib/modules.nix:373:5:
while evaluating the attribute 'values' at /home/lorne/src/nixpkgs/lib/modules.nix:362:9:
while evaluating the attribute 'values' at /home/lorne/src/nixpkgs/lib/modules.nix:456:7:
while evaluating anonymous function at /home/lorne/src/nixpkgs/lib/modules.nix:348:28, called from /home/lorne/src/nixpkgs/lib/modules.nix:348:17:
while evaluating 'dischargeProperties' at /home/lorne/src/nixpkgs/lib/modules.nix:415:25, called from /home/lorne/src/nixpkgs/lib/modules.nix:349:62:
while evaluating the attribute 'value' at /home/lorne/src/nixpkgs/lib/modules.nix:234:44:
while evaluating 'commonUnitText' at /home/lorne/src/nixpkgs/nixos/modules/system/boot/systemd.nix:310:20, called from /home/lorne/src/nixpkgs/nixos/modules/system/boot/systemd.nix:326:14:
while evaluating 'attrsToSection' at /home/lorne/src/nixpkgs/nixos/modules/system/boot/systemd-lib.nix:104:20, called from /home/lorne/src/nixpkgs/nixos/modules/system/boot/systemd.nix:312:9:
while evaluating 'mapAttrsToList' at /home/lorne/src/nixpkgs/lib/attrsets.nix:233:23, called from /home/lorne/src/nixpkgs/nixos/modules/system/boot/systemd-lib.nix:105:33:
while evaluating the attribute 'unitConfig' at undefined position:
while evaluating anonymous function at /home/lorne/src/nixpkgs/lib/modules.nix:75:45, called from undefined position:
while evaluating the attribute 'value' at /home/lorne/src/nixpkgs/lib/modules.nix:336:9:
while evaluating the option `systemd.services.dbus.unitConfig':
while evaluating the attribute 'mergedValue' at /home/lorne/src/nixpkgs/lib/modules.nix:368:5:
while evaluating anonymous function at /home/lorne/src/nixpkgs/lib/modules.nix:368:32, called from /home/lorne/src/nixpkgs/lib/modules.nix:368:19:
while evaluating 'merge' at /home/lorne/src/nixpkgs/lib/types.nix:283:20, called from /home/lorne/src/nixpkgs/lib/modules.nix:371:8:
while evaluating 'filterAttrs' at /home/lorne/src/nixpkgs/lib/attrsets.nix:124:23, called from /home/lorne/src/nixpkgs/lib/types.nix:284:35:
while evaluating anonymous function at /home/lorne/src/nixpkgs/lib/attrsets.nix:125:29, called from /home/lorne/src/nixpkgs/lib/attrsets.nix:125:18:
while evaluating anonymous function at /home/lorne/src/nixpkgs/lib/types.nix:284:51, called from /home/lorne/src/nixpkgs/lib/attrsets.nix:125:62:
while evaluating the attribute 'X-Restart-Triggers' at /home/lorne/src/nixpkgs/lib/attrsets.nix:344:7:
while evaluating anonymous function at /home/lorne/src/nixpkgs/lib/types.nix:284:86, called from /home/lorne/src/nixpkgs/lib/attrsets.nix:344:15:
while evaluating the attribute 'optionalValue' at /home/lorne/src/nixpkgs/lib/modules.nix:375:5:
while evaluating the attribute 'values' at /home/lorne/src/nixpkgs/lib/modules.nix:362:9:
while evaluating the attribute 'values' at /home/lorne/src/nixpkgs/lib/modules.nix:456:7:
while evaluating anonymous function at /home/lorne/src/nixpkgs/lib/modules.nix:348:28, called from /home/lorne/src/nixpkgs/lib/modules.nix:348:17:
while evaluating 'dischargeProperties' at /home/lorne/src/nixpkgs/lib/modules.nix:415:25, called from /home/lorne/src/nixpkgs/lib/modules.nix:349:62:
while evaluating the attribute 'value' at /home/lorne/src/nixpkgs/lib/types.nix:288:60:
while evaluating the attribute 'serviceDirectories' of the derivation 'dbus-1' at /home/lorne/src/nixpkgs/pkgs/build-support/trivial-builders.nix:7:14:
while evaluating anonymous function at /home/lorne/src/nixpkgs/lib/types.nix:258:14, called from undefined position:
while evaluating the attribute 'value' at /home/lorne/src/nixpkgs/lib/modules.nix:376:27:
while evaluating anonymous function at /home/lorne/src/nixpkgs/lib/modules.nix:368:32, called from /home/lorne/src/nixpkgs/lib/modules.nix:368:19:
while evaluating 'check' at /home/lorne/src/nixpkgs/lib/types.nix:246:15, called from /home/lorne/src/nixpkgs/lib/modules.nix:369:10:
while evaluating the attribute 'passAsFile' of the derivation 'system-path' at /home/lorne/src/nixpkgs/pkgs/build-support/trivial-builders.nix:7:14:
while evaluating the attribute 'buildCommand' of the derivation 'nixos-manpages' at /home/lorne/src/nixpkgs/pkgs/build-support/trivial-builders.nix:7:14:
while evaluating the attribute 'buildCommand' of the derivation 'manual-olinkdb' at /home/lorne/src/nixpkgs/pkgs/build-support/trivial-builders.nix:7:14:
while evaluating the attribute 'buildCommand' of the derivation 'nixos-manual-combined' at /home/lorne/src/nixpkgs/pkgs/build-support/trivial-builders.nix:7:14:
while evaluating the attribute 'buildCommand' of the derivation 'generated-docbook' at /home/lorne/src/nixpkgs/pkgs/build-support/trivial-builders.nix:7:14:
while evaluating the attribute 'buildCommand' of the derivation 'options-docbook.xml' at /home/lorne/src/nixpkgs/pkgs/build-support/trivial-builders.nix:7:14:
while evaluating 'substFunction' at /home/lorne/src/nixpkgs/nixos/lib/make-options-doc/default.nix:28:19, called from /home/lorne/src/nixpkgs/nixos/lib/make-options-doc/default.nix:37:54:
while evaluating the attribute 'default' at /home/lorne/src/nixpkgs/lib/options.nix:154:44:
while evaluating 'scrubOptionValue' at /home/lorne/src/nixpkgs/lib/options.nix:173:22, called from /home/lorne/src/nixpkgs/lib/options.nix:154:54:
while evaluating 'isDerivation' at /home/lorne/src/nixpkgs/lib/attrsets.nix:305:18, called from /home/lorne/src/nixpkgs/lib/options.nix:174:8:
while evaluating the attribute 'default' at /home/lorne/src/nixpkgs/nixos/modules/system/boot/initrd-ssh.nix:82:7:
while evaluating the attribute 'users.users.root.openssh.authorizedKeys.keys' at undefined position:
while evaluating anonymous function at /home/lorne/src/nixpkgs/lib/modules.nix:75:45, called from undefined position:
while evaluating the attribute 'value' at /home/lorne/src/nixpkgs/lib/modules.nix:336:9:
while evaluating the option `users.users':
while evaluating the attribute 'isDefined' at /home/lorne/src/nixpkgs/lib/modules.nix:373:5:
while evaluating the attribute 'values' at /home/lorne/src/nixpkgs/lib/modules.nix:362:9:
while evaluating the attribute 'values' at /home/lorne/src/nixpkgs/lib/modules.nix:456:7:
while evaluating anonymous function at /home/lorne/src/nixpkgs/lib/modules.nix:348:28, called from /home/lorne/src/nixpkgs/lib/modules.nix:348:17:
while evaluating 'dischargeProperties' at /home/lorne/src/nixpkgs/lib/modules.nix:415:25, called from /home/lorne/src/nixpkgs/lib/modules.nix:349:62:
while evaluating the attribute 'condition' at /home/lorne/src/nixpkgs/lib/modules.nix:500:14:
while evaluating the attribute 'condition' at /home/lorne/src/nixpkgs/lib/modules.nix:500:14:
while evaluating the attribute 'condition' at /home/lorne/src/nixpkgs/lib/modules.nix:500:14:
assertion failed at /home/lorne/src/nixpkgs/nixos/modules/services/networking/networkmanager.nix:390:71
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment