Something went wrong. Try again.
full trace with `--show-trace`
Something went wrong. Try again.
34 kB · 724 lines · Created 4mo ago
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725λ nix run .#vm --impure --show-tracewarning: Git tree '/home/op/code/tangled' is dirtyevaluation warning: system.stateVersion is not set, defaulting to 26.05. Read why this matters on https://nixos.org/manual/nixos/stable/options.html#opt-system.stateVersion.error: … while calling the 'getAttr' builtin at «nix-internal»/derivation-internal.nix:50:17: 49| value = commonAttrs // { 50| outPath = builtins.getAttr outputName strict; | ^ 51| drvPath = strict.drvPath;
… while calling the 'derivationStrict' builtin at «nix-internal»/derivation-internal.nix:37:12: 36| 37| strict = derivationStrict drvAttrs; | ^ 38|
… while evaluating derivation 'launch-vm' whose name attribute is located at /nix/store/zkrz054gvl1dcxkw25d8lgx8l10px665-source/pkgs/stdenv/generic/make-derivation.nix:536:13
… while evaluating attribute 'text' of derivation 'launch-vm' at /nix/store/zkrz054gvl1dcxkw25d8lgx8l10px665-source/pkgs/build-support/trivial-builders/default.nix:130:13: 129| inherit 130| text | ^ 131| executable
… from call site at /nix/store/kp9vljl1nfdq1ijm1jf1sr9pkm2nykq3-source/flake.nix:442:22: 441| export TANGLED_VM_DATA_DIR="$rootDir/nix/vm-data" 442| exec ${pkgs.lib.getExe | ^ 443| (import ./nix/vm.nix {
… while calling 'getExe' at /nix/store/zkrz054gvl1dcxkw25d8lgx8l10px665-source/lib/meta.nix:445:5: 444| getExe = 445| x: | ^ 446| getExe' x (
… from call site at /nix/store/zkrz054gvl1dcxkw25d8lgx8l10px665-source/lib/meta.nix:446:5: 445| x: 446| getExe' x ( | ^ 447| x.meta.mainProgram or (
… while calling 'getExe'' at /nix/store/zkrz054gvl1dcxkw25d8lgx8l10px665-source/lib/meta.nix:491:8: 490| getExe' = 491| x: y: | ^ 492| assert assertMsg (isDerivation x)
… while calling the 'getAttr' builtin at «nix-internal»/derivation-internal.nix:50:17: 49| value = commonAttrs // { 50| outPath = builtins.getAttr outputName strict; | ^ 51| drvPath = strict.drvPath;
… while calling the 'derivationStrict' builtin at «nix-internal»/derivation-internal.nix:37:12: 36| 37| strict = derivationStrict drvAttrs; | ^ 38|
… while evaluating derivation 'nixos-vm' whose name attribute is located at /nix/store/zkrz054gvl1dcxkw25d8lgx8l10px665-source/pkgs/stdenv/generic/make-derivation.nix:536:13
… while evaluating attribute 'buildCommand' of derivation 'nixos-vm' at /nix/store/zkrz054gvl1dcxkw25d8lgx8l10px665-source/pkgs/build-support/trivial-builders/default.nix:80:17: 79| enableParallelBuilding = true; 80| inherit buildCommand name; | ^ 81| passAsFile = [ "buildCommand" ] ++ (derivationArgs.passAsFile or [ ]);
… while calling the 'getAttr' builtin at «nix-internal»/derivation-internal.nix:50:17: 49| value = commonAttrs // { 50| outPath = builtins.getAttr outputName strict; | ^ 51| drvPath = strict.drvPath;
… while calling the 'derivationStrict' builtin at «nix-internal»/derivation-internal.nix:37:12: 36| 37| strict = derivationStrict drvAttrs; | ^ 38|
… while evaluating derivation 'nixos-system-nixos-26.05.20260223.2fc6539' whose name attribute is located at /nix/store/zkrz054gvl1dcxkw25d8lgx8l10px665-source/pkgs/stdenv/generic/make-derivation.nix:536:13
… while evaluating attribute 'buildCommand' of derivation 'nixos-system-nixos-26.05.20260223.2fc6539' at /nix/store/zkrz054gvl1dcxkw25d8lgx8l10px665-source/nixos/modules/system/activation/top-level.nix:64:7: 63| passAsFile = [ "extraDependencies" ]; 64| buildCommand = systemBuilder; | ^ 65|
… while calling the 'getAttr' builtin at «nix-internal»/derivation-internal.nix:50:17: 49| value = commonAttrs // { 50| outPath = builtins.getAttr outputName strict; | ^ 51| drvPath = strict.drvPath;
… while calling the 'derivationStrict' builtin at «nix-internal»/derivation-internal.nix:37:12: 36| 37| strict = derivationStrict drvAttrs; | ^ 38|
… while evaluating derivation 'etc' whose name attribute is located at /nix/store/zkrz054gvl1dcxkw25d8lgx8l10px665-source/pkgs/stdenv/generic/make-derivation.nix:536:13
… while evaluating attribute 'buildCommand' of derivation 'etc' at /nix/store/zkrz054gvl1dcxkw25d8lgx8l10px665-source/pkgs/build-support/trivial-builders/default.nix:80:17: 79| enableParallelBuilding = true; 80| inherit buildCommand name; | ^ 81| passAsFile = [ "buildCommand" ] ++ (derivationArgs.passAsFile or [ ]);
… from call site at /nix/store/zkrz054gvl1dcxkw25d8lgx8l10px665-source/nixos/modules/system/etc/etc.nix:56:11: 55| mkdir -p "$out/etc" 56| ${lib.concatMapStringsSep "\n" ( | ^ 57| etcEntry:
… while calling 'concatMapStringsSep' at /nix/store/zkrz054gvl1dcxkw25d8lgx8l10px665-source/lib/strings.nix:262:13: 261| concatMapStringsSep = 262| sep: f: list: | ^ 263| concatStringsSep sep (map f list);
… while calling the 'concatStringsSep' builtin at /nix/store/zkrz054gvl1dcxkw25d8lgx8l10px665-source/lib/strings.nix:263:5: 262| sep: f: list: 263| concatStringsSep sep (map f list); | ^ 264|
… while calling anonymous lambda at /nix/store/zkrz054gvl1dcxkw25d8lgx8l10px665-source/nixos/modules/system/etc/etc.nix:57:11: 56| ${lib.concatMapStringsSep "\n" ( 57| etcEntry: | ^ 58| lib.escapeShellArgs [
… from call site at /nix/store/zkrz054gvl1dcxkw25d8lgx8l10px665-source/nixos/modules/system/etc/etc.nix:58:11: 57| etcEntry: 58| lib.escapeShellArgs [ | ^ 59| "makeEtcEntry"
… while calling 'concatMapStringsSep' at /nix/store/zkrz054gvl1dcxkw25d8lgx8l10px665-source/lib/strings.nix:262:13: 261| concatMapStringsSep = 262| sep: f: list: | ^ 263| concatStringsSep sep (map f list);
… while calling the 'concatStringsSep' builtin at /nix/store/zkrz054gvl1dcxkw25d8lgx8l10px665-source/lib/strings.nix:263:5: 262| sep: f: list: 263| concatStringsSep sep (map f list); | ^ 264|
… while calling 'escapeShellArg' at /nix/store/zkrz054gvl1dcxkw25d8lgx8l10px665-source/lib/strings.nix:1202:5: 1201| escapeShellArg = 1202| arg: | ^ 1203| let
… while evaluating a branch condition at /nix/store/zkrz054gvl1dcxkw25d8lgx8l10px665-source/lib/strings.nix:1206:5: 1205| in 1206| if match "[[:alnum:],._+:@%/-]+" string == null then | ^ 1207| "'${replaceString "'" "'\\''" string}'"
… while calling the 'match' builtin at /nix/store/zkrz054gvl1dcxkw25d8lgx8l10px665-source/lib/strings.nix:1206:8: 1205| in 1206| if match "[[:alnum:],._+:@%/-]+" string == null then | ^ 1207| "'${replaceString "'" "'\\''" string}'"
… while evaluating the second argument passed to builtins.match
… while calling the 'toString' builtin at /nix/store/zkrz054gvl1dcxkw25d8lgx8l10px665-source/lib/strings.nix:1204:16: 1203| let 1204| string = toString arg; | ^ 1205| in
… from call site at /nix/store/zkrz054gvl1dcxkw25d8lgx8l10px665-source/nixos/modules/system/etc/etc.nix:61:16: 60| # Force local source paths to be added to the store 61| "${etcEntry.source}" | ^ 62| etcEntry.target
… while calling anonymous lambda at /nix/store/zkrz054gvl1dcxkw25d8lgx8l10px665-source/lib/attrsets.nix:1188:17: 1187| mapAttrs ( 1188| name: value: | ^ 1189| if isAttrs value && cond value then recurse (path ++ [ name ]) value else f (path ++ [ name ]) value
… from call site at /nix/store/zkrz054gvl1dcxkw25d8lgx8l10px665-source/lib/attrsets.nix:1189:85: 1188| name: value: 1189| if isAttrs value && cond value then recurse (path ++ [ name ]) value else f (path ++ [ name ]) value | ^ 1190| );
… while calling anonymous lambda at /nix/store/zkrz054gvl1dcxkw25d8lgx8l10px665-source/lib/modules.nix:284:71: 283| # For definitions that have an associated option 284| declaredConfig = mapAttrsRecursiveCond (v: !isOption v) (_: v: v.value) options; | ^ 285|
… while evaluating the attribute 'value' at /nix/store/zkrz054gvl1dcxkw25d8lgx8l10px665-source/lib/modules.nix:1160:7: 1159| // { 1160| value = addErrorContext "while evaluating the option `${showOption loc}':" value; | ^ 1161| inherit (res.defsFinal') highestPrio;
… while evaluating the option `virtualisation.vmVariant.environment.etc.dbus-1.source':
… while evaluating the attribute 'mergedValue' at /nix/store/zkrz054gvl1dcxkw25d8lgx8l10px665-source/lib/modules.nix:1234:5: 1233| # Type-check the remaining definitions, and merge them. Or throw if no definitions. 1234| mergedValue = | ^ 1235| if isDefined then
… while evaluating a branch condition at /nix/store/zkrz054gvl1dcxkw25d8lgx8l10px665-source/lib/modules.nix:1243:14: 1242| checkedAndMerged.value 1243| else if all (def: type.check def.value) defsFinal then | ^ 1244| type.merge loc defsFinal
… while calling the 'all' builtin at /nix/store/zkrz054gvl1dcxkw25d8lgx8l10px665-source/lib/modules.nix:1243:17: 1242| checkedAndMerged.value 1243| else if all (def: type.check def.value) defsFinal then | ^ 1244| type.merge loc defsFinal
… while calling anonymous lambda at /nix/store/zkrz054gvl1dcxkw25d8lgx8l10px665-source/lib/modules.nix:1243:22: 1242| checkedAndMerged.value 1243| else if all (def: type.check def.value) defsFinal then | ^ 1244| type.merge loc defsFinal
… from call site at /nix/store/zkrz054gvl1dcxkw25d8lgx8l10px665-source/lib/modules.nix:1243:27: 1242| checkedAndMerged.value 1243| else if all (def: type.check def.value) defsFinal then | ^ 1244| type.merge loc defsFinal
… while calling 'check' at /nix/store/zkrz054gvl1dcxkw25d8lgx8l10px665-source/lib/types.nix:712:11: 711| check = 712| x: | ^ 713| let
… in the right operand of the AND (&&) operator at /nix/store/zkrz054gvl1dcxkw25d8lgx8l10px665-source/lib/types.nix:729:11: 728| && (inStore == null || inStore == isInStore) 729| && (absolute == null || absolute == isAbsolute); | ^ 730| };
… in the right operand of the OR (||) operator at /nix/store/zkrz054gvl1dcxkw25d8lgx8l10px665-source/lib/types.nix:729:32: 728| && (inStore == null || inStore == isInStore) 729| && (absolute == null || absolute == isAbsolute); | ^ 730| };
… while calling the 'substring' builtin at /nix/store/zkrz054gvl1dcxkw25d8lgx8l10px665-source/lib/types.nix:722:26: 721| ); 722| isAbsolute = builtins.substring 0 1 (toString x) == "/"; | ^ 723| isExpectedType = (
… while calling the 'toString' builtin at /nix/store/zkrz054gvl1dcxkw25d8lgx8l10px665-source/lib/types.nix:722:50: 721| ); 722| isAbsolute = builtins.substring 0 1 (toString x) == "/"; | ^ 723| isExpectedType = (
… while calling the 'getAttr' builtin at «nix-internal»/derivation-internal.nix:50:17: 49| value = commonAttrs // { 50| outPath = builtins.getAttr outputName strict; | ^ 51| drvPath = strict.drvPath;
… while calling the 'derivationStrict' builtin at «nix-internal»/derivation-internal.nix:37:12: 36| 37| strict = derivationStrict drvAttrs; | ^ 38|
… while evaluating derivation 'dbus-1' whose name attribute is located at /nix/store/zkrz054gvl1dcxkw25d8lgx8l10px665-source/pkgs/stdenv/generic/make-derivation.nix:536:13
… while evaluating attribute 'serviceDirectories' of derivation 'dbus-1' at /nix/store/zkrz054gvl1dcxkw25d8lgx8l10px665-source/pkgs/by-name/ma/makeDBusConf/package.nix:19:13: 18| { 19| inherit serviceDirectories suidHelper apparmor; | ^ 20| preferLocalBuild = true;
… while calling anonymous lambda at /nix/store/zkrz054gvl1dcxkw25d8lgx8l10px665-source/lib/types.nix:770:26: 769| headError = checkDefsForError check loc defs; 770| value = map (x: x.optionalValue.value or x.mergedValue) evals; | ^ 771| valueMeta.list = map (v: v.checkedAndMerged.valueMeta) evals;
… while evaluating the attribute 'optionalValue.value' at /nix/store/zkrz054gvl1dcxkw25d8lgx8l10px665-source/lib/modules.nix:1298:41: 1297| 1298| optionalValue = if isDefined then { value = mergedValue; } else { }; | ^ 1299| };
(11 duplicate frames omitted)
… while evaluating derivation 'system-path' whose name attribute is located at /nix/store/zkrz054gvl1dcxkw25d8lgx8l10px665-source/pkgs/stdenv/generic/make-derivation.nix:536:13
… while evaluating attribute 'passAsFile' of derivation 'system-path' at /nix/store/zkrz054gvl1dcxkw25d8lgx8l10px665-source/pkgs/build-support/trivial-builders/default.nix:81:9: 80| inherit buildCommand name; 81| passAsFile = [ "buildCommand" ] ++ (derivationArgs.passAsFile or [ ]); | ^ 82| }
… while evaluating the attribute 'passAsFile' at /nix/store/zkrz054gvl1dcxkw25d8lgx8l10px665-source/pkgs/build-support/buildenv/default.nix:116:9: 115| # XXX: The size is somewhat arbitrary 116| passAsFile = if builtins.stringLength pkgs >= 128 * 1024 then [ "pkgs" ] else [ ]; | ^ 117| }
… while evaluating a branch condition at /nix/store/zkrz054gvl1dcxkw25d8lgx8l10px665-source/pkgs/build-support/buildenv/default.nix:116:22: 115| # XXX: The size is somewhat arbitrary 116| passAsFile = if builtins.stringLength pkgs >= 128 * 1024 then [ "pkgs" ] else [ ]; | ^ 117| }
… in the argument of the not operator at /nix/store/zkrz054gvl1dcxkw25d8lgx8l10px665-source/pkgs/build-support/buildenv/default.nix:116:52: 115| # XXX: The size is somewhat arbitrary 116| passAsFile = if builtins.stringLength pkgs >= 128 * 1024 then [ "pkgs" ] else [ ]; | ^ 117| }
… while calling the 'lessThan' builtin at /nix/store/zkrz054gvl1dcxkw25d8lgx8l10px665-source/pkgs/build-support/buildenv/default.nix:116:52: 115| # XXX: The size is somewhat arbitrary 116| passAsFile = if builtins.stringLength pkgs >= 128 * 1024 then [ "pkgs" ] else [ ]; | ^ 117| }
… while calling the 'stringLength' builtin at /nix/store/zkrz054gvl1dcxkw25d8lgx8l10px665-source/pkgs/build-support/buildenv/default.nix:116:25: 115| # XXX: The size is somewhat arbitrary 116| passAsFile = if builtins.stringLength pkgs >= 128 * 1024 then [ "pkgs" ] else [ ]; | ^ 117| }
… while calling the 'toJSON' builtin at /nix/store/zkrz054gvl1dcxkw25d8lgx8l10px665-source/pkgs/build-support/buildenv/default.nix:111:16: 110| pathsToLinkJSON = builtins.toJSON pathsToLink; 111| pkgs = builtins.toJSON chosenOutputs; | ^ 112| extraPathsFrom = lib.optional includeClosures (writeClosure pathsForClosure);
… while evaluating list element at index 2
… while evaluating attribute 'paths' at /nix/store/zkrz054gvl1dcxkw25d8lgx8l10px665-source/pkgs/build-support/buildenv/default.nix:70:7: 69| chosenOutputs = map (drv: { 70| paths = | ^ 71| # First add the usual output(s): respect if user has chosen explicitly,
… while evaluating list element at index 0 at /nix/store/zkrz054gvl1dcxkw25d8lgx8l10px665-source/pkgs/build-support/buildenv/default.nix:70:7: 69| chosenOutputs = map (drv: { 70| paths = | ^ 71| # First add the usual output(s): respect if user has chosen explicitly,
… while calling the 'getAttr' builtin at «nix-internal»/derivation-internal.nix:50:17: 49| value = commonAttrs // { 50| outPath = builtins.getAttr outputName strict; | ^ 51| drvPath = strict.drvPath;
… while calling the 'derivationStrict' builtin at «nix-internal»/derivation-internal.nix:37:12: 36| 37| strict = derivationStrict drvAttrs; | ^ 38|
… while evaluating derivation 'spindle' whose name attribute is located at /nix/store/zkrz054gvl1dcxkw25d8lgx8l10px665-source/pkgs/stdenv/generic/make-derivation.nix:536:13
… while evaluating attribute 'text' of derivation 'spindle' at /nix/store/zkrz054gvl1dcxkw25d8lgx8l10px665-source/pkgs/build-support/trivial-builders/default.nix:130:13: 129| inherit 130| text | ^ 131| executable
… from call site at /nix/store/kp9vljl1nfdq1ijm1jf1sr9pkm2nykq3-source/nix/modules/spindle.nix:311:15: 310| ${lib.optionalString (cfg.environmentFile != null) "set -a; source ${cfg.environmentFile}; set +a"} 311| ${lib.concatMapStringsSep "\n" ( | ^ 312| e: "export ${e}"
… while calling 'concatMapStringsSep' at /nix/store/zkrz054gvl1dcxkw25d8lgx8l10px665-source/lib/strings.nix:262:13: 261| concatMapStringsSep = 262| sep: f: list: | ^ 263| concatStringsSep sep (map f list);
… while calling the 'concatStringsSep' builtin at /nix/store/zkrz054gvl1dcxkw25d8lgx8l10px665-source/lib/strings.nix:263:5: 262| sep: f: list: 263| concatStringsSep sep (map f list); | ^ 264|
… while calling anonymous lambda at /nix/store/kp9vljl1nfdq1ijm1jf1sr9pkm2nykq3-source/nix/modules/spindle.nix:312:17: 311| ${lib.concatMapStringsSep "\n" ( 312| e: "export ${e}" | ^ 313| )
… from call site at /nix/store/kp9vljl1nfdq1ijm1jf1sr9pkm2nykq3-source/nix/modules/spindle.nix:360:55: 359| "SPINDLE_MICROVM_PIPELINES_DEFAULT_IMAGE=${cfg.pipelines.microvm.defaultImage}" 360| "SPINDLE_MICROVM_PIPELINES_ENABLE_KVM=${lib.boolToString cfg.pipelines.microvm.enableKVM}" | ^ 361| "SPINDLE_MICROVM_PIPELINES_WORKFLOW_TIMEOUT=${cfg.pipelines.workflowTimeout}"
… while calling 'boolToString' at /nix/store/zkrz054gvl1dcxkw25d8lgx8l10px665-source/lib/trivial.nix:262:18: 261| */ 262| boolToString = b: if b then "true" else "false"; | ^ 263|
… while evaluating a branch condition at /nix/store/zkrz054gvl1dcxkw25d8lgx8l10px665-source/lib/trivial.nix:262:21: 261| */ 262| boolToString = b: if b then "true" else "false"; | ^ 263|
… from call site at /nix/store/kp9vljl1nfdq1ijm1jf1sr9pkm2nykq3-source/nix/modules/spindle.nix:360:72: 359| "SPINDLE_MICROVM_PIPELINES_DEFAULT_IMAGE=${cfg.pipelines.microvm.defaultImage}" 360| "SPINDLE_MICROVM_PIPELINES_ENABLE_KVM=${lib.boolToString cfg.pipelines.microvm.enableKVM}" | ^ 361| "SPINDLE_MICROVM_PIPELINES_WORKFLOW_TIMEOUT=${cfg.pipelines.workflowTimeout}"
… while calling anonymous lambda at /nix/store/zkrz054gvl1dcxkw25d8lgx8l10px665-source/lib/attrsets.nix:1188:17: 1187| mapAttrs ( 1188| name: value: | ^ 1189| if isAttrs value && cond value then recurse (path ++ [ name ]) value else f (path ++ [ name ]) value
… from call site at /nix/store/zkrz054gvl1dcxkw25d8lgx8l10px665-source/lib/attrsets.nix:1189:85: 1188| name: value: 1189| if isAttrs value && cond value then recurse (path ++ [ name ]) value else f (path ++ [ name ]) value | ^ 1190| );
… while calling anonymous lambda at /nix/store/zkrz054gvl1dcxkw25d8lgx8l10px665-source/lib/modules.nix:284:71: 283| # For definitions that have an associated option 284| declaredConfig = mapAttrsRecursiveCond (v: !isOption v) (_: v: v.value) options; | ^ 285|
… while evaluating the attribute 'value' at /nix/store/zkrz054gvl1dcxkw25d8lgx8l10px665-source/lib/modules.nix:1160:7: 1159| // { 1160| value = addErrorContext "while evaluating the option `${showOption loc}':" value; | ^ 1161| inherit (res.defsFinal') highestPrio;
… while evaluating the option `virtualisation.vmVariant.services.tangled.spindle.pipelines.microvm.enableKVM':
… while evaluating the attribute 'mergedValue' at /nix/store/zkrz054gvl1dcxkw25d8lgx8l10px665-source/lib/modules.nix:1234:5: 1233| # Type-check the remaining definitions, and merge them. Or throw if no definitions. 1234| mergedValue = | ^ 1235| if isDefined then
… while evaluating a branch condition at /nix/store/zkrz054gvl1dcxkw25d8lgx8l10px665-source/lib/modules.nix:1235:7: 1234| mergedValue = 1235| if isDefined then | ^ 1236| if type.merge ? v2 then
… while evaluating the attribute 'values' at /nix/store/zkrz054gvl1dcxkw25d8lgx8l10px665-source/lib/modules.nix:1228:9: 1227| { 1228| values = defsSorted; | ^ 1229| inherit (defsFiltered) highestPrio;
… while evaluating a branch condition at /nix/store/zkrz054gvl1dcxkw25d8lgx8l10px665-source/lib/modules.nix:1222:11: 1221| # Avoid sorting if we don't have to. 1222| if any (def: def.value._type or "" == "order") defsFiltered.values then | ^ 1223| sortProperties defsFiltered.values
… while calling the 'any' builtin at /nix/store/zkrz054gvl1dcxkw25d8lgx8l10px665-source/lib/modules.nix:1222:14: 1221| # Avoid sorting if we don't have to. 1222| if any (def: def.value._type or "" == "order") defsFiltered.values then | ^ 1223| sortProperties defsFiltered.values
… while evaluating the attribute 'values' at /nix/store/zkrz054gvl1dcxkw25d8lgx8l10px665-source/lib/modules.nix:1402:7: 1401| { 1402| values = concatMap (def: if getPrio def == highestPrio then [ (strip def) ] else [ ]) defs; | ^ 1403| inherit highestPrio;
… while calling the 'concatMap' builtin at /nix/store/zkrz054gvl1dcxkw25d8lgx8l10px665-source/lib/modules.nix:1402:16: 1401| { 1402| values = concatMap (def: if getPrio def == highestPrio then [ (strip def) ] else [ ]) defs; | ^ 1403| inherit highestPrio;
… while calling the 'concatMap' builtin at /nix/store/zkrz054gvl1dcxkw25d8lgx8l10px665-source/lib/modules.nix:1202:26: 1201| # Process mkMerge and mkIf properties. 1202| defsNormalized = concatMap ( | ^ 1203| m:
… while calling anonymous lambda at /nix/store/zkrz054gvl1dcxkw25d8lgx8l10px665-source/lib/modules.nix:1203:11: 1202| defsNormalized = concatMap ( 1203| m: | ^ 1204| map (
… while calling the 'map' builtin at /nix/store/zkrz054gvl1dcxkw25d8lgx8l10px665-source/lib/modules.nix:1204:11: 1203| m: 1204| map ( | ^ 1205| value:
… while evaluating definitions from `/nix/store/zkrz054gvl1dcxkw25d8lgx8l10px665-source/flake.nix':
… from call site at /nix/store/zkrz054gvl1dcxkw25d8lgx8l10px665-source/lib/modules.nix:1213:80: 1212| } 1213| ) (addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value)) | ^ 1214| ) defs;
… while calling 'dischargeProperties' at /nix/store/zkrz054gvl1dcxkw25d8lgx8l10px665-source/lib/modules.nix:1353:5: 1352| dischargeProperties = 1353| def: | ^ 1354| if def._type or "" == "merge" then
… while evaluating a branch condition at /nix/store/zkrz054gvl1dcxkw25d8lgx8l10px665-source/lib/modules.nix:1354:5: 1353| def: 1354| if def._type or "" == "merge" then | ^ 1355| concatMap dischargeProperties def.contents
… while evaluating the attribute 'value' at /nix/store/zkrz054gvl1dcxkw25d8lgx8l10px665-source/lib/modules.nix:847:21: 846| inherit (module) file; 847| inherit value; | ^ 848| }) module.config
… from call site at /nix/store/kp9vljl1nfdq1ijm1jf1sr9pkm2nykq3-source/nix/vm.nix:36:16: 35| ''; 36| nestedVirt = lib.warnIf (!_nestedVirt) nestedVirtWarning _nestedVirt; | ^ 37| in
… while calling 'warnIf' at /nix/store/zkrz054gvl1dcxkw25d8lgx8l10px665-source/lib/trivial.nix:852:18: 851| */ 852| warnIf = cond: msg: if cond then warn msg else x: x; | ^ 853|
… while evaluating a branch condition at /nix/store/zkrz054gvl1dcxkw25d8lgx8l10px665-source/lib/trivial.nix:852:23: 851| */ 852| warnIf = cond: msg: if cond then warn msg else x: x; | ^ 853|
… in the argument of the not operator at /nix/store/kp9vljl1nfdq1ijm1jf1sr9pkm2nykq3-source/nix/vm.nix:36:29: 35| ''; 36| nestedVirt = lib.warnIf (!_nestedVirt) nestedVirtWarning _nestedVirt; | ^ 37| in
… in the right operand of the OR (||) operator at /nix/store/kp9vljl1nfdq1ijm1jf1sr9pkm2nykq3-source/nix/vm.nix:31:5: 30| (checkFile "1" /sys/module/kvm_amd/parameters/nested) 31| || (checkFile "Y" /sys/module/kvm_intel/parameters/nested); | ^ 32| nestedVirtWarning = ''
… from call site at /nix/store/kp9vljl1nfdq1ijm1jf1sr9pkm2nykq3-source/nix/vm.nix:31:9: 30| (checkFile "1" /sys/module/kvm_amd/parameters/nested) 31| || (checkFile "Y" /sys/module/kvm_intel/parameters/nested); | ^ 32| nestedVirtWarning = ''
… while calling 'checkFile' at /nix/store/kp9vljl1nfdq1ijm1jf1sr9pkm2nykq3-source/nix/vm.nix:25:22: 24| 25| checkFile = value: path: | ^ 26| if builtins.pathExists path
… from call site at /nix/store/kp9vljl1nfdq1ijm1jf1sr9pkm2nykq3-source/nix/vm.nix:27:10: 26| if builtins.pathExists path 27| then lib.hasPrefix value (builtins.readFile path) | ^ 28| else false;
… while calling 'hasPrefix' at /nix/store/zkrz054gvl1dcxkw25d8lgx8l10px665-source/lib/strings.nix:800:11: 799| hasPrefix = 800| pref: str: | ^ 801| # Before 23.05, paths would be copied to the store before converting them
… from call site at /nix/store/zkrz054gvl1dcxkw25d8lgx8l10px665-source/lib/strings.nix:803:5: 802| # to strings and comparing. This was surprising and confusing. 803| warnIf (isPath pref) | ^ 804| ''
… while calling anonymous lambda at /nix/store/zkrz054gvl1dcxkw25d8lgx8l10px665-source/lib/trivial.nix:852:50: 851| */ 852| warnIf = cond: msg: if cond then warn msg else x: x; | ^ 853|
… while calling the 'substring' builtin at /nix/store/zkrz054gvl1dcxkw25d8lgx8l10px665-source/lib/strings.nix:810:8: 809| You might want to use `lib.path.hasPrefix` instead, which correctly supports paths.'' 810| (substring 0 (stringLength pref) str == pref); | ^ 811|
… while calling the 'readFile' builtin at /nix/store/kp9vljl1nfdq1ijm1jf1sr9pkm2nykq3-source/nix/vm.nix:27:31: 26| if builtins.pathExists path 27| then lib.hasPrefix value (builtins.readFile path) | ^ 28| else false;
error: unexpected end-of-file