Last active
April 28, 2022 08:58
-
-
Save layus/96ffdd9d2b23cc407a972835186817f4 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/old.txt b/new.txt | |
index 37a424e..c4c29b5 100644 | |
--- a/old.txt | |
+++ b/new.txt | |
@@ -1,24 +1,24 @@ | |
error: infinite recursion encountered | |
- at /nix/store/h96rpxzp4q192r3fnwzclg3rmdg4nlqk-source/pkgs/stdenv/generic/make-derivation.nix:249:7: | |
- | |
- 248| depsHostHost = lib.elemAt (lib.elemAt dependencies 1) 0; | |
- 249| buildInputs = lib.elemAt (lib.elemAt dependencies 1) 1; | |
- | ^ | |
- 250| depsTargetTarget = lib.elemAt (lib.elemAt dependencies 2) 0; | |
- | |
… while evaluating the attribute 'buildInputs' of the derivation 'python3.9-flit-core-3.6.0' | |
- | |
- at /nix/store/h96rpxzp4q192r3fnwzclg3rmdg4nlqk-source/pkgs/stdenv/generic/make-derivation.nix:205:7: | |
+ at /nix/store/h96rpxzp4q192r3fnwzclg3rmdg4nlqk-source/pkgs/stdenv/generic/make-derivation.nix:205:7: | |
204| // (lib.optionalAttrs (attrs ? name || (attrs ? pname && attrs ? version)) { | |
205| name = | |
| ^ | |
206| let | |
- … while evaluating the attribute 'out.outPath' | |
+ … while calling the 'derivationStrict' builtin | |
+ at //builtin/derivation.nix:9:12: | |
+ | |
+ … while evaluating the second argument passed to builtins.getAttr | |
+ at //builtin/derivation.nix:19:19: | |
- at /nix/store/h96rpxzp4q192r3fnwzclg3rmdg4nlqk-source/lib/customisation.nix:204:13: | |
+ … while calling the 'getAttr' builtin | |
+ at //builtin/derivation.nix:19:19: | |
+ | |
+ … while evaluating the attribute 'out.outPath' | |
+ at /nix/store/h96rpxzp4q192r3fnwzclg3rmdg4nlqk-source/lib/customisation.nix:204:13: | |
203| drvPath = assert condition; drv.${outputName}.drvPath; | |
204| outPath = assert condition; drv.${outputName}.outPath; | |
@@ -26,17 +26,24 @@ error: infinite recursion encountered | |
205| }; | |
… while evaluating the attribute 'nativeBuildInputs' of the derivation 'python3.9-tomli-2.0.1' | |
- | |
- at /nix/store/h96rpxzp4q192r3fnwzclg3rmdg4nlqk-source/pkgs/stdenv/generic/make-derivation.nix:205:7: | |
+ at /nix/store/h96rpxzp4q192r3fnwzclg3rmdg4nlqk-source/pkgs/stdenv/generic/make-derivation.nix:205:7: | |
204| // (lib.optionalAttrs (attrs ? name || (attrs ? pname && attrs ? version)) { | |
205| name = | |
| ^ | |
206| let | |
- … while evaluating the attribute 'out.outPath' | |
+ … while calling the 'derivationStrict' builtin | |
+ at //builtin/derivation.nix:9:12: | |
+ | |
+ … while evaluating the second argument passed to builtins.getAttr | |
+ at //builtin/derivation.nix:19:19: | |
- at /nix/store/h96rpxzp4q192r3fnwzclg3rmdg4nlqk-source/lib/customisation.nix:204:13: | |
+ … while calling the 'getAttr' builtin | |
+ at //builtin/derivation.nix:19:19: | |
+ | |
+ … while evaluating the attribute 'out.outPath' | |
+ at /nix/store/h96rpxzp4q192r3fnwzclg3rmdg4nlqk-source/lib/customisation.nix:204:13: | |
203| drvPath = assert condition; drv.${outputName}.drvPath; | |
204| outPath = assert condition; drv.${outputName}.outPath; | |
@@ -44,17 +51,24 @@ error: infinite recursion encountered | |
205| }; | |
… while evaluating the attribute 'propagatedBuildInputs' of the derivation 'python3.9-setuptools-scm-6.4.2' | |
- | |
- at /nix/store/h96rpxzp4q192r3fnwzclg3rmdg4nlqk-source/pkgs/stdenv/generic/make-derivation.nix:205:7: | |
+ at /nix/store/h96rpxzp4q192r3fnwzclg3rmdg4nlqk-source/pkgs/stdenv/generic/make-derivation.nix:205:7: | |
204| // (lib.optionalAttrs (attrs ? name || (attrs ? pname && attrs ? version)) { | |
205| name = | |
| ^ | |
206| let | |
- … while evaluating the attribute 'out.outPath' | |
+ … while calling the 'derivationStrict' builtin | |
+ at //builtin/derivation.nix:9:12: | |
+ | |
+ … while evaluating the second argument passed to builtins.getAttr | |
+ at //builtin/derivation.nix:19:19: | |
- at /nix/store/h96rpxzp4q192r3fnwzclg3rmdg4nlqk-source/lib/customisation.nix:204:13: | |
+ … while calling the 'getAttr' builtin | |
+ at //builtin/derivation.nix:19:19: | |
+ | |
+ … while evaluating the attribute 'out.outPath' | |
+ at /nix/store/h96rpxzp4q192r3fnwzclg3rmdg4nlqk-source/lib/customisation.nix:204:13: | |
203| drvPath = assert condition; drv.${outputName}.drvPath; | |
204| outPath = assert condition; drv.${outputName}.outPath; | |
@@ -62,44 +76,64 @@ error: infinite recursion encountered | |
205| }; | |
… while evaluating the attribute 'buildInputs' of the derivation 'python3.9-colorconsole-0.7.2' | |
- | |
- at /nix/store/h96rpxzp4q192r3fnwzclg3rmdg4nlqk-source/pkgs/stdenv/generic/make-derivation.nix:205:7: | |
+ at /nix/store/h96rpxzp4q192r3fnwzclg3rmdg4nlqk-source/pkgs/stdenv/generic/make-derivation.nix:205:7: | |
204| // (lib.optionalAttrs (attrs ? name || (attrs ? pname && attrs ? version)) { | |
205| name = | |
| ^ | |
206| let | |
- … while evaluating the attribute 'outPath' | |
+ … while calling the 'derivationStrict' builtin | |
+ at //builtin/derivation.nix:9:12: | |
+ | |
+ … while evaluating the second argument passed to builtins.getAttr | |
+ at //builtin/derivation.nix:19:19: | |
+ | |
+ … while calling the 'getAttr' builtin | |
+ at //builtin/derivation.nix:19:19: | |
- at /nix/store/h96rpxzp4q192r3fnwzclg3rmdg4nlqk-source/lib/customisation.nix:211:7: | |
+ … while evaluating the attribute 'outPath' | |
+ at /nix/store/h96rpxzp4q192r3fnwzclg3rmdg4nlqk-source/lib/customisation.nix:211:7: | |
210| drvPath = assert condition; drv.drvPath; | |
211| outPath = assert condition; drv.outPath; | |
| ^ | |
212| }; | |
- … while evaluating anonymous lambda | |
+ … while calling the 'elem' builtin | |
+ at /nix/store/h96rpxzp4q192r3fnwzclg3rmdg4nlqk-source/lib/lists.nix:646:31: | |
+ | |
+ 645| */ | |
+ 646| unique = foldl' (acc: e: if elem e acc then acc else acc ++ [ e ]) []; | |
+ | ^ | |
+ 647| | |
- at /nix/store/h96rpxzp4q192r3fnwzclg3rmdg4nlqk-source/lib/lists.nix:646:25: | |
+ … while evaluating a branch condition | |
+ at /nix/store/h96rpxzp4q192r3fnwzclg3rmdg4nlqk-source/lib/lists.nix:646:28: | |
645| */ | |
646| unique = foldl' (acc: e: if elem e acc then acc else acc ++ [ e ]) []; | |
- | ^ | |
+ | ^ | |
647| | |
- … from call site | |
+ … while evaluating the 'anonymous lambda' function | |
+ at /nix/store/h96rpxzp4q192r3fnwzclg3rmdg4nlqk-source/lib/lists.nix:646:25: | |
+ | |
+ 645| */ | |
+ 646| unique = foldl' (acc: e: if elem e acc then acc else acc ++ [ e ]) []; | |
+ | ^ | |
+ 647| | |
- at /nix/store/h96rpxzp4q192r3fnwzclg3rmdg4nlqk-source/pkgs/top-level/python-packages.nix:62:6: | |
+ … while calling the 'foldl'' builtin | |
+ at /nix/store/h96rpxzp4q192r3fnwzclg3rmdg4nlqk-source/pkgs/top-level/python-packages.nix:62:6: | |
61| modules = lib.filter hasPythonModule drvs; | |
62| in lib.unique ([python] ++ modules ++ lib.concatLists (lib.catAttrs "requiredPythonModules" modules)); | |
| ^ | |
63| | |
- … while evaluating 'requiredPythonModules' | |
- | |
- at /nix/store/h96rpxzp4q192r3fnwzclg3rmdg4nlqk-source/pkgs/top-level/python-packages.nix:60:27: | |
+ … while evaluating the 'requiredPythonModules' function | |
+ at /nix/store/h96rpxzp4q192r3fnwzclg3rmdg4nlqk-source/pkgs/top-level/python-packages.nix:60:27: | |
59| # Get list of required Python modules given a list of derivations. | |
60| requiredPythonModules = drvs: let | |
@@ -107,8 +141,7 @@ error: infinite recursion encountered | |
61| modules = lib.filter hasPythonModule drvs; | |
… from call site | |
- | |
- at /home/layus/projects/poetry2nix-error/poetry2nix/default.nix:242:23: | |
+ at /home/layus/projects/poetry2nix-error/poetry2nix/default.nix:242:23: | |
241| */ | |
242| storePackages = requiredPythonModules (builtins.foldl' (acc: v: acc ++ v) [ ] (lib.attrValues inputAttrs)); | |
@@ -116,17 +149,31 @@ error: infinite recursion encountered | |
243| in | |
… while evaluating the attribute 'poetryPackages' | |
- | |
- at /home/layus/projects/poetry2nix-error/poetry2nix/default.nix:246:7: | |
+ at /home/layus/projects/poetry2nix-error/poetry2nix/default.nix:246:7: | |
245| python = py; | |
246| poetryPackages = storePackages | |
| ^ | |
247| ++ lib.optional hasScripts scriptsPackage | |
- … while evaluating anonymous lambda | |
+ … while evaluating the second argument passed to builtins.filter | |
+ at /home/layus/projects/poetry2nix-error/poetry2nix/default.nix:296:17: | |
+ | |
+ 295| editableAttrs = lib.attrNames editablePackageSources'; | |
+ 296| envPkgs = builtins.filter (drv: ! lib.elem (drv.pname or drv.name or "") editableAttrs) poetryPackages; | |
+ | ^ | |
+ 297| | |
+ | |
+ … while calling the 'filter' builtin | |
+ at /home/layus/projects/poetry2nix-error/poetry2nix/default.nix:296:17: | |
- at /home/layus/projects/poetry2nix-error/poetry2nix/default.nix:299:39: | |
+ 295| editableAttrs = lib.attrNames editablePackageSources'; | |
+ 296| envPkgs = builtins.filter (drv: ! lib.elem (drv.pname or drv.name or "") editableAttrs) poetryPackages; | |
+ | ^ | |
+ 297| | |
+ | |
+ … while evaluating the 'anonymous lambda' function | |
+ at /home/layus/projects/poetry2nix-error/poetry2nix/default.nix:299:39: | |
298| in | |
299| poetryPython.python.withPackages (ps: envPkgs ++ (extraPackages ps)); | |
@@ -134,16 +181,40 @@ error: infinite recursion encountered | |
300| | |
… from call site | |
- | |
- at /nix/store/h96rpxzp4q192r3fnwzclg3rmdg4nlqk-source/pkgs/development/interpreters/python/with-packages.nix:3:19: | |
+ at /nix/store/h96rpxzp4q192r3fnwzclg3rmdg4nlqk-source/pkgs/development/interpreters/python/with-packages.nix:3:19: | |
2| | |
3| f: let packages = f pythonPackages; in buildEnv.override { extraLibs = packages; } | |
| ^ | |
- … while evaluating 'requiredPythonModules' | |
+ … while evaluating the second argument passed to builtins.filter | |
+ at /nix/store/h96rpxzp4q192r3fnwzclg3rmdg4nlqk-source/pkgs/top-level/python-packages.nix:61:15: | |
- at /nix/store/h96rpxzp4q192r3fnwzclg3rmdg4nlqk-source/pkgs/top-level/python-packages.nix:60:27: | |
+ 60| requiredPythonModules = drvs: let | |
+ 61| modules = lib.filter hasPythonModule drvs; | |
+ | ^ | |
+ 62| in lib.unique ([python] ++ modules ++ lib.concatLists (lib.catAttrs "requiredPythonModules" modules)); | |
+ | |
+ … while calling the 'filter' builtin | |
+ at /nix/store/h96rpxzp4q192r3fnwzclg3rmdg4nlqk-source/pkgs/top-level/python-packages.nix:61:15: | |
+ | |
+ 60| requiredPythonModules = drvs: let | |
+ 61| modules = lib.filter hasPythonModule drvs; | |
+ | ^ | |
+ 62| in lib.unique ([python] ++ modules ++ lib.concatLists (lib.catAttrs "requiredPythonModules" modules)); | |
+ | |
+ … while evaluating the third argument passed to builtins.foldlStrict | |
+ | |
+ … while calling the 'foldl'' builtin | |
+ at /nix/store/h96rpxzp4q192r3fnwzclg3rmdg4nlqk-source/pkgs/top-level/python-packages.nix:62:6: | |
+ | |
+ 61| modules = lib.filter hasPythonModule drvs; | |
+ 62| in lib.unique ([python] ++ modules ++ lib.concatLists (lib.catAttrs "requiredPythonModules" modules)); | |
+ | ^ | |
+ 63| | |
+ | |
+ … while evaluating the 'requiredPythonModules' function | |
+ at /nix/store/h96rpxzp4q192r3fnwzclg3rmdg4nlqk-source/pkgs/top-level/python-packages.nix:60:27: | |
59| # Get list of required Python modules given a list of derivations. | |
60| requiredPythonModules = drvs: let | |
@@ -151,17 +222,65 @@ error: infinite recursion encountered | |
61| modules = lib.filter hasPythonModule drvs; | |
… from call site | |
- | |
- at /nix/store/h96rpxzp4q192r3fnwzclg3rmdg4nlqk-source/pkgs/development/interpreters/python/wrapper.nix:20:13: | |
+ at /nix/store/h96rpxzp4q192r3fnwzclg3rmdg4nlqk-source/pkgs/development/interpreters/python/wrapper.nix:20:13: | |
19| env = let | |
20| paths = requiredPythonModules (extraLibs ++ [ python ] ) ; | |
| ^ | |
21| pythonPath = "${placeholder "out"}/${python.sitePackages}"; | |
- … while evaluating the attribute 'passAsFile' | |
+ … while evaluating the second argument passed to builtins.map | |
+ at /nix/store/h96rpxzp4q192r3fnwzclg3rmdg4nlqk-source/pkgs/build-support/buildenv/default.nix:59:29: | |
+ | |
+ 58| nativeBuildInputs buildInputs; | |
+ 59| pkgs = builtins.toJSON (map (drv: { | |
+ | ^ | |
+ 60| paths = | |
+ | |
+ … while calling the 'map' builtin | |
+ at /nix/store/h96rpxzp4q192r3fnwzclg3rmdg4nlqk-source/pkgs/build-support/buildenv/default.nix:59:29: | |
- at /nix/store/h96rpxzp4q192r3fnwzclg3rmdg4nlqk-source/pkgs/build-support/buildenv/default.nix:77:5: | |
+ 58| nativeBuildInputs buildInputs; | |
+ 59| pkgs = builtins.toJSON (map (drv: { | |
+ | ^ | |
+ 60| paths = | |
+ | |
+ … while calling the 'toJSON' builtin | |
+ at /nix/store/h96rpxzp4q192r3fnwzclg3rmdg4nlqk-source/pkgs/build-support/buildenv/default.nix:59:12: | |
+ | |
+ 58| nativeBuildInputs buildInputs; | |
+ 59| pkgs = builtins.toJSON (map (drv: { | |
+ | ^ | |
+ 60| paths = | |
+ | |
+ … while calling the 'stringLength' builtin | |
+ at /nix/store/h96rpxzp4q192r3fnwzclg3rmdg4nlqk-source/pkgs/build-support/buildenv/default.nix:77:21: | |
+ | |
+ 76| # XXX: The size is somewhat arbitrary | |
+ 77| passAsFile = if builtins.stringLength pkgs >= 128*1024 then [ "pkgs" ] else [ ]; | |
+ | ^ | |
+ 78| } | |
+ | |
+ … while calling the 'lessThan' builtin | |
+ at /nix/store/h96rpxzp4q192r3fnwzclg3rmdg4nlqk-source/pkgs/build-support/buildenv/default.nix:77:48: | |
+ | |
+ 76| # XXX: The size is somewhat arbitrary | |
+ 77| passAsFile = if builtins.stringLength pkgs >= 128*1024 then [ "pkgs" ] else [ ]; | |
+ | ^ | |
+ 78| } | |
+ | |
+ … In the argument of the not operator | |
+ | |
+ … while evaluating a branch condition | |
+ at /nix/store/h96rpxzp4q192r3fnwzclg3rmdg4nlqk-source/pkgs/build-support/buildenv/default.nix:77:18: | |
+ | |
+ 76| # XXX: The size is somewhat arbitrary | |
+ 77| passAsFile = if builtins.stringLength pkgs >= 128*1024 then [ "pkgs" ] else [ ]; | |
+ | ^ | |
+ 78| } | |
+ | |
+ … while evaluating the attribute 'passAsFile' | |
+ at /nix/store/h96rpxzp4q192r3fnwzclg3rmdg4nlqk-source/pkgs/build-support/buildenv/default.nix:77:5: | |
76| # XXX: The size is somewhat arbitrary | |
77| passAsFile = if builtins.stringLength pkgs >= 128*1024 then [ "pkgs" ] else [ ]; | |
@@ -169,19 +288,29 @@ error: infinite recursion encountered | |
78| } | |
… while evaluating the attribute 'passAsFile' of the derivation 'python3-3.9.11-env' | |
- | |
- at /nix/store/h96rpxzp4q192r3fnwzclg3rmdg4nlqk-source/pkgs/stdenv/generic/make-derivation.nix:205:7: | |
+ at /nix/store/h96rpxzp4q192r3fnwzclg3rmdg4nlqk-source/pkgs/stdenv/generic/make-derivation.nix:205:7: | |
204| // (lib.optionalAttrs (attrs ? name || (attrs ? pname && attrs ? version)) { | |
205| name = | |
| ^ | |
206| let | |
- … while evaluating the attribute 'buildInputs' of the derivation 'nix-shell' | |
+ … while calling the 'derivationStrict' builtin | |
+ at //builtin/derivation.nix:9:12: | |
+ | |
+ … while evaluating the second argument passed to builtins.getAttr | |
+ at //builtin/derivation.nix:19:19: | |
- at /nix/store/h96rpxzp4q192r3fnwzclg3rmdg4nlqk-source/pkgs/stdenv/generic/make-derivation.nix:205:7: | |
+ … while calling the 'getAttr' builtin | |
+ at //builtin/derivation.nix:19:19: | |
+ | |
+ … while evaluating the attribute 'buildInputs' of the derivation 'nix-shell' | |
+ at /nix/store/h96rpxzp4q192r3fnwzclg3rmdg4nlqk-source/pkgs/stdenv/generic/make-derivation.nix:205:7: | |
204| // (lib.optionalAttrs (attrs ? name || (attrs ? pname && attrs ? version)) { | |
205| name = | |
| ^ | |
206| let | |
+ | |
+ … while calling the 'derivationStrict' builtin | |
+ at //builtin/derivation.nix:9:12: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment