Skip to content

Instantly share code, notes, and snippets.

@GrahamcOfBorg
Created January 19, 2024 14:02
nix-env failed:
error:
… while evaluating call site
at «none»:0: (source not available)
… while calling anonymous lambda
at /var/lib/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
… while evaluating call site
at /var/lib/ofborg/checkout/1/repo/38dca4e3aa6bca43ea96d2fcc04e8229/mr-est/ofborg-evaluator-2/lib/attrsets.nix:762:43:
761| f:
762| listToAttrs (map (n: nameValuePair n (f n)) names);
| ^
763|
… while calling anonymous lambda
at /var/lib/ofborg/checkout/1/repo/38dca4e3aa6bca43ea96d2fcc04e8229/mr-est/ofborg-evaluator-2/pkgs/top-level/release-lib.nix:125:6:
124| testOnCross = crossSystem: metaPatterns: f: forMatchingSystems metaPatterns
125| (system: hydraJob' (f (pkgsForCross crossSystem system)));
| ^
126|
… while evaluating call site
at /var/lib/ofborg/checkout/1/repo/38dca4e3aa6bca43ea96d2fcc04e8229/mr-est/ofborg-evaluator-2/pkgs/top-level/release-lib.nix:125:14:
124| testOnCross = crossSystem: metaPatterns: f: forMatchingSystems metaPatterns
125| (system: hydraJob' (f (pkgsForCross crossSystem system)));
| ^
126|
… while calling 'hydraJob'
at /var/lib/ofborg/checkout/1/repo/38dca4e3aa6bca43ea96d2fcc04e8229/mr-est/ofborg-evaluator-2/lib/customisation.nix:279:14:
278| */
279| hydraJob = drv:
| ^
280| let
… while evaluating the attribute 'outPath'
at /var/lib/ofborg/checkout/1/repo/38dca4e3aa6bca43ea96d2fcc04e8229/mr-est/ofborg-evaluator-2/lib/customisation.nix:295:13:
294| value = commonAttrs // {
295| outPath = output.outPath;
| ^
296| drvPath = output.drvPath;
… while evaluating the attribute 'outPath'
at /var/lib/ofborg/checkout/1/repo/38dca4e3aa6bca43ea96d2fcc04e8229/mr-est/ofborg-evaluator-2/lib/customisation.nix:254:13:
253| drvPath = assert condition; drv.${outputName}.drvPath;
254| outPath = assert condition; drv.${outputName}.outPath;
| ^
255| } //
… while evaluating the attribute 'buildInputs' of the derivation 'ceph-18.2.0'
at /var/lib/ofborg/checkout/1/repo/38dca4e3aa6bca43ea96d2fcc04e8229/mr-est/ofborg-evaluator-2/pkgs/stdenv/generic/make-derivation.nix:352:7:
351| // (optionalAttrs (attrs ? name || (attrs ? pname && attrs ? version)) {
352| name =
| ^
353| let
… while evaluating the attribute 'passAsFile' of the derivation 'python3-3.10.13-env'
at /var/lib/ofborg/checkout/1/repo/38dca4e3aa6bca43ea96d2fcc04e8229/mr-est/ofborg-evaluator-2/pkgs/stdenv/generic/make-derivation.nix:352:7:
351| // (optionalAttrs (attrs ? name || (attrs ? pname && attrs ? version)) {
352| name =
| ^
353| let
… while evaluating the attribute 'passAsFile'
at /var/lib/ofborg/checkout/1/repo/38dca4e3aa6bca43ea96d2fcc04e8229/mr-est/ofborg-evaluator-2/pkgs/build-support/buildenv/default.nix:76:5:
75| # XXX: The size is somewhat arbitrary
76| passAsFile = if builtins.stringLength pkgs >= 128*1024 then [ "pkgs" ] else [ ];
| ^
77| }
… while evaluating call site
at /var/lib/ofborg/checkout/1/repo/38dca4e3aa6bca43ea96d2fcc04e8229/mr-est/ofborg-evaluator-2/pkgs/development/interpreters/python/wrapper.nix:20:13:
19| env = let
20| paths = requiredPythonModules (extraLibs ++ [ python ] ) ;
| ^
21| pythonPath = "${placeholder "out"}/${python.sitePackages}";
… while calling 'requiredPythonModules'
at /var/lib/ofborg/checkout/1/repo/38dca4e3aa6bca43ea96d2fcc04e8229/mr-est/ofborg-evaluator-2/pkgs/development/interpreters/python/python-packages-base.nix:54:27:
53| # Get list of required Python modules given a list of derivations.
54| requiredPythonModules = drvs: let
| ^
55| modules = lib.filter hasPythonModule drvs;
… while evaluating call site
at /var/lib/ofborg/checkout/1/repo/38dca4e3aa6bca43ea96d2fcc04e8229/mr-est/ofborg-evaluator-2/pkgs/development/interpreters/python/python-packages-base.nix:56:6:
55| modules = lib.filter hasPythonModule drvs;
56| in lib.unique ([python] ++ modules ++ lib.concatLists (lib.catAttrs "requiredPythonModules" modules));
| ^
57|
… while calling 'foldl''
at /var/lib/ofborg/checkout/1/repo/38dca4e3aa6bca43ea96d2fcc04e8229/mr-est/ofborg-evaluator-2/lib/lists.nix:139:5:
138| # The list to fold
139| list:
| ^
140|
… while evaluating call site
at «none»:0: (source not available)
… while calling 'hasPythonModule'
at /var/lib/ofborg/checkout/1/repo/38dca4e3aa6bca43ea96d2fcc04e8229/mr-est/ofborg-evaluator-2/pkgs/development/interpreters/python/python-packages-base.nix:51:21:
50| # Check whether a derivation provides a Python module.
51| hasPythonModule = drv: drv?pythonModule && drv.pythonModule == python;
| ^
52|
… while evaluating call site
at «none»:0: (source not available)
… while calling 'func'
at /var/lib/ofborg/checkout/1/repo/38dca4e3aa6bca43ea96d2fcc04e8229/mr-est/ofborg-evaluator-2/pkgs/development/interpreters/python/passthrufun.nix:26:20:
25| valid = value: pythonPackages.hasPythonModule value || providesSetupHook value || lib.elem value exceptions;
26| func = name: value:
| ^
27| if lib.isDerivation value then
… while evaluating call site
at /var/lib/ofborg/checkout/1/repo/38dca4e3aa6bca43ea96d2fcc04e8229/mr-est/ofborg-evaluator-2/pkgs/development/interpreters/python/passthrufun.nix:27:12:
26| func = name: value:
27| if lib.isDerivation value then
| ^
28| lib.extendDerivation (valid value || throw "${name} should use `buildPythonPackage` or `toPythonModule` if it is to be part of the Python packages set.") {} value
… while calling 'isDerivation'
at /var/lib/ofborg/checkout/1/repo/38dca4e3aa6bca43ea96d2fcc04e8229/mr-est/ofborg-evaluator-2/lib/attrsets.nix:780:5:
779| # Value to check.
780| value: value.type or null == "derivation";
| ^
781|
… while evaluating the attribute 'kubernetes_18'
at /var/lib/ofborg/checkout/1/repo/38dca4e3aa6bca43ea96d2fcc04e8229/mr-est/ofborg-evaluator-2/pkgs/top-level/python-packages.nix:6182:3:
6181| # Needed for `ceph`, see: https://github.com/NixOS/nixpkgs/pull/281858#issuecomment-1900324090
6182| kubernetes_18 = callPackage ../development/python-modules/kubernetes/18.nix { };
| ^
6183|
… while evaluating call site
at /var/lib/ofborg/checkout/1/repo/38dca4e3aa6bca43ea96d2fcc04e8229/mr-est/ofborg-evaluator-2/pkgs/top-level/python-packages.nix:6182:19:
6181| # Needed for `ceph`, see: https://github.com/NixOS/nixpkgs/pull/281858#issuecomment-1900324090
6182| kubernetes_18 = callPackage ../development/python-modules/kubernetes/18.nix { };
| ^
6183|
… while calling 'callPackageWith'
at /var/lib/ofborg/checkout/1/repo/38dca4e3aa6bca43ea96d2fcc04e8229/mr-est/ofborg-evaluator-2/lib/customisation.nix:153:35:
152| */
153| callPackageWith = autoArgs: fn: args:
| ^
154| let
error: evaluation aborted with the following error message: 'lib.customisation.callPackageWith: Function called without required argument "requests_oauthlib" at /var/lib/ofborg/checkout/1/repo/38dca4e3aa6bca43ea96d2fcc04e8229/mr-est/ofborg-evaluator-2/pkgs/development/python-modules/kubernetes/18.nix:13, did you mean "requests-oauthlib"?'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment