Skip to content

Instantly share code, notes, and snippets.

@JonBoyleCoding
Created November 7, 2023 20:22
Show Gist options
  • Save JonBoyleCoding/461e3a2fb3fa9ba59e50003a6bd1dca9 to your computer and use it in GitHub Desktop.
Save JonBoyleCoding/461e3a2fb3fa9ba59e50003a6bd1dca9 to your computer and use it in GitHub Desktop.
pdm build fail
error:
… while evaluating call site
at «none»:0: (source not available)
… while calling anonymous lambda
at /nix/store/sd160y3xyy80h9y1kdy7566fnw4pn5f3-source/lib/attrsets.nix:816:24:
815| let f = attrPath:
816| zipAttrsWith (n: values:
| ^
817| let here = attrPath ++ [n]; in
… while evaluating call site
at «none»:0: (source not available)
… while calling 'g'
at /nix/store/sd160y3xyy80h9y1kdy7566fnw4pn5f3-source/lib/attrsets.nix:599:19:
598| g =
599| name: value:
| ^
600| if isAttrs value && cond value
… while evaluating call site
at /nix/store/sd160y3xyy80h9y1kdy7566fnw4pn5f3-source/lib/attrsets.nix:602:20:
601| then recurse (path ++ [name]) value
602| else f (path ++ [name]) value;
| ^
603| in mapAttrs g;
… while calling anonymous lambda
at /nix/store/sd160y3xyy80h9y1kdy7566fnw4pn5f3-source/lib/modules.nix:242:72:
241| # For definitions that have an associated option
242| declaredConfig = mapAttrsRecursiveCond (v: ! isOption v) (_: v: v.value) options;
| ^
243|
… while evaluating the attribute 'value'
at /nix/store/sd160y3xyy80h9y1kdy7566fnw4pn5f3-source/lib/modules.nix:807:9:
806| in warnDeprecation opt //
807| { value = builtins.addErrorContext "while evaluating the option `${showOption loc}':" value;
| ^
808| inherit (res.defsFinal') highestPrio;
… while evaluating the option `public.drvPath':
… while evaluating the attribute 'mergedValue'
at /nix/store/sd160y3xyy80h9y1kdy7566fnw4pn5f3-source/lib/modules.nix:842:5:
841| # Type-check the remaining definitions, and merge them. Or throw if no definitions.
842| mergedValue =
| ^
843| if isDefined then
… while evaluating the attribute 'values'
at /nix/store/sd160y3xyy80h9y1kdy7566fnw4pn5f3-source/lib/modules.nix:836:9:
835| in {
836| values = defs''';
| ^
837| inherit (defs'') highestPrio;
… while evaluating the attribute 'values'
at /nix/store/sd160y3xyy80h9y1kdy7566fnw4pn5f3-source/lib/modules.nix:935:7:
934| in {
935| values = concatMap (def: if getPrio def == highestPrio then [(strip def)] else []) defs;
| ^
936| inherit highestPrio;
… while evaluating call site
at /nix/store/sd160y3xyy80h9y1kdy7566fnw4pn5f3-source/lib/modules.nix:822:17:
821| # Process mkMerge and mkIf properties.
822| defs' = concatMap (m:
| ^
823| map (value: { inherit (m) file; inherit value; }) (builtins.addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))
… while calling anonymous lambda
at /nix/store/sd160y3xyy80h9y1kdy7566fnw4pn5f3-source/lib/modules.nix:822:28:
821| # Process mkMerge and mkIf properties.
822| defs' = concatMap (m:
| ^
823| map (value: { inherit (m) file; inherit value; }) (builtins.addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))
… while evaluating definitions from `/nix/store/5vgzjcl7wrjpi942cffsr3q6zj5nwszd-source/modules/dream2nix/package-func':
… while evaluating call site
at /nix/store/sd160y3xyy80h9y1kdy7566fnw4pn5f3-source/lib/modules.nix:823:137:
822| defs' = concatMap (m:
823| map (value: { inherit (m) file; inherit value; }) (builtins.addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))
| ^
824| ) defs;
… while calling 'dischargeProperties'
at /nix/store/sd160y3xyy80h9y1kdy7566fnw4pn5f3-source/lib/modules.nix:894:25:
893| */
894| dischargeProperties = def:
| ^
895| if def._type or "" == "merge" then
… while evaluating the attribute 'value'
at /nix/store/sd160y3xyy80h9y1kdy7566fnw4pn5f3-source/lib/modules.nix:605:52:
604| (n: value:
605| [{ inherit (module) file; inherit value; }]
| ^
606| )
… while evaluating call site
at /nix/store/5vgzjcl7wrjpi942cffsr3q6zj5nwszd-source/modules/dream2nix/package-func/default.nix:44:17:
43| inherit config extendModules;
44| drvPath = throwIfMultiDrvOr outputDrvs.out.drvPath;
| ^
45| outPath = throwIfMultiDrvOr outputDrvs.out.outPath;
… while calling 'throwIfMultiDrvOr'
at /nix/store/5vgzjcl7wrjpi942cffsr3q6zj5nwszd-source/modules/dream2nix/package-func/default.nix:32:23:
31|
32| throwIfMultiDrvOr = returnVal:
| ^
33| if isSingleDrvPackage
… while evaluating the attribute 'out.drvPath'
at /nix/store/sd160y3xyy80h9y1kdy7566fnw4pn5f3-source/lib/customisation.nix:208:13:
207| outputSpecified = true;
208| drvPath = assert condition; drv.${outputName}.drvPath;
| ^
209| outPath = assert condition; drv.${outputName}.outPath;
… while evaluating the attribute 'out.drvPath'
at /nix/store/sd160y3xyy80h9y1kdy7566fnw4pn5f3-source/lib/customisation.nix:208:13:
207| outputSpecified = true;
208| drvPath = assert condition; drv.${outputName}.drvPath;
| ^
209| outPath = assert condition; drv.${outputName}.outPath;
… while evaluating the attribute 'propagatedBuildInputs' of the derivation 'python3.10-my-project-0.1.0'
at /nix/store/sd160y3xyy80h9y1kdy7566fnw4pn5f3-source/pkgs/stdenv/generic/make-derivation.nix:300:7:
299| // (lib.optionalAttrs (attrs ? name || (attrs ? pname && attrs ? version)) {
300| name =
| ^
301| let
… while evaluating call site
at «none»:0: (source not available)
… while calling 'getOutput'
at /nix/store/sd160y3xyy80h9y1kdy7566fnw4pn5f3-source/lib/attrsets.nix:932:23:
931| */
932| getOutput = output: pkg:
| ^
933| if ! pkg ? outputSpecified || ! pkg.outputSpecified
… while evaluating call site
at «none»:0: (source not available)
… while calling anonymous lambda
at /nix/store/sd160y3xyy80h9y1kdy7566fnw4pn5f3-source/lib/attrsets.nix:816:24:
815| let f = attrPath:
816| zipAttrsWith (n: values:
| ^
817| let here = attrPath ++ [n]; in
… while evaluating call site
at «none»:0: (source not available)
… while calling anonymous lambda
at /nix/store/sd160y3xyy80h9y1kdy7566fnw4pn5f3-source/lib/types.nix:565:29:
564| merge = loc: defs:
565| zipAttrsWith (name: defs:
| ^
566| let merged = mergeDefinitions (loc ++ [name]) elemType defs;
… while evaluating the attribute 'optionalValue.value'
at /nix/store/sd160y3xyy80h9y1kdy7566fnw4pn5f3-source/lib/modules.nix:854:5:
853|
854| optionalValue =
| ^
855| if isDefined then { value = mergedValue; }
… while evaluating the attribute 'values'
at /nix/store/sd160y3xyy80h9y1kdy7566fnw4pn5f3-source/lib/modules.nix:836:9:
835| in {
836| values = defs''';
| ^
837| inherit (defs'') highestPrio;
… while evaluating the attribute 'values'
at /nix/store/sd160y3xyy80h9y1kdy7566fnw4pn5f3-source/lib/modules.nix:935:7:
934| in {
935| values = concatMap (def: if getPrio def == highestPrio then [(strip def)] else []) defs;
| ^
936| inherit highestPrio;
… while evaluating call site
at /nix/store/sd160y3xyy80h9y1kdy7566fnw4pn5f3-source/lib/modules.nix:822:17:
821| # Process mkMerge and mkIf properties.
822| defs' = concatMap (m:
| ^
823| map (value: { inherit (m) file; inherit value; }) (builtins.addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))
… while calling anonymous lambda
at /nix/store/sd160y3xyy80h9y1kdy7566fnw4pn5f3-source/lib/modules.nix:822:28:
821| # Process mkMerge and mkIf properties.
822| defs' = concatMap (m:
| ^
823| map (value: { inherit (m) file; inherit value; }) (builtins.addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))
… while evaluating definitions from `/nix/store/5vgzjcl7wrjpi942cffsr3q6zj5nwszd-source/modules/dream2nix/package-func':
… while evaluating call site
at /nix/store/sd160y3xyy80h9y1kdy7566fnw4pn5f3-source/lib/modules.nix:823:137:
822| defs' = concatMap (m:
823| map (value: { inherit (m) file; inherit value; }) (builtins.addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))
| ^
824| ) defs;
… while calling 'dischargeProperties'
at /nix/store/sd160y3xyy80h9y1kdy7566fnw4pn5f3-source/lib/modules.nix:894:25:
893| */
894| dischargeProperties = def:
| ^
895| if def._type or "" == "merge" then
… while evaluating the attribute 'value'
at /nix/store/sd160y3xyy80h9y1kdy7566fnw4pn5f3-source/lib/types.nix:571:58:
570| # Push down position info.
571| (map (def: mapAttrs (n: v: { inherit (def) file; value = v; }) def.value) defs);
| ^
572| emptyValue = { value = {}; };
… while evaluating call site
at /nix/store/sd160y3xyy80h9y1kdy7566fnw4pn5f3-source/lib/attrsets.nix:88:39:
87| then value
88| else { ${elemAt attrPath n} = atDepth (n + 1); };
| ^
89| in atDepth 0;
… while calling 'atDepth'
at /nix/store/sd160y3xyy80h9y1kdy7566fnw4pn5f3-source/lib/attrsets.nix:85:17:
84| len = length attrPath;
85| atDepth = n:
| ^
86| if n == len
… while evaluating the attribute 'value'
at /nix/store/sd160y3xyy80h9y1kdy7566fnw4pn5f3-source/lib/modules.nix:605:52:
604| (n: value:
605| [{ inherit (module) file; inherit value; }]
| ^
606| )
… while evaluating call site
at /nix/store/sd160y3xyy80h9y1kdy7566fnw4pn5f3-source/lib/attrsets.nix:622:43:
621| f:
622| listToAttrs (map (n: nameValuePair n (f n)) names);
| ^
623|
… while calling anonymous lambda
at /nix/store/5vgzjcl7wrjpi942cffsr3q6zj5nwszd-source/modules/dream2nix/package-func/default.nix:17:6:
16| l.genAttrs outputs
17| (output: config.package-func.result.${output});
| ^
18|
… while evaluating call site
at «none»:0: (source not available)
… while calling 'g'
at /nix/store/sd160y3xyy80h9y1kdy7566fnw4pn5f3-source/lib/attrsets.nix:599:19:
598| g =
599| name: value:
| ^
600| if isAttrs value && cond value
… while evaluating call site
at /nix/store/sd160y3xyy80h9y1kdy7566fnw4pn5f3-source/lib/attrsets.nix:602:20:
601| then recurse (path ++ [name]) value
602| else f (path ++ [name]) value;
| ^
603| in mapAttrs g;
… while calling anonymous lambda
at /nix/store/sd160y3xyy80h9y1kdy7566fnw4pn5f3-source/lib/modules.nix:242:72:
241| # For definitions that have an associated option
242| declaredConfig = mapAttrsRecursiveCond (v: ! isOption v) (_: v: v.value) options;
| ^
243|
… while evaluating the attribute 'value'
at /nix/store/sd160y3xyy80h9y1kdy7566fnw4pn5f3-source/lib/modules.nix:807:9:
806| in warnDeprecation opt //
807| { value = builtins.addErrorContext "while evaluating the option `${showOption loc}':" value;
| ^
808| inherit (res.defsFinal') highestPrio;
… while evaluating the option `groups.default.packages.jwcrypto."1.5.0".evaluated.package-func.result':
… while evaluating the attribute 'mergedValue'
at /nix/store/sd160y3xyy80h9y1kdy7566fnw4pn5f3-source/lib/modules.nix:842:5:
841| # Type-check the remaining definitions, and merge them. Or throw if no definitions.
842| mergedValue =
| ^
843| if isDefined then
… while evaluating the attribute 'values'
at /nix/store/sd160y3xyy80h9y1kdy7566fnw4pn5f3-source/lib/modules.nix:836:9:
835| in {
836| values = defs''';
| ^
837| inherit (defs'') highestPrio;
… while evaluating the attribute 'values'
at /nix/store/sd160y3xyy80h9y1kdy7566fnw4pn5f3-source/lib/modules.nix:935:7:
934| in {
935| values = concatMap (def: if getPrio def == highestPrio then [(strip def)] else []) defs;
| ^
936| inherit highestPrio;
… while evaluating call site
at /nix/store/sd160y3xyy80h9y1kdy7566fnw4pn5f3-source/lib/modules.nix:822:17:
821| # Process mkMerge and mkIf properties.
822| defs' = concatMap (m:
| ^
823| map (value: { inherit (m) file; inherit value; }) (builtins.addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))
… while calling anonymous lambda
at /nix/store/sd160y3xyy80h9y1kdy7566fnw4pn5f3-source/lib/modules.nix:822:28:
821| # Process mkMerge and mkIf properties.
822| defs' = concatMap (m:
| ^
823| map (value: { inherit (m) file; inherit value; }) (builtins.addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))
… while evaluating definitions from `/nix/store/5vgzjcl7wrjpi942cffsr3q6zj5nwszd-source/modules/dream2nix/package-func':
… while evaluating call site
at /nix/store/sd160y3xyy80h9y1kdy7566fnw4pn5f3-source/lib/modules.nix:823:137:
822| defs' = concatMap (m:
823| map (value: { inherit (m) file; inherit value; }) (builtins.addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))
| ^
824| ) defs;
… while calling 'dischargeProperties'
at /nix/store/sd160y3xyy80h9y1kdy7566fnw4pn5f3-source/lib/modules.nix:894:25:
893| */
894| dischargeProperties = def:
| ^
895| if def._type or "" == "merge" then
… while evaluating the attribute 'value'
at /nix/store/sd160y3xyy80h9y1kdy7566fnw4pn5f3-source/lib/modules.nix:605:52:
604| (n: value:
605| [{ inherit (module) file; inherit value; }]
| ^
606| )
… while evaluating call site
at /nix/store/5vgzjcl7wrjpi942cffsr3q6zj5nwszd-source/modules/dream2nix/package-func/default.nix:57:5:
56| config.package-func.result =
57| config.package-func.func config.package-func.args;
| ^
58| }
… while calling 'makeOverridablePythonPackage'
at /nix/store/sd160y3xyy80h9y1kdy7566fnw4pn5f3-source/pkgs/development/interpreters/python/python-packages-base.nix:16:37:
15| # This function introduces `overridePythonAttrs` and it overrides the call to `buildPythonPackage`.
16| makeOverridablePythonPackage = f: origArgs:
| ^
17| let
… while evaluating call site
at /nix/store/sd160y3xyy80h9y1kdy7566fnw4pn5f3-source/pkgs/development/interpreters/python/python-packages-base.nix:25:16:
24| (_: origArgs));
25| result = f args;
| ^
26| overrideWith = newArgs: args // (if pkgs.lib.isFunction newArgs then newArgs args else newArgs);
… while calling 'makeOverridable'
at /nix/store/sd160y3xyy80h9y1kdy7566fnw4pn5f3-source/lib/customisation.nix:72:24:
71| */
72| makeOverridable = f: origArgs:
| ^
73| let
… while evaluating call site
at /nix/store/sd160y3xyy80h9y1kdy7566fnw4pn5f3-source/pkgs/development/interpreters/python/python-packages-base.nix:18:14:
17| let
18| args = lib.fix (lib.extends
| ^
19| (_: previousAttrs: {
… while calling 'fix'
at /nix/store/sd160y3xyy80h9y1kdy7566fnw4pn5f3-source/lib/fixed-points.nix:25:9:
24| */
25| fix = f: let x = f x; in x;
| ^
26|
… while evaluating call site
at /nix/store/sd160y3xyy80h9y1kdy7566fnw4pn5f3-source/lib/fixed-points.nix:25:20:
24| */
25| fix = f: let x = f x; in x;
| ^
26|
… while calling 'extends'
at /nix/store/sd160y3xyy80h9y1kdy7566fnw4pn5f3-source/lib/fixed-points.nix:91:24:
90| */
91| extends = f: rattrs: self: let super = rattrs self; in super // f self super;
| ^
92|
… while evaluating call site
at /nix/store/sd160y3xyy80h9y1kdy7566fnw4pn5f3-source/lib/fixed-points.nix:91:42:
90| */
91| extends = f: rattrs: self: let super = rattrs self; in super // f self super;
| ^
92|
… while calling anonymous lambda
at /nix/store/sd160y3xyy80h9y1kdy7566fnw4pn5f3-source/pkgs/development/interpreters/python/python-packages-base.nix:24:10:
23| })
24| (_: origArgs));
| ^
25| result = f args;
… while evaluating call site
at «none»:0: (source not available)
… while calling 'g'
at /nix/store/sd160y3xyy80h9y1kdy7566fnw4pn5f3-source/lib/attrsets.nix:599:19:
598| g =
599| name: value:
| ^
600| if isAttrs value && cond value
… while evaluating call site
at /nix/store/sd160y3xyy80h9y1kdy7566fnw4pn5f3-source/lib/attrsets.nix:602:20:
601| then recurse (path ++ [name]) value
602| else f (path ++ [name]) value;
| ^
603| in mapAttrs g;
… while calling anonymous lambda
at /nix/store/sd160y3xyy80h9y1kdy7566fnw4pn5f3-source/lib/modules.nix:242:72:
241| # For definitions that have an associated option
242| declaredConfig = mapAttrsRecursiveCond (v: ! isOption v) (_: v: v.value) options;
| ^
243|
… while evaluating the attribute 'value'
at /nix/store/sd160y3xyy80h9y1kdy7566fnw4pn5f3-source/lib/modules.nix:807:9:
806| in warnDeprecation opt //
807| { value = builtins.addErrorContext "while evaluating the option `${showOption loc}':" value;
| ^
808| inherit (res.defsFinal') highestPrio;
… while evaluating the option `groups.default.packages.jwcrypto."1.5.0".evaluated.package-func.args':
… while evaluating the attribute 'mergedValue'
at /nix/store/sd160y3xyy80h9y1kdy7566fnw4pn5f3-source/lib/modules.nix:842:5:
841| # Type-check the remaining definitions, and merge them. Or throw if no definitions.
842| mergedValue =
| ^
843| if isDefined then
… while evaluating the attribute 'values'
at /nix/store/sd160y3xyy80h9y1kdy7566fnw4pn5f3-source/lib/modules.nix:836:9:
835| in {
836| values = defs''';
| ^
837| inherit (defs'') highestPrio;
… while evaluating the attribute 'values'
at /nix/store/sd160y3xyy80h9y1kdy7566fnw4pn5f3-source/lib/modules.nix:935:7:
934| in {
935| values = concatMap (def: if getPrio def == highestPrio then [(strip def)] else []) defs;
| ^
936| inherit highestPrio;
… while evaluating call site
at /nix/store/sd160y3xyy80h9y1kdy7566fnw4pn5f3-source/lib/modules.nix:822:17:
821| # Process mkMerge and mkIf properties.
822| defs' = concatMap (m:
| ^
823| map (value: { inherit (m) file; inherit value; }) (builtins.addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))
… while calling anonymous lambda
at /nix/store/sd160y3xyy80h9y1kdy7566fnw4pn5f3-source/lib/modules.nix:822:28:
821| # Process mkMerge and mkIf properties.
822| defs' = concatMap (m:
| ^
823| map (value: { inherit (m) file; inherit value; }) (builtins.addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))
… while evaluating definitions from `/nix/store/5vgzjcl7wrjpi942cffsr3q6zj5nwszd-source/modules/dream2nix/mkDerivation/implementation.nix':
… while evaluating call site
at /nix/store/sd160y3xyy80h9y1kdy7566fnw4pn5f3-source/lib/modules.nix:823:137:
822| defs' = concatMap (m:
823| map (value: { inherit (m) file; inherit value; }) (builtins.addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))
| ^
824| ) defs;
… while calling 'dischargeProperties'
at /nix/store/sd160y3xyy80h9y1kdy7566fnw4pn5f3-source/lib/modules.nix:894:25:
893| */
894| dischargeProperties = def:
| ^
895| if def._type or "" == "merge" then
… while evaluating the attribute 'value'
at /nix/store/sd160y3xyy80h9y1kdy7566fnw4pn5f3-source/lib/modules.nix:605:52:
604| (n: value:
605| [{ inherit (module) file; inherit value; }]
| ^
606| )
… while evaluating call site
at /nix/store/5vgzjcl7wrjpi942cffsr3q6zj5nwszd-source/modules/dream2nix/mkDerivation/implementation.nix:15:15:
14|
15| finalArgs = l.filterAttrs keepArg cfg;
| ^
16|
… while calling 'filterAttrs'
at /nix/store/sd160y3xyy80h9y1kdy7566fnw4pn5f3-source/lib/attrsets.nix:309:5:
308| # The attribute set to filter
309| set:
| ^
310| listToAttrs (concatMap (name: let v = set.${name}; in if pred name v then [(nameValuePair name v)] else []) (attrNames set));
… while evaluating call site
at /nix/store/sd160y3xyy80h9y1kdy7566fnw4pn5f3-source/lib/attrsets.nix:310:18:
309| set:
310| listToAttrs (concatMap (name: let v = set.${name}; in if pred name v then [(nameValuePair name v)] else []) (attrNames set));
| ^
311|
… while calling anonymous lambda
at /nix/store/sd160y3xyy80h9y1kdy7566fnw4pn5f3-source/lib/attrsets.nix:310:29:
309| set:
310| listToAttrs (concatMap (name: let v = set.${name}; in if pred name v then [(nameValuePair name v)] else []) (attrNames set));
| ^
311|
… while evaluating call site
at /nix/store/sd160y3xyy80h9y1kdy7566fnw4pn5f3-source/lib/attrsets.nix:310:62:
309| set:
310| listToAttrs (concatMap (name: let v = set.${name}; in if pred name v then [(nameValuePair name v)] else []) (attrNames set));
| ^
311|
… while calling 'keepArg'
at /nix/store/5vgzjcl7wrjpi942cffsr3q6zj5nwszd-source/modules/dream2nix/mkDerivation/implementation.nix:13:18:
12|
13| keepArg = key: val: val != null;
| ^
14|
… while evaluating call site
at «none»:0: (source not available)
… while calling 'g'
at /nix/store/sd160y3xyy80h9y1kdy7566fnw4pn5f3-source/lib/attrsets.nix:599:19:
598| g =
599| name: value:
| ^
600| if isAttrs value && cond value
… while evaluating call site
at /nix/store/sd160y3xyy80h9y1kdy7566fnw4pn5f3-source/lib/attrsets.nix:602:20:
601| then recurse (path ++ [name]) value
602| else f (path ++ [name]) value;
| ^
603| in mapAttrs g;
… while calling anonymous lambda
at /nix/store/sd160y3xyy80h9y1kdy7566fnw4pn5f3-source/lib/modules.nix:242:72:
241| # For definitions that have an associated option
242| declaredConfig = mapAttrsRecursiveCond (v: ! isOption v) (_: v: v.value) options;
| ^
243|
… while evaluating the attribute 'value'
at /nix/store/sd160y3xyy80h9y1kdy7566fnw4pn5f3-source/lib/modules.nix:807:9:
806| in warnDeprecation opt //
807| { value = builtins.addErrorContext "while evaluating the option `${showOption loc}':" value;
| ^
808| inherit (res.defsFinal') highestPrio;
… while evaluating the option `groups.default.packages.jwcrypto."1.5.0".evaluated.mkDerivation.src':
… while evaluating call site
at /nix/store/sd160y3xyy80h9y1kdy7566fnw4pn5f3-source/lib/modules.nix:800:35:
799| # yield a value computed from the definitions
800| value = if opt ? apply then opt.apply res.mergedValue else res.mergedValue;
| ^
801|
… while calling 'apply'
at /nix/store/5vgzjcl7wrjpi942cffsr3q6zj5nwszd-source/modules/dream2nix/mkDerivation/interface.nix:21:13:
20| type = t.nullOr dreamTypes.drvPartOrPackage;
21| apply = drv: drv.public or drv;
| ^
22| default = null;
… while evaluating the attribute 'mergedValue'
at /nix/store/sd160y3xyy80h9y1kdy7566fnw4pn5f3-source/lib/modules.nix:842:5:
841| # Type-check the remaining definitions, and merge them. Or throw if no definitions.
842| mergedValue =
| ^
843| if isDefined then
… while evaluating call site
at /nix/store/sd160y3xyy80h9y1kdy7566fnw4pn5f3-source/lib/modules.nix:844:12:
843| if isDefined then
844| if all (def: type.check def.value) defsFinal then type.merge loc defsFinal
| ^
845| else let allInvalid = filter (def: ! type.check def.value) defsFinal;
… while calling anonymous lambda
at /nix/store/sd160y3xyy80h9y1kdy7566fnw4pn5f3-source/lib/modules.nix:844:17:
843| if isDefined then
844| if all (def: type.check def.value) defsFinal then type.merge loc defsFinal
| ^
845| else let allInvalid = filter (def: ! type.check def.value) defsFinal;
… while evaluating call site
at /nix/store/sd160y3xyy80h9y1kdy7566fnw4pn5f3-source/lib/modules.nix:844:22:
843| if isDefined then
844| if all (def: type.check def.value) defsFinal then type.merge loc defsFinal
| ^
845| else let allInvalid = filter (def: ! type.check def.value) defsFinal;
… while calling 'check'
at /nix/store/sd160y3xyy80h9y1kdy7566fnw4pn5f3-source/lib/types.nix:619:15:
618| descriptionClass = "conjunction";
619| check = x: x == null || elemType.check x;
| ^
620| merge = loc: defs:
… while evaluating call site
at /nix/store/sd160y3xyy80h9y1kdy7566fnw4pn5f3-source/lib/types.nix:619:31:
618| descriptionClass = "conjunction";
619| check = x: x == null || elemType.check x;
| ^
620| merge = loc: defs:
… while calling 'check'
at /nix/store/sd160y3xyy80h9y1kdy7566fnw4pn5f3-source/lib/types.nix:858:15:
857| descriptionClass = "conjunction";
858| check = x: t1.check x || t2.check x;
| ^
859| merge = loc: defs:
… while evaluating call site
at /nix/store/sd160y3xyy80h9y1kdy7566fnw4pn5f3-source/lib/types.nix:858:18:
857| descriptionClass = "conjunction";
858| check = x: t1.check x || t2.check x;
| ^
859| merge = loc: defs:
… while calling 'check'
at /nix/store/sd160y3xyy80h9y1kdy7566fnw4pn5f3-source/lib/types.nix:858:15:
857| descriptionClass = "conjunction";
858| check = x: t1.check x || t2.check x;
| ^
859| merge = loc: defs:
… while evaluating call site
at /nix/store/sd160y3xyy80h9y1kdy7566fnw4pn5f3-source/lib/types.nix:858:18:
857| descriptionClass = "conjunction";
858| check = x: t1.check x || t2.check x;
| ^
859| merge = loc: defs:
… while calling 'check'
at /nix/store/sd160y3xyy80h9y1kdy7566fnw4pn5f3-source/lib/types.nix:858:15:
857| descriptionClass = "conjunction";
858| check = x: t1.check x || t2.check x;
| ^
859| merge = loc: defs:
… while evaluating call site
at /nix/store/sd160y3xyy80h9y1kdy7566fnw4pn5f3-source/lib/types.nix:858:32:
857| descriptionClass = "conjunction";
858| check = x: t1.check x || t2.check x;
| ^
859| merge = loc: defs:
… while calling 'check'
at /nix/store/sd160y3xyy80h9y1kdy7566fnw4pn5f3-source/lib/types.nix:493:15:
492| descriptionClass = "noun";
493| check = x: isStringLike x && builtins.substring 0 1 (toString x) == "/";
| ^
494| merge = mergeEqualOption;
… while evaluating the derivation attribute 'name'
at /nix/store/sd160y3xyy80h9y1kdy7566fnw4pn5f3-source/pkgs/stdenv/generic/make-derivation.nix:300:7:
299| // (lib.optionalAttrs (attrs ? name || (attrs ? pname && attrs ? version)) {
300| name =
| ^
301| let
… while evaluating call site
at /nix/store/sd160y3xyy80h9y1kdy7566fnw4pn5f3-source/pkgs/stdenv/generic/make-derivation.nix:318:9:
317| in
318| lib.strings.sanitizeDerivationName (
| ^
319| if attrs ? name
… while calling anonymous lambda
at /nix/store/sd160y3xyy80h9y1kdy7566fnw4pn5f3-source/lib/strings.nix:1096:3:
1095| in
1096| string:
| ^
1097| # First detect the common case of already valid strings, to speed those up
… while evaluating the attribute 'name'
at /nix/store/22dbdhivja5zlh3acqjafrpqshaxajww-source/fetchers/default.nix:58:7:
57| stdenvNoCC.mkDerivation {
58| name = file;
| ^
59| nativeBuildInputs = [
… while evaluating the attribute 'source.file'
at /nix/store/5vgzjcl7wrjpi942cffsr3q6zj5nwszd-source/modules/dream2nix/WIP-python-pdm/lib.nix:183:9:
182| inherit (item) version;
183| source = sources.${selector (lib.attrNames compatibleSources)};
| ^
184| # In the future we could add additional meta data fields
… while evaluating call site
at /nix/store/5vgzjcl7wrjpi942cffsr3q6zj5nwszd-source/modules/dream2nix/WIP-python-pdm/lib.nix:183:28:
182| inherit (item) version;
183| source = sources.${selector (lib.attrNames compatibleSources)};
| ^
184| # In the future we could add additional meta data fields
… while calling 'merge'
at /nix/store/sd160y3xyy80h9y1kdy7566fnw4pn5f3-source/lib/types.nix:640:9:
639| merge = loc: defs:
640| fnArgs: (mergeDefinitions (loc ++ [ "<function body>" ]) elemType (map (fn: { inherit (fn) file; value = fn.value fnArgs; }) defs)).mergedValue;
| ^
641| getSubOptions = prefix: elemType.getSubOptions (prefix ++ [ "<function body>" ]);
… while evaluating the attribute 'mergedValue'
at /nix/store/sd160y3xyy80h9y1kdy7566fnw4pn5f3-source/lib/modules.nix:842:5:
841| # Type-check the remaining definitions, and merge them. Or throw if no definitions.
842| mergedValue =
| ^
843| if isDefined then
error: A definition for option `pdm.sourceSelector.<function body>' is not of type `string'. Definition values:
- In `/nix/store/5vgzjcl7wrjpi942cffsr3q6zj5nwszd-source/modules/dream2nix/WIP-python-pdm': null
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment