Skip to content

Instantly share code, notes, and snippets.

@GrahamcOfBorg
Created July 1, 2022 17:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save GrahamcOfBorg/83fdd98e358fcb93a5c58d857c7296ae to your computer and use it in GitHub Desktop.
Save GrahamcOfBorg/83fdd98e358fcb93a5c58d857c7296ae to your computer and use it in GitHub Desktop.
nix-env failed:
error: infinite recursion encountered
at /var/lib/ofborg/checkout/repo/38dca4e3aa6bca43ea96d2fcc04e8229/mr-est/ofborg-evaluator-5/pkgs/applications/science/math/sage/default.nix:49:60:
48| logo64 = "${sage-src}/src/doc/common/themes/sage/static/sageicon.png";
49| } // lib.optionalAttrs withDoc { extraPaths = { "doc" = "${sagedoc}/share/doc/sage/html/en"; }; };
| ^
50|
… while evaluating anonymous lambda
at /var/lib/ofborg/checkout/repo/38dca4e3aa6bca43ea96d2fcc04e8229/mr-est/ofborg-evaluator-5/pkgs/applications/editors/jupyter/kernel.nix:40:60:
39|
40| ${concatStringsSep "\n" (mapAttrsToList (kernelName: unfilteredKernel:
| ^
41| let
… from call site
at /var/lib/ofborg/checkout/repo/38dca4e3aa6bca43ea96d2fcc04e8229/mr-est/ofborg-evaluator-5/lib/attrsets.nix:356:16:
355| mapAttrsToList = f: attrs:
356| map (name: f name attrs.${name}) (attrNames attrs);
| ^
357|
… while evaluating anonymous lambda
at /var/lib/ofborg/checkout/repo/38dca4e3aa6bca43ea96d2fcc04e8229/mr-est/ofborg-evaluator-5/lib/attrsets.nix:356:10:
355| mapAttrsToList = f: attrs:
356| map (name: f name attrs.${name}) (attrNames attrs);
| ^
357|
… from call site
… while evaluating the attribute 'installPhase' of the derivation 'jupyter-kernels'
at /var/lib/ofborg/checkout/repo/38dca4e3aa6bca43ea96d2fcc04e8229/mr-est/ofborg-evaluator-5/pkgs/stdenv/generic/make-derivation.nix:270:7:
269| // (lib.optionalAttrs (attrs ? name || (attrs ? pname && attrs ? version)) {
270| name =
| ^
271| let
… while evaluating the attribute 'buildPhase' of the derivation 'sagedoc-9.6'
at /var/lib/ofborg/checkout/repo/38dca4e3aa6bca43ea96d2fcc04e8229/mr-est/ofborg-evaluator-5/pkgs/stdenv/generic/make-derivation.nix:270:7:
269| // (lib.optionalAttrs (attrs ? name || (attrs ? pname && attrs ? version)) {
270| name =
| ^
271| let
… while evaluating 'optionalString'
at /var/lib/ofborg/checkout/repo/38dca4e3aa6bca43ea96d2fcc04e8229/mr-est/ofborg-evaluator-5/lib/strings.nix:203:5:
202| # String to return if condition is true
203| string: if cond then string else "";
| ^
204|
… from call site
at /var/lib/ofborg/checkout/repo/38dca4e3aa6bca43ea96d2fcc04e8229/mr-est/ofborg-evaluator-5/pkgs/applications/science/math/sage/sage.nix:36:9:
35| --set SAGE_DOC_SRC_OVERRIDE "${src}/src/doc" ${
36| lib.optionalString withDoc "--set SAGE_DOC_OVERRIDE ${sagedoc}/share/doc/sage"
| ^
37| } \
… while evaluating the attribute 'installPhase' of the derivation 'sage-9.6'
at /var/lib/ofborg/checkout/repo/38dca4e3aa6bca43ea96d2fcc04e8229/mr-est/ofborg-evaluator-5/pkgs/stdenv/generic/make-derivation.nix:270:7:
269| // (lib.optionalAttrs (attrs ? name || (attrs ? pname && attrs ? version)) {
270| name =
| ^
271| let
… while evaluating the attribute 'drvPath'
at /var/lib/ofborg/checkout/repo/38dca4e3aa6bca43ea96d2fcc04e8229/mr-est/ofborg-evaluator-5/lib/customisation.nix:203:13:
202| outputSpecified = true;
203| drvPath = assert condition; drv.${outputName}.drvPath;
| ^
204| outPath = assert condition; drv.${outputName}.outPath;
… while evaluating the attribute 'drvPath'
at /var/lib/ofborg/checkout/repo/38dca4e3aa6bca43ea96d2fcc04e8229/mr-est/ofborg-evaluator-5/lib/customisation.nix:235:13:
234| outPath = output.outPath;
235| drvPath = output.drvPath;
| ^
236| type = "derivation";
… while evaluating 'hydraJob'
at /var/lib/ofborg/checkout/repo/38dca4e3aa6bca43ea96d2fcc04e8229/mr-est/ofborg-evaluator-5/lib/customisation.nix:218:14:
217| garbage collection. */
218| hydraJob = drv:
| ^
219| let
… from call site
at /var/lib/ofborg/checkout/repo/38dca4e3aa6bca43ea96d2fcc04e8229/mr-est/ofborg-evaluator-5/pkgs/top-level/release-lib.nix:123:14:
122| testOnCross = crossSystem: metaPatterns: f: forMatchingSystems metaPatterns
123| (system: hydraJob' (f (pkgsForCross crossSystem system)));
| ^
124|
… while evaluating anonymous lambda
at /var/lib/ofborg/checkout/repo/38dca4e3aa6bca43ea96d2fcc04e8229/mr-est/ofborg-evaluator-5/pkgs/top-level/release-lib.nix:123:6:
122| testOnCross = crossSystem: metaPatterns: f: forMatchingSystems metaPatterns
123| (system: hydraJob' (f (pkgsForCross crossSystem system)));
| ^
124|
… from call site
at /var/lib/ofborg/checkout/repo/38dca4e3aa6bca43ea96d2fcc04e8229/mr-est/ofborg-evaluator-5/lib/attrsets.nix:414:43:
413| genAttrs = names: f:
414| listToAttrs (map (n: nameValuePair n (f n)) names);
| ^
415|
… while evaluating anonymous lambda
at /var/lib/ofborg/checkout/repo/38dca4e3aa6bca43ea96d2fcc04e8229/mr-est/ofborg-evaluator-5/.gc-of-borg-outpaths.nix:44:12:
43| tweak = lib.mapAttrs
44| (name: val:
| ^
45| if name == "recurseForDerivations" then true
… from call site
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment