Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $ sudo nixos-install --flake '.#miku-nixos' --impure --show-trace
- building the flake in git+file:///mnt/etc/nixos?ref=master&rev=263740a4b91eb9f34f03e560ca9af61096f9f261...
- error: --- TypeError --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- nix
- at: (310:15) in file: /mnt/nix/store/iv5kvpbswff5m4kfsh0x7vaj1g18axls-source/lib/attrsets.nix
- 309| let
- 310| path' = builtins.storePath path;
- | ^
- 311| res =
- cannot coerce a list to a string
- ----------------------------------------------------------------------------------------------------------------- show-trace -----------------------------------------------------------------------------------------------------------------
- trace: while evaluating the attribute 'passAsFile' of the derivation 'system-path'
- at: (7:7) in file: /mnt/nix/store/iv5kvpbswff5m4kfsh0x7vaj1g18axls-source/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: /mnt/nix/store/iv5kvpbswff5m4kfsh0x7vaj1g18axls-source/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: /mnt/nix/store/iv5kvpbswff5m4kfsh0x7vaj1g18axls-source/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: /mnt/nix/store/iv5kvpbswff5m4kfsh0x7vaj1g18axls-source/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: /mnt/nix/store/iv5kvpbswff5m4kfsh0x7vaj1g18axls-source/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: /mnt/nix/store/iv5kvpbswff5m4kfsh0x7vaj1g18axls-source/lib/modules.nix
- 509| optionalValue =
- 510| if isDefined then { value = mergedValue; }
- | ^
- 511| else {};
- trace: while evaluating anonymous lambda
- at: (265:14) in file: /mnt/nix/store/iv5kvpbswff5m4kfsh0x7vaj1g18axls-source/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: /mnt/nix/store/iv5kvpbswff5m4kfsh0x7vaj1g18axls-source/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: /mnt/nix/store/iv5kvpbswff5m4kfsh0x7vaj1g18axls-source/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: /mnt/nix/store/iv5kvpbswff5m4kfsh0x7vaj1g18axls-source/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: /mnt/nix/store/iv5kvpbswff5m4kfsh0x7vaj1g18axls-source/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: /mnt/nix/store/iv5kvpbswff5m4kfsh0x7vaj1g18axls-source/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: /mnt/nix/store/iv5kvpbswff5m4kfsh0x7vaj1g18axls-source/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: /mnt/nix/store/iv5kvpbswff5m4kfsh0x7vaj1g18axls-source/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: /mnt/nix/store/iv5kvpbswff5m4kfsh0x7vaj1g18axls-source/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: /mnt/nix/store/iv5kvpbswff5m4kfsh0x7vaj1g18axls-source/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: /mnt/nix/store/iv5kvpbswff5m4kfsh0x7vaj1g18axls-source/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: /mnt/nix/store/iv5kvpbswff5m4kfsh0x7vaj1g18axls-source/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: /mnt/nix/store/iv5kvpbswff5m4kfsh0x7vaj1g18axls-source/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: /mnt/nix/store/iv5kvpbswff5m4kfsh0x7vaj1g18axls-source/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: /mnt/nix/store/iv5kvpbswff5m4kfsh0x7vaj1g18axls-source/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: /mnt/nix/store/iv5kvpbswff5m4kfsh0x7vaj1g18axls-source/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: /mnt/nix/store/iv5kvpbswff5m4kfsh0x7vaj1g18axls-source/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: /mnt/nix/store/iv5kvpbswff5m4kfsh0x7vaj1g18axls-source/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: /mnt/nix/store/iv5kvpbswff5m4kfsh0x7vaj1g18axls-source/nixos/modules/system/activation/activation-script.nix
- 67| apply = set: {
- 68| script =
- | ^
- 69| ''
- trace: while evaluating the attribute 'activationScript' of the derivation 'nixos-system-miku-nixos-20.09.20210213.2118cf5'
- at: (95:5) in file: /mnt/nix/store/iv5kvpbswff5m4kfsh0x7vaj1g18axls-source/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;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement