Skip to content

Instantly share code, notes, and snippets.

@GrahamcOfBorg
Created December 31, 2024 18:19
Show Gist options
  • Save GrahamcOfBorg/2596049beb47168e655ae6643466419b to your computer and use it in GitHub Desktop.
Save GrahamcOfBorg/2596049beb47168e655ae6643466419b to your computer and use it in GitHub Desktop.
nix-env failed:
error:
… while calling anonymous lambda
at /ofborg/checkout/1/repo/38dca4e3aa6bca43ea96d2fcc04e8229/mr-est/ofborg-evaluator-2/.gc-of-borg-outpaths.nix:48:12:
47| tweak = lib.mapAttrs
48| (name: val:
| ^
49| if name == "recurseForDerivations" then true
… from call site
at /ofborg/checkout/1/repo/38dca4e3aa6bca43ea96d2fcc04e8229/mr-est/ofborg-evaluator-2/lib/attrsets.nix:1247:43:
1246| f:
1247| listToAttrs (map (n: nameValuePair n (f n)) names);
| ^
1248|
… while calling anonymous lambda
at /ofborg/checkout/1/repo/38dca4e3aa6bca43ea96d2fcc04e8229/mr-est/ofborg-evaluator-2/pkgs/top-level/release-lib.nix:146:6:
145| testOnCross = crossSystem: metaPatterns: f: forMatchingSystems metaPatterns
146| (system: hydraJob' (f (pkgsForCross crossSystem system)));
| ^
147|
… from call site
at /ofborg/checkout/1/repo/38dca4e3aa6bca43ea96d2fcc04e8229/mr-est/ofborg-evaluator-2/pkgs/top-level/release-lib.nix:146:14:
145| testOnCross = crossSystem: metaPatterns: f: forMatchingSystems metaPatterns
146| (system: hydraJob' (f (pkgsForCross crossSystem system)));
| ^
147|
… while calling 'hydraJob'
at /ofborg/checkout/1/repo/38dca4e3aa6bca43ea96d2fcc04e8229/mr-est/ofborg-evaluator-2/lib/customisation.nix:443:5:
442| hydraJob =
443| drv:
| ^
444| let
… from call site
at /ofborg/checkout/1/repo/38dca4e3aa6bca43ea96d2fcc04e8229/mr-est/ofborg-evaluator-2/pkgs/development/interpreters/python/passthrufun.nix:44:17:
43| lib.extendDerivation (
44| valid value
| ^
45| || throw "${name} should use `buildPythonPackage` or `toPythonModule` if it is to be part of the Python packages set."
… while calling 'valid'
at /ofborg/checkout/1/repo/38dca4e3aa6bca43ea96d2fcc04e8229/mr-est/ofborg-evaluator-2/pkgs/development/interpreters/python/passthrufun.nix:39:13:
38| valid =
39| value: pythonPackages.hasPythonModule value || providesSetupHook value || lib.elem value exceptions;
| ^
40| func =
… from call site
at /ofborg/checkout/1/repo/38dca4e3aa6bca43ea96d2fcc04e8229/mr-est/ofborg-evaluator-2/pkgs/stdenv/generic/check-meta.nix:511:13:
510| else if valid == "no" then (
511| handleEvalIssue { inherit meta attrs; } { inherit (validity) reason errormsg; }
| ^
512| )
… while calling 'handleEvalIssue'
at /ofborg/checkout/1/repo/38dca4e3aa6bca43ea96d2fcc04e8229/mr-est/ofborg-evaluator-2/pkgs/stdenv/generic/check-meta.nix:269:38:
268|
269| handleEvalIssue = { meta, attrs }: { reason , errormsg ? "" }:
| ^
270| let
… from call site
at /ofborg/checkout/1/repo/38dca4e3aa6bca43ea96d2fcc04e8229/mr-est/ofborg-evaluator-2/pkgs/stdenv/generic/check-meta.nix:281:8:
280| else throw;
281| in handler msg;
| ^
282|
… while calling 'handleEvalIssue'
at /ofborg/checkout/1/repo/38dca4e3aa6bca43ea96d2fcc04e8229/mr-est/ofborg-evaluator-2/.gc-of-borg-outpaths.nix:28:37:
27|
28| handleEvalIssue = reason: errormsg:
| ^
29| let
error: evaluation aborted with the following error message: 'Failed to evaluate miniforge-24.11.0-0: «unknown-meta»: has an invalid meta attrset:
- key 'meta.maintainers' has invalid value; expected listOf<attrsOf<any>>, got
[
"qxrein"
]
'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment