Created
September 1, 2023 09:59
-
-
Save peacememories/0f7afe6b3c6a113f924c6f6c49fd5f96 to your computer and use it in GitHub Desktop.
nix evaluation error
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
❯ nix-shell shell.nix --show-trace | |
error: | |
… while calling the 'derivationStrict' builtin | |
at /builtin/derivation.nix:9:12: (source not available) | |
… while evaluating derivation 'interactive-python3-3.8.16-environment' | |
whose name attribute is located at /nix/store/qqvsfjj4ykzgc5245w297sm5g4z8fxsn-nixpkgs-src/pkgs/stdenv/generic/make-derivation.nix:303:7 | |
… while evaluating attribute 'nativeBuildInputs' of derivation 'interactive-python3-3.8.16-environment' | |
at /nix/store/qqvsfjj4ykzgc5245w297sm5g4z8fxsn-nixpkgs-src/pkgs/stdenv/generic/make-derivation.nix:347:7: | |
346| depsBuildBuild = lib.elemAt (lib.elemAt dependencies 0) 0; | |
347| nativeBuildInputs = lib.elemAt (lib.elemAt dependencies 0) 1; | |
| ^ | |
348| depsBuildTarget = lib.elemAt (lib.elemAt dependencies 0) 2; | |
… while evaluating derivation 'python3-3.8.16-env' | |
whose name attribute is located at /nix/store/qqvsfjj4ykzgc5245w297sm5g4z8fxsn-nixpkgs-src/pkgs/stdenv/generic/make-derivation.nix:303:7 | |
… while evaluating attribute 'passAsFile' of derivation 'python3-3.8.16-env' | |
at /nix/store/qqvsfjj4ykzgc5245w297sm5g4z8fxsn-nixpkgs-src/pkgs/build-support/trivial-builders/default.nix:88:7: | |
87| inherit buildCommand name; | |
88| passAsFile = [ "buildCommand" ] | |
| ^ | |
89| ++ (derivationArgs.passAsFile or []); | |
… from call site | |
at /nix/store/qqvsfjj4ykzgc5245w297sm5g4z8fxsn-nixpkgs-src/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 /nix/store/qqvsfjj4ykzgc5245w297sm5g4z8fxsn-nixpkgs-src/pkgs/development/interpreters/python/python-packages-base.nix:53:27: | |
52| # Get list of required Python modules given a list of derivations. | |
53| requiredPythonModules = drvs: let | |
| ^ | |
54| modules = lib.filter hasPythonModule drvs; | |
… from call site | |
at /nix/store/qqvsfjj4ykzgc5245w297sm5g4z8fxsn-nixpkgs-src/pkgs/development/interpreters/python/with-packages.nix:3:19: | |
2| | |
3| f: let packages = f pythonPackages; in buildEnv.override { extraLibs = packages; } | |
| ^ | |
4| | |
… while calling anonymous lambda | |
at /nix/store/92pgv5wn74pqw82b42r2vf70bs65561c-poetry2nix-src/default.nix:366:39: | |
365| in | |
366| poetryPython.python.withPackages (ps: envPkgs ++ (extraPackages ps)); | |
| ^ | |
367| | |
… from call site | |
at /nix/store/92pgv5wn74pqw82b42r2vf70bs65561c-poetry2nix-src/default.nix:292:23: | |
291| */ | |
292| storePackages = requiredPythonModules (builtins.foldl' (acc: v: acc ++ v) [ ] (lib.attrValues inputAttrs)); | |
| ^ | |
293| in | |
… while calling 'requiredPythonModules' | |
at /nix/store/qqvsfjj4ykzgc5245w297sm5g4z8fxsn-nixpkgs-src/pkgs/development/interpreters/python/python-packages-base.nix:53:27: | |
52| # Get list of required Python modules given a list of derivations. | |
53| requiredPythonModules = drvs: let | |
| ^ | |
54| modules = lib.filter hasPythonModule drvs; | |
… from call site | |
at /nix/store/qqvsfjj4ykzgc5245w297sm5g4z8fxsn-nixpkgs-src/pkgs/development/interpreters/python/python-packages-base.nix:70:33: | |
69| pythonPath = [ ]; # Deprecated, for compatibility. | |
70| requiredPythonModules = requiredPythonModules drv.propagatedBuildInputs; | |
| ^ | |
71| }; | |
… while calling 'requiredPythonModules' | |
at /nix/store/qqvsfjj4ykzgc5245w297sm5g4z8fxsn-nixpkgs-src/pkgs/development/interpreters/python/python-packages-base.nix:53:27: | |
52| # Get list of required Python modules given a list of derivations. | |
53| requiredPythonModules = drvs: let | |
| ^ | |
54| modules = lib.filter hasPythonModule drvs; | |
… while calling anonymous lambda | |
at /nix/store/qqvsfjj4ykzgc5245w297sm5g4z8fxsn-nixpkgs-src/lib/lists.nix:658:25: | |
657| */ | |
658| unique = foldl' (acc: e: if elem e acc then acc else acc ++ [ e ]) []; | |
| ^ | |
659| | |
… while evaluating derivation 'python3.8-click-8.1.7' | |
whose name attribute is located at /nix/store/qqvsfjj4ykzgc5245w297sm5g4z8fxsn-nixpkgs-src/pkgs/stdenv/generic/make-derivation.nix:303:7 | |
… while evaluating attribute 'nativeBuildInputs' of derivation 'python3.8-click-8.1.7' | |
at /nix/store/qqvsfjj4ykzgc5245w297sm5g4z8fxsn-nixpkgs-src/pkgs/stdenv/generic/make-derivation.nix:347:7: | |
346| depsBuildBuild = lib.elemAt (lib.elemAt dependencies 0) 0; | |
347| nativeBuildInputs = lib.elemAt (lib.elemAt dependencies 0) 1; | |
| ^ | |
348| depsBuildTarget = lib.elemAt (lib.elemAt dependencies 0) 2; | |
… while evaluating derivation 'wheel-unpack-hook.sh' | |
whose name attribute is located at /nix/store/qqvsfjj4ykzgc5245w297sm5g4z8fxsn-nixpkgs-src/pkgs/stdenv/generic/make-derivation.nix:303:7 | |
… while evaluating attribute 'propagatedBuildInputs' of derivation 'wheel-unpack-hook.sh' | |
at /nix/store/qqvsfjj4ykzgc5245w297sm5g4z8fxsn-nixpkgs-src/pkgs/stdenv/generic/make-derivation.nix:357:7: | |
356| depsHostHostPropagated = lib.elemAt (lib.elemAt propagatedDependencies 1) 0; | |
357| propagatedBuildInputs = lib.elemAt (lib.elemAt propagatedDependencies 1) 1; | |
| ^ | |
358| depsTargetTargetPropagated = lib.elemAt (lib.elemAt propagatedDependencies 2) 0; | |
… while calling 'getOutput' | |
at /nix/store/qqvsfjj4ykzgc5245w297sm5g4z8fxsn-nixpkgs-src/lib/attrsets.nix:892:23: | |
891| */ | |
892| getOutput = output: pkg: | |
| ^ | |
893| if ! pkg ? outputSpecified || ! pkg.outputSpecified | |
… while calling anonymous lambda | |
at /nix/store/qqvsfjj4ykzgc5245w297sm5g4z8fxsn-nixpkgs-src/pkgs/stdenv/generic/make-derivation.nix:263:13: | |
262| (map (drv: drv.__spliced.hostHost or drv) (checkDependencyList "depsHostHostPropagated" depsHostHostPropagated)) | |
263| (map (drv: drv.__spliced.hostTarget or drv) (checkDependencyList "propagatedBuildInputs" propagatedBuildInputs)) | |
| ^ | |
264| ] | |
… while calling anonymous lambda | |
at /nix/store/qqvsfjj4ykzgc5245w297sm5g4z8fxsn-nixpkgs-src/lib/lists.nix:117:29: | |
116| */ | |
117| imap1 = f: list: genList (n: f (n + 1) (elemAt list n)) (length list); | |
| ^ | |
118| | |
… from call site | |
at /nix/store/qqvsfjj4ykzgc5245w297sm5g4z8fxsn-nixpkgs-src/lib/lists.nix:117:32: | |
116| */ | |
117| imap1 = f: list: genList (n: f (n + 1) (elemAt list n)) (length list); | |
| ^ | |
118| | |
… while calling anonymous lambda | |
at /nix/store/qqvsfjj4ykzgc5245w297sm5g4z8fxsn-nixpkgs-src/pkgs/stdenv/generic/make-derivation.nix:216:81: | |
215| checkDependencyList = checkDependencyList' []; | |
216| checkDependencyList' = positions: name: deps: lib.flip lib.imap1 deps (index: dep: | |
| ^ | |
217| if lib.isDerivation dep || dep == null || builtins.typeOf dep == "string" || builtins.typeOf dep == "path" then dep | |
… from call site | |
at /nix/store/qqvsfjj4ykzgc5245w297sm5g4z8fxsn-nixpkgs-src/pkgs/stdenv/generic/make-derivation.nix:217:8: | |
216| checkDependencyList' = positions: name: deps: lib.flip lib.imap1 deps (index: dep: | |
217| if lib.isDerivation dep || dep == null || builtins.typeOf dep == "string" || builtins.typeOf dep == "path" then dep | |
| ^ | |
218| else if lib.isList dep then checkDependencyList' ([index] ++ positions) name dep | |
… while calling 'isDerivation' | |
at /nix/store/qqvsfjj4ykzgc5245w297sm5g4z8fxsn-nixpkgs-src/lib/attrsets.nix:636:5: | |
635| # Value to check. | |
636| value: value.type or null == "derivation"; | |
| ^ | |
637| | |
… from call site | |
at /nix/store/mhl9lky6y29fg6wjlidn23l25im4c662-nixpkgs/nixpkgs/lib/trivial.nix:430:7: | |
429| { # TODO: Should we add call-time "type" checking like built in? | |
430| __functor = self: f; | |
| ^ | |
431| __functionArgs = args; | |
… while calling anonymous lambda | |
at /nix/store/mhl9lky6y29fg6wjlidn23l25im4c662-nixpkgs/nixpkgs/lib/customisation.nix:82:32: | |
81| # Re-call the function but with different arguments | |
82| overrideArgs = copyArgs (newArgs: makeOverridable f (overrideWith newArgs)); | |
| ^ | |
83| # Change the result of the function call by applying g to it | |
… from call site | |
at /nix/store/mhl9lky6y29fg6wjlidn23l25im4c662-nixpkgs/nixpkgs/lib/customisation.nix:82:41: | |
81| # Re-call the function but with different arguments | |
82| overrideArgs = copyArgs (newArgs: makeOverridable f (overrideWith newArgs)); | |
| ^ | |
83| # Change the result of the function call by applying g to it | |
… while calling 'makeOverridable' | |
at /nix/store/mhl9lky6y29fg6wjlidn23l25im4c662-nixpkgs/nixpkgs/lib/customisation.nix:72:24: | |
71| */ | |
72| makeOverridable = f: origArgs: | |
| ^ | |
73| let | |
error: function 'anonymous lambda' called with unexpected argument 'setuptools' | |
at /nix/store/mhl9lky6y29fg6wjlidn23l25im4c662-nixpkgs/nixpkgs/pkgs/development/python-modules/wheel/default.nix:1:1: | |
1| { lib | |
| ^ | |
2| , buildPythonPackage |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment