Skip to content

Instantly share code, notes, and snippets.

@aswan89
Created May 15, 2020 21:15
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 aswan89/bd9156e2c1662f972c332d519709e15a to your computer and use it in GitHub Desktop.
Save aswan89/bd9156e2c1662f972c332d519709e15a to your computer and use it in GitHub Desktop.
nixos-rebuild error trace
error: while evaluating the attribute 'nix' of the derivation 'nixos-rebuild' at /nix/var/nix/profiles/per-user/root/channels/nixos/nixos/modules/installer/tools/tools.nix:29:7:
while evaluating the attribute 'buildInputs' of the derivation 'nix-2.3.4' at /nix/store/b41b7jkbdr3jx9nfdvnhsg81jyz39j7j-nixos-20.03.1866.a7c70f2e10b/nixos/pkgs/tools/package-management/nix/default.nix:30:14:
while evaluating the attribute 'nativeBuildInputs' of the derivation 'nlohmann_json-3.7.3' at /nix/store/b41b7jkbdr3jx9nfdvnhsg81jyz39j7j-nixos-20.03.1866.a7c70f2e10b/nixos/pkgs/stdenv/generic/make-derivation.nix:191:11:
while evaluating the attribute 'buildInputs' of the derivation 'cmake-3.16.3' at /nix/store/b41b7jkbdr3jx9nfdvnhsg81jyz39j7j-nixos-20.03.1866.a7c70f2e10b/nixos/pkgs/stdenv/generic/make-derivation.nix:191:11:
while evaluating the attribute 'buildInputs' of the derivation 'libarchive-3.4.2' at /nix/store/b41b7jkbdr3jx9nfdvnhsg81jyz39j7j-nixos-20.03.1866.a7c70f2e10b/nixos/pkgs/stdenv/generic/make-derivation.nix:191:11:
while evaluating the attribute 'buildInputs' of the derivation 'e2fsprogs-1.45.5' at /nix/store/b41b7jkbdr3jx9nfdvnhsg81jyz39j7j-nixos-20.03.1866.a7c70f2e10b/nixos/pkgs/stdenv/generic/make-derivation.nix:191:11:
while evaluating the attribute 'buildInputs' of the derivation 'util-linux-2.33.2' at /nix/store/b41b7jkbdr3jx9nfdvnhsg81jyz39j7j-nixos-20.03.1866.a7c70f2e10b/nixos/pkgs/stdenv/generic/make-derivation.nix:191:11:
while evaluating the attribute 'nativeBuildInputs' of the derivation 'linux-pam-1.3.1' at /nix/store/b41b7jkbdr3jx9nfdvnhsg81jyz39j7j-nixos-20.03.1866.a7c70f2e10b/nixos/pkgs/stdenv/generic/make-derivation.nix:191:11:
while evaluating the attribute 'nativeBuildInputs' of the derivation 'flex-2.6.4' at /nix/store/b41b7jkbdr3jx9nfdvnhsg81jyz39j7j-nixos-20.03.1866.a7c70f2e10b/nixos/pkgs/stdenv/generic/make-derivation.nix:191:11:
while evaluating the attribute 'buildCommand' of the derivation 'hook' at /nix/store/b41b7jkbdr3jx9nfdvnhsg81jyz39j7j-nixos-20.03.1866.a7c70f2e10b/nixos/pkgs/build-support/trivial-builders.nix:7:14:
while evaluating 'optionalString' at /nix/store/b41b7jkbdr3jx9nfdvnhsg81jyz39j7j-nixos-20.03.1866.a7c70f2e10b/nixos/lib/strings.nix:180:5, called from /nix/store/b41b7jkbdr3jx9nfdvnhsg81jyz39j7j-nixos-20.03.1866.a7c70f2e10b/nixos/pkgs/build-support/trivial-builders.nix:291:12:
while evaluating the attribute 'nativeBuildInputs' of the derivation 'libtool-2.4.6' at /nix/store/b41b7jkbdr3jx9nfdvnhsg81jyz39j7j-nixos-20.03.1866.a7c70f2e10b/nixos/pkgs/stdenv/generic/make-derivation.nix:191:11:
while evaluating the attribute 'buildInputs' of the derivation 'help2man-1.47.12' at /nix/store/b41b7jkbdr3jx9nfdvnhsg81jyz39j7j-nixos-20.03.1866.a7c70f2e10b/nixos/pkgs/development/tools/misc/help2man/default.nix:4:3:
while evaluating 'getOutput' at /nix/store/b41b7jkbdr3jx9nfdvnhsg81jyz39j7j-nixos-20.03.1866.a7c70f2e10b/nixos/lib/attrsets.nix:464:23, called from undefined position:
while evaluating anonymous function at /nix/store/b41b7jkbdr3jx9nfdvnhsg81jyz39j7j-nixos-20.03.1866.a7c70f2e10b/nixos/pkgs/stdenv/generic/make-derivation.nix:142:17, called from undefined position:
while evaluating 'recurseIntoAttrs' at /nix/store/b41b7jkbdr3jx9nfdvnhsg81jyz39j7j-nixos-20.03.1866.a7c70f2e10b/nixos/pkgs/top-level/all-packages.nix:67:22, called from /nix/store/b41b7jkbdr3jx9nfdvnhsg81jyz39j7j-nixos-20.03.1866.a7c70f2e10b/nixos/pkgs/top-level/all-packages.nix:15052:21:
while evaluating the attribute 'pkgs' at /nix/store/b41b7jkbdr3jx9nfdvnhsg81jyz39j7j-nixos-20.03.1866.a7c70f2e10b/nixos/pkgs/development/interpreters/perl/default.nix:122:7:
while evaluating 'callPackageWith' at /nix/store/b41b7jkbdr3jx9nfdvnhsg81jyz39j7j-nixos-20.03.1866.a7c70f2e10b/nixos/lib/customisation.nix:117:35, called from /nix/store/b41b7jkbdr3jx9nfdvnhsg81jyz39j7j-nixos-20.03.1866.a7c70f2e10b/nixos/pkgs/development/interpreters/perl/default.nix:122:14:
while evaluating 'makeOverridable' at /nix/store/b41b7jkbdr3jx9nfdvnhsg81jyz39j7j-nixos-20.03.1866.a7c70f2e10b/nixos/lib/customisation.nix:67:24, called from /nix/store/b41b7jkbdr3jx9nfdvnhsg81jyz39j7j-nixos-20.03.1866.a7c70f2e10b/nixos/lib/customisation.nix:121:8:
while evaluating anonymous function at /nix/store/b41b7jkbdr3jx9nfdvnhsg81jyz39j7j-nixos-20.03.1866.a7c70f2e10b/nixos/pkgs/top-level/perl-packages.nix:8:1, called from /nix/store/b41b7jkbdr3jx9nfdvnhsg81jyz39j7j-nixos-20.03.1866.a7c70f2e10b/nixos/lib/customisation.nix:69:16:
while evaluating 'versionAtLeast' at /nix/store/b41b7jkbdr3jx9nfdvnhsg81jyz39j7j-nixos-20.03.1866.a7c70f2e10b/nixos/lib/strings.nix:473:24, called from /nix/store/b41b7jkbdr3jx9nfdvnhsg81jyz39j7j-nixos-20.03.1866.a7c70f2e10b/nixos/pkgs/top-level/perl-packages.nix:11:8:
while evaluating 'versionOlder' at /nix/store/b41b7jkbdr3jx9nfdvnhsg81jyz39j7j-nixos-20.03.1866.a7c70f2e10b/nixos/lib/strings.nix:461:22, called from /nix/store/b41b7jkbdr3jx9nfdvnhsg81jyz39j7j-nixos-20.03.1866.a7c70f2e10b/nixos/lib/strings.nix:473:29:
attribute 'perl530' missing, at /nix/store/b41b7jkbdr3jx9nfdvnhsg81jyz39j7j-nixos-20.03.1866.a7c70f2e10b/nixos/pkgs/development/interpreters/perl/default.nix:215:12
building Nix...
error: while evaluating the attribute 'buildInputs' of the derivation 'nix-2.3.4' at /nix/store/b41b7jkbdr3jx9nfdvnhsg81jyz39j7j-nixos-20.03.1866.a7c70f2e10b/nixos/pkgs/tools/package-management/nix/default.nix:30:14:
while evaluating the attribute 'nativeBuildInputs' of the derivation 'nlohmann_json-3.7.3' at /nix/store/b41b7jkbdr3jx9nfdvnhsg81jyz39j7j-nixos-20.03.1866.a7c70f2e10b/nixos/pkgs/stdenv/generic/make-derivation.nix:191:11:
while evaluating the attribute 'buildInputs' of the derivation 'cmake-3.16.3' at /nix/store/b41b7jkbdr3jx9nfdvnhsg81jyz39j7j-nixos-20.03.1866.a7c70f2e10b/nixos/pkgs/stdenv/generic/make-derivation.nix:191:11:
while evaluating the attribute 'buildInputs' of the derivation 'libarchive-3.4.2' at /nix/store/b41b7jkbdr3jx9nfdvnhsg81jyz39j7j-nixos-20.03.1866.a7c70f2e10b/nixos/pkgs/stdenv/generic/make-derivation.nix:191:11:
while evaluating the attribute 'buildInputs' of the derivation 'e2fsprogs-1.45.5' at /nix/store/b41b7jkbdr3jx9nfdvnhsg81jyz39j7j-nixos-20.03.1866.a7c70f2e10b/nixos/pkgs/stdenv/generic/make-derivation.nix:191:11:
while evaluating the attribute 'buildInputs' of the derivation 'util-linux-2.33.2' at /nix/store/b41b7jkbdr3jx9nfdvnhsg81jyz39j7j-nixos-20.03.1866.a7c70f2e10b/nixos/pkgs/stdenv/generic/make-derivation.nix:191:11:
while evaluating the attribute 'nativeBuildInputs' of the derivation 'linux-pam-1.3.1' at /nix/store/b41b7jkbdr3jx9nfdvnhsg81jyz39j7j-nixos-20.03.1866.a7c70f2e10b/nixos/pkgs/stdenv/generic/make-derivation.nix:191:11:
while evaluating the attribute 'nativeBuildInputs' of the derivation 'flex-2.6.4' at /nix/store/b41b7jkbdr3jx9nfdvnhsg81jyz39j7j-nixos-20.03.1866.a7c70f2e10b/nixos/pkgs/stdenv/generic/make-derivation.nix:191:11:
while evaluating the attribute 'buildCommand' of the derivation 'hook' at /nix/store/b41b7jkbdr3jx9nfdvnhsg81jyz39j7j-nixos-20.03.1866.a7c70f2e10b/nixos/pkgs/build-support/trivial-builders.nix:7:14:
while evaluating 'optionalString' at /nix/store/b41b7jkbdr3jx9nfdvnhsg81jyz39j7j-nixos-20.03.1866.a7c70f2e10b/nixos/lib/strings.nix:180:5, called from /nix/store/b41b7jkbdr3jx9nfdvnhsg81jyz39j7j-nixos-20.03.1866.a7c70f2e10b/nixos/pkgs/build-support/trivial-builders.nix:291:12:
while evaluating the attribute 'nativeBuildInputs' of the derivation 'libtool-2.4.6' at /nix/store/b41b7jkbdr3jx9nfdvnhsg81jyz39j7j-nixos-20.03.1866.a7c70f2e10b/nixos/pkgs/stdenv/generic/make-derivation.nix:191:11:
while evaluating the attribute 'buildInputs' of the derivation 'help2man-1.47.12' at /nix/store/b41b7jkbdr3jx9nfdvnhsg81jyz39j7j-nixos-20.03.1866.a7c70f2e10b/nixos/pkgs/development/tools/misc/help2man/default.nix:4:3:
while evaluating 'getOutput' at /nix/store/b41b7jkbdr3jx9nfdvnhsg81jyz39j7j-nixos-20.03.1866.a7c70f2e10b/nixos/lib/attrsets.nix:464:23, called from undefined position:
while evaluating anonymous function at /nix/store/b41b7jkbdr3jx9nfdvnhsg81jyz39j7j-nixos-20.03.1866.a7c70f2e10b/nixos/pkgs/stdenv/generic/make-derivation.nix:142:17, called from undefined position:
while evaluating 'recurseIntoAttrs' at /nix/store/b41b7jkbdr3jx9nfdvnhsg81jyz39j7j-nixos-20.03.1866.a7c70f2e10b/nixos/pkgs/top-level/all-packages.nix:67:22, called from /nix/store/b41b7jkbdr3jx9nfdvnhsg81jyz39j7j-nixos-20.03.1866.a7c70f2e10b/nixos/pkgs/top-level/all-packages.nix:15052:21:
while evaluating the attribute 'pkgs' at /nix/store/b41b7jkbdr3jx9nfdvnhsg81jyz39j7j-nixos-20.03.1866.a7c70f2e10b/nixos/pkgs/development/interpreters/perl/default.nix:122:7:
while evaluating 'callPackageWith' at /nix/store/b41b7jkbdr3jx9nfdvnhsg81jyz39j7j-nixos-20.03.1866.a7c70f2e10b/nixos/lib/customisation.nix:117:35, called from /nix/store/b41b7jkbdr3jx9nfdvnhsg81jyz39j7j-nixos-20.03.1866.a7c70f2e10b/nixos/pkgs/development/interpreters/perl/default.nix:122:14:
while evaluating 'makeOverridable' at /nix/store/b41b7jkbdr3jx9nfdvnhsg81jyz39j7j-nixos-20.03.1866.a7c70f2e10b/nixos/lib/customisation.nix:67:24, called from /nix/store/b41b7jkbdr3jx9nfdvnhsg81jyz39j7j-nixos-20.03.1866.a7c70f2e10b/nixos/lib/customisation.nix:121:8:
while evaluating anonymous function at /nix/store/b41b7jkbdr3jx9nfdvnhsg81jyz39j7j-nixos-20.03.1866.a7c70f2e10b/nixos/pkgs/top-level/perl-packages.nix:8:1, called from /nix/store/b41b7jkbdr3jx9nfdvnhsg81jyz39j7j-nixos-20.03.1866.a7c70f2e10b/nixos/lib/customisation.nix:69:16:
while evaluating 'versionAtLeast' at /nix/store/b41b7jkbdr3jx9nfdvnhsg81jyz39j7j-nixos-20.03.1866.a7c70f2e10b/nixos/lib/strings.nix:473:24, called from /nix/store/b41b7jkbdr3jx9nfdvnhsg81jyz39j7j-nixos-20.03.1866.a7c70f2e10b/nixos/pkgs/top-level/perl-packages.nix:11:8:
while evaluating 'versionOlder' at /nix/store/b41b7jkbdr3jx9nfdvnhsg81jyz39j7j-nixos-20.03.1866.a7c70f2e10b/nixos/lib/strings.nix:461:22, called from /nix/store/b41b7jkbdr3jx9nfdvnhsg81jyz39j7j-nixos-20.03.1866.a7c70f2e10b/nixos/lib/strings.nix:473:29:
attribute 'perl530' missing, at /nix/store/b41b7jkbdr3jx9nfdvnhsg81jyz39j7j-nixos-20.03.1866.a7c70f2e10b/nixos/pkgs/development/interpreters/perl/default.nix:215:12
building the system configuration...
error: while evaluating the attribute 'config.system.build.toplevel' at /nix/var/nix/profiles/per-user/root/channels/nixos/nixos/modules/system/activation/top-level.nix:275:5:
while evaluating 'foldr' at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/lists.nix:52:20, called from /nix/var/nix/profiles/per-user/root/channels/nixos/nixos/modules/system/activation/top-level.nix:139:12:
while evaluating 'fold'' at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/lists.nix:55:15, called from /nix/var/nix/profiles/per-user/root/channels/nixos/lib/lists.nix:59:8:
while evaluating the attribute 'assertions' at undefined position:
while evaluating anonymous function at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:84:45, called from undefined position:
while evaluating the attribute 'value' at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:379:9:
while evaluating the option `assertions':
while evaluating the attribute 'mergedValue' at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:411:5:
while evaluating the attribute 'values' at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:405:9:
while evaluating the attribute 'values' at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:505:7:
while evaluating anonymous function at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:391:28, called from /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:391:17:
while evaluating 'dischargeProperties' at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:464:25, called from /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:392:62:
while evaluating 'dischargeProperties' at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:464:25, called from /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:470:11:
while evaluating the attribute 'content' at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:549:14:
while evaluating the attribute 'boot.kernelPackages.kernel' at undefined position:
while evaluating anonymous function at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:84:45, called from undefined position:
while evaluating the attribute 'value' at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:379:9:
while evaluating the option `boot.kernelPackages':
while evaluating 'apply' at /nix/var/nix/profiles/per-user/root/channels/nixos/nixos/modules/system/boot/kernel.nix:40:15, called from /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:376:35:
while evaluating the attribute 'mergedValue' at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:411:5:
while evaluating anonymous function at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:413:22, called from /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:413:9:
while evaluating 'mergeEqualOption' at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/options.nix:108:27, called from /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:416:12:
while evaluating anonymous function at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/options.nix:110:23, called from /nix/var/nix/profiles/per-user/root/channels/nixos/lib/options.nix:110:10:
while evaluating 'callPackageWith' at /nix/store/b41b7jkbdr3jx9nfdvnhsg81jyz39j7j-nixos-20.03.1866.a7c70f2e10b/nixos/lib/customisation.nix:117:35, called from /nix/store/b41b7jkbdr3jx9nfdvnhsg81jyz39j7j-nixos-20.03.1866.a7c70f2e10b/nixos/pkgs/top-level/all-packages.nix:16556:11:
while evaluating 'makeOverridable' at /nix/store/b41b7jkbdr3jx9nfdvnhsg81jyz39j7j-nixos-20.03.1866.a7c70f2e10b/nixos/lib/customisation.nix:67:24, called from /nix/store/b41b7jkbdr3jx9nfdvnhsg81jyz39j7j-nixos-20.03.1866.a7c70f2e10b/nixos/lib/customisation.nix:121:8:
while evaluating anonymous function at /nix/store/b41b7jkbdr3jx9nfdvnhsg81jyz39j7j-nixos-20.03.1866.a7c70f2e10b/nixos/pkgs/os-specific/linux/bcc/default.nix:1:1, called from /nix/store/b41b7jkbdr3jx9nfdvnhsg81jyz39j7j-nixos-20.03.1866.a7c70f2e10b/nixos/lib/customisation.nix:69:16:
while evaluating the attribute 'python37' at /nix/store/b41b7jkbdr3jx9nfdvnhsg81jyz39j7j-nixos-20.03.1866.a7c70f2e10b/nixos/pkgs/development/interpreters/python/default.nix:90:3:
undefined variable 'callPackage' at /nix/store/b41b7jkbdr3jx9nfdvnhsg81jyz39j7j-nixos-20.03.1866.a7c70f2e10b/nixos/pkgs/development/interpreters/python/default.nix:90:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment