# Pastebin lUcXkZTF building Nix... building the system configuration... fatal: couldn't find remote ref refs/heads/HEAD error: --- Error --- nix-build program 'git' failed with exit code 128 ---- show-trace ---- trace: while evaluating the attribute 'src.name' at: (146:7) in file: /nix/store/7zz428l2ggna7364wzykdvn5r2yxki4s-source/pkgs/development/tools/poetry2nix/poetry2nix/mk-poetry-dep.nix 145| # Here we can then choose a file based on that info. 146| src = | ^ 147| if isGit then ( trace: while evaluating 'hasSuffix' at: (212:5) in file: /nix/store/7zz428l2ggna7364wzykdvn5r2yxki4s-source/lib/strings.nix 211| # Input string 212| content: | ^ 213| let trace: from call site at: (120:23) in file: /nix/store/7zz428l2ggna7364wzykdvn5r2yxki4s-source/pkgs/development/interpreters/python/mk-python-derivation.nix 119| pythonRemoveBinBytecodeHook 120| ] ++ lib.optionals (lib.hasSuffix "zip" (attrs.src.name or "")) [ | ^ 121| unzip trace: while evaluating 'optionals' at: (270:5) in file: /nix/store/7zz428l2ggna7364wzykdvn5r2yxki4s-source/lib/lists.nix 269| # List to return if condition is true 270| elems: if cond then elems else []; | ^ 271| trace: from call site at: (120:8) in file: /nix/store/7zz428l2ggna7364wzykdvn5r2yxki4s-source/pkgs/development/interpreters/python/mk-python-derivation.nix 119| pythonRemoveBinBytecodeHook 120| ] ++ lib.optionals (lib.hasSuffix "zip" (attrs.src.name or "")) [ | ^ 121| unzip trace: while evaluating 'chooseDevOutputs' at: (475:22) in file: /nix/store/7zz428l2ggna7364wzykdvn5r2yxki4s-source/lib/attrsets.nix 474| /* Pick the outputs of packages to place in buildInputs */ 475| chooseDevOutputs = drvs: builtins.map getDev drvs; | ^ 476| trace: from call site trace: while evaluating the attribute 'nativeBuildInputs' of the derivation 'python3.8-nixops-2.0.0' at: (108:3) in file: /nix/store/7zz428l2ggna7364wzykdvn5r2yxki4s-source/pkgs/development/interpreters/python/mk-python-derivation.nix 107| 108| name = namePrefix + name; | ^ 109| trace: while evaluating the attribute 'out.outPath' at: (156:13) in file: /nix/store/7zz428l2ggna7364wzykdvn5r2yxki4s-source/lib/customisation.nix 155| drvPath = assert condition; drv.${outputName}.drvPath; 156| outPath = assert condition; drv.${outputName}.outPath; | ^ 157| }; trace: while evaluating anonymous lambda at: (45:52) in file: /nix/store/l81n07747070j7slcc8nysf5g5fjp0v8-source/nixops-pluggable.nix 44| 45| for bindir in ${lib.concatStringsSep " " (map (d: "${lib.getBin d}/bin") plugins)}; do | ^ 46| for bin in $bindir/*; do trace: from call site trace: while evaluating the attribute 'buildCommand' of the derivation 'nixops-with-plugins-2.0.0' at: (7:7) in file: /nix/store/7zz428l2ggna7364wzykdvn5r2yxki4s-source/pkgs/build-support/trivial-builders.nix 6| stdenv.mkDerivation ({ 7| name = lib.strings.sanitizeDerivationName name; | ^ 8| inherit buildCommand; trace: while evaluating the attribute 'passAsFile' of the derivation 'system-path' at: (7:7) in file: /nix/store/sy1rq0mbm5h54b2l047ly8xy4q2fxf07-nixos-20.09.1469.13d0c311e3a/nixos/pkgs/build-support/trivial-builders.nix 6| stdenv.mkDerivation ({ 7| name = lib.strings.sanitizeDerivationName name; | ^ 8| inherit buildCommand; trace: while evaluating 'check' at: (256:15) in file: /nix/var/nix/profiles/per-user/root/channels/nixos/lib/types.nix 255| name = "path"; 256| check = x: isCoercibleToString x && builtins.substring 0 1 (toString x) == "/"; | ^ 257| merge = mergeEqualOption; trace: from call site at: (499:22) in file: /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix 498| if isDefined then 499| if all (def: type.check def.value) defsFinal then type.merge loc defsFinal | ^ 500| else let firstInvalid = findFirst (def: ! type.check def.value) null defsFinal; trace: while evaluating anonymous lambda at: (499:17) in file: /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix 498| if isDefined then 499| if all (def: type.check def.value) defsFinal then type.merge loc defsFinal | ^ 500| else let firstInvalid = findFirst (def: ! type.check def.value) null defsFinal; trace: from call site at: (499:12) in file: /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix 498| if isDefined then 499| if all (def: type.check def.value) defsFinal then type.merge loc defsFinal | ^ 500| else let firstInvalid = findFirst (def: ! type.check def.value) null defsFinal; trace: while evaluating the attribute 'value' at: (510:27) in file: /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix 509| optionalValue = 510| if isDefined then { value = mergedValue; } | ^ 511| else {}; trace: while evaluating anonymous lambda at: (265:14) in file: /nix/var/nix/profiles/per-user/root/channels/nixos/lib/types.nix 264| merge = loc: defs: 265| map (x: x.value) (filter (x: x ? value) (concatLists (imap1 (n: def: | ^ 266| if isList def.value then trace: from call site trace: while evaluating the attribute 'serviceDirectories' of the derivation 'dbus-1' at: (7:7) in file: /nix/store/sy1rq0mbm5h54b2l047ly8xy4q2fxf07-nixos-20.09.1469.13d0c311e3a/nixos/pkgs/build-support/trivial-builders.nix 6| stdenv.mkDerivation ({ 7| name = lib.strings.sanitizeDerivationName name; | ^ 8| inherit buildCommand; trace: while evaluating 'check' at: (256:15) in file: /nix/var/nix/profiles/per-user/root/channels/nixos/lib/types.nix 255| name = "path"; 256| check = x: isCoercibleToString x && builtins.substring 0 1 (toString x) == "/"; | ^ 257| merge = mergeEqualOption; trace: from call site at: (499:22) in file: /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix 498| if isDefined then 499| if all (def: type.check def.value) defsFinal then type.merge loc defsFinal | ^ 500| else let firstInvalid = findFirst (def: ! type.check def.value) null defsFinal; trace: while evaluating anonymous lambda at: (499:17) in file: /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix 498| if isDefined then 499| if all (def: type.check def.value) defsFinal then type.merge loc defsFinal | ^ 500| else let firstInvalid = findFirst (def: ! type.check def.value) null defsFinal; trace: from call site at: (499:12) in file: /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix 498| if isDefined then 499| if all (def: type.check def.value) defsFinal then type.merge loc defsFinal | ^ 500| else let firstInvalid = findFirst (def: ! type.check def.value) null defsFinal; trace: while evaluating the attribute 'mergedValue' at: (497:5) in file: /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix 496| # Type-check the remaining definitions, and merge them. Or throw if no definitions. 497| mergedValue = | ^ 498| if isDefined then trace: while evaluating the option `environment.etc.dbus-1.source': trace: while evaluating the attribute 'value' at: (465:9) in file: /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix 464| in warnDeprecation opt // 465| { value = builtins.addErrorContext "while evaluating the option `${showOption loc}':" value; | ^ 466| inherit (res.defsFinal') highestPrio; trace: while evaluating anonymous lambda at: (98:72) in file: /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix 97| # For definitions that have an associated option 98| declaredConfig = mapAttrsRecursiveCond (v: ! isOption v) (_: v: v.value) options; | ^ 99| trace: from call site at: (279:20) in file: /nix/var/nix/profiles/per-user/root/channels/nixos/lib/attrsets.nix 278| then recurse (path ++ [name]) value 279| else f (path ++ [name]) value; | ^ 280| in mapAttrs g set; trace: while evaluating 'g' at: (276:19) in file: /nix/var/nix/profiles/per-user/root/channels/nixos/lib/attrsets.nix 275| g = 276| name: value: | ^ 277| if isAttrs value && cond value trace: from call site trace: while evaluating the attribute 'source' trace: while evaluating anonymous lambda at: (20:20) in file: /nix/var/nix/profiles/per-user/root/channels/nixos/nixos/modules/system/etc/etc.nix 19| /* !!! Use toXML. */ 20| sources = map (x: x.source) etc'; | ^ 21| targets = map (x: x.target) etc'; trace: from call site trace: while evaluating the attribute 'sources' of the derivation 'etc' at: (12:5) in file: /nix/var/nix/profiles/per-user/root/channels/nixos/nixos/modules/system/etc/etc.nix 11| etc = pkgs.stdenvNoCC.mkDerivation { 12| name = "etc"; | ^ 13| trace: while evaluating the attribute 'text' at: (77:38) in file: /nix/var/nix/profiles/per-user/root/channels/nixos/lib/strings-with-deps.nix 76| 77| stringAfter = deps: text: { inherit text deps; }; | ^ 78| trace: while evaluating the attribute 'text' at: (9:5) in file: /nix/var/nix/profiles/per-user/root/channels/nixos/nixos/modules/system/activation/activation-script.nix 8| addAttributeName = mapAttrs (a: v: v // { 9| text = '' | ^ 10| #### Activation script snippet ${a}: trace: while evaluating 'id' at: (14:5) in file: /nix/var/nix/profiles/per-user/root/channels/nixos/lib/trivial.nix 13| # The value to return 14| x: x; | ^ 15| trace: from call site trace: while evaluating 'textClosureMap' at: (70:35) in file: /nix/var/nix/profiles/per-user/root/channels/nixos/lib/strings-with-deps.nix 69| 70| textClosureMap = f: predefined: names: | ^ 71| concatStringsSep "\n" (map f (textClosureList predefined names)); trace: from call site at: (89:18) in file: /nix/var/nix/profiles/per-user/root/channels/nixos/nixos/modules/system/activation/activation-script.nix 88| withHeadlines = addAttributeName set'; 89| in textClosureMap id (withHeadlines) (attrNames withHeadlines) | ^ 90| } trace: while evaluating the attribute 'system.activationScripts.script' at: (68:9) in file: /nix/var/nix/profiles/per-user/root/channels/nixos/nixos/modules/system/activation/activation-script.nix 67| apply = set: { 68| script = | ^ 69| '' trace: while evaluating the attribute 'activationScript' of the derivation 'nixos-system-monster-20.09.1469.13d0c311e3a' at: (95:5) in file: /nix/var/nix/profiles/per-user/root/channels/nixos/nixos/modules/system/activation/top-level.nix 94| baseSystem = pkgs.stdenvNoCC.mkDerivation { 95| name = "nixos-system-${config.system.name}-${config.system.nixos.label}"; | ^ 96| preferLocalBuild = true;