-
-
Notifications
You must be signed in to change notification settings - Fork 779
Open
Description
I am trying to use nix-shell
on macOS Sequoia 15.5 (24F74)
and I am getting a strange error regarding tockloader
. I am not a nix expert, I am not sure how to debug this.
MacBook-Pro-9:tock alexandru$ nix-shell
error:
… while calling the 'derivationStrict' builtin
at <nix/derivation-internal.nix>:37:12:
36|
37| strict = derivationStrict drvAttrs;
| ^
38|
… while evaluating derivation 'tock-dev'
whose name attribute is located at /nix/store/a2k2iqavfsqdvgmk7jcmzxrwld9xh0c2-nixpkgs/nixpkgs/pkgs/stdenv/generic/make-derivation.nix:468:13
… while evaluating attribute '__impureHostDeps' of derivation 'tock-dev'
at /nix/store/a2k2iqavfsqdvgmk7jcmzxrwld9xh0c2-nixpkgs/nixpkgs/pkgs/stdenv/generic/make-derivation.nix:626:15:
625| );
626| __impureHostDeps =
| ^
627| computedImpureHostDeps
(stack trace truncated; use '--show-trace' to show the full, detailed trace)
error: python3.13-tockloader-1.10.0 does not configure a `format`. To build with setuptools as before, set `pyproject = true` and `build-system = [ setuptools ]`.`
I ran nix-shell --show-trace
:
MacBook-Pro-9:tock alexandru$ nix-shell
error:
… while calling the 'derivationStrict' builtin
at <nix/derivation-internal.nix>:37:12:
36|
37| strict = derivationStrict drvAttrs;
| ^
38|
… while evaluating derivation 'tock-dev'
whose name attribute is located at /nix/store/a2k2iqavfsqdvgmk7jcmzxrwld9xh0c2-nixpkgs/nixpkgs/pkgs/stdenv/generic/make-derivation.nix:468:13
… while evaluating attribute '__impureHostDeps' of derivation 'tock-dev'
at /nix/store/a2k2iqavfsqdvgmk7jcmzxrwld9xh0c2-nixpkgs/nixpkgs/pkgs/stdenv/generic/make-derivation.nix:626:15:
625| );
626| __impureHostDeps =
| ^
627| computedImpureHostDeps
(stack trace truncated; use '--show-trace' to show the full, detailed trace)
error: python3.13-tockloader-1.10.0 does not configure a `format`. To build with setuptools as before, set `pyproject = true` and `build-system = [ setuptools ]`.`
MacBook-Pro-9:tock alexandru$ nix-shell --show-trace
error:
… while calling the 'derivationStrict' builtin
at <nix/derivation-internal.nix>:37:12:
36|
37| strict = derivationStrict drvAttrs;
| ^
38|
… while evaluating derivation 'tock-dev'
whose name attribute is located at /nix/store/a2k2iqavfsqdvgmk7jcmzxrwld9xh0c2-nixpkgs/nixpkgs/pkgs/stdenv/generic/make-derivation.nix:468:13
… while evaluating attribute '__impureHostDeps' of derivation 'tock-dev'
at /nix/store/a2k2iqavfsqdvgmk7jcmzxrwld9xh0c2-nixpkgs/nixpkgs/pkgs/stdenv/generic/make-derivation.nix:626:15:
625| );
626| __impureHostDeps =
| ^
627| computedImpureHostDeps
… while calling the 'foldl'' builtin
at /nix/store/a2k2iqavfsqdvgmk7jcmzxrwld9xh0c2-nixpkgs/nixpkgs/pkgs/stdenv/generic/make-derivation.nix:597:40:
596|
597| computedImpureHostDeps = unique (
| ^
598| concatMap (input: input.__propagatedImpureHostDeps or [ ]) (
… while calling the 'concatMap' builtin
at /nix/store/a2k2iqavfsqdvgmk7jcmzxrwld9xh0c2-nixpkgs/nixpkgs/pkgs/stdenv/generic/make-derivation.nix:598:17:
597| computedImpureHostDeps = unique (
598| concatMap (input: input.__propagatedImpureHostDeps or [ ]) (
| ^
599| stdenv.extraNativeBuildInputs ++ stdenv.extraBuildInputs ++ allDependencies
… while calling anonymous lambda
at /nix/store/a2k2iqavfsqdvgmk7jcmzxrwld9xh0c2-nixpkgs/nixpkgs/pkgs/stdenv/generic/make-derivation.nix:598:28:
597| computedImpureHostDeps = unique (
598| concatMap (input: input.__propagatedImpureHostDeps or [ ]) (
| ^
599| stdenv.extraNativeBuildInputs ++ stdenv.extraBuildInputs ++ allDependencies
… from call site
at /nix/store/a2k2iqavfsqdvgmk7jcmzxrwld9xh0c2-nixpkgs/nixpkgs/pkgs/stdenv/generic/make-derivation.nix:598:35:
597| computedImpureHostDeps = unique (
598| concatMap (input: input.__propagatedImpureHostDeps or [ ]) (
| ^
599| stdenv.extraNativeBuildInputs ++ stdenv.extraBuildInputs ++ allDependencies
… while calling anonymous lambda
at /nix/store/a2k2iqavfsqdvgmk7jcmzxrwld9xh0c2-nixpkgs/nixpkgs/pkgs/stdenv/generic/make-derivation.nix:430:19:
429| (map (drv: getDev drv.__spliced.hostHost or drv) (checkDependencyList "depsHostHost" depsHostHost))
430| (map (drv: getDev drv.__spliced.hostTarget or drv) (checkDependencyList "buildInputs" buildInputs'))
| ^
431| ]
… from call site
at /nix/store/a2k2iqavfsqdvgmk7jcmzxrwld9xh0c2-nixpkgs/nixpkgs/pkgs/stdenv/generic/make-derivation.nix:430:24:
429| (map (drv: getDev drv.__spliced.hostHost or drv) (checkDependencyList "depsHostHost" depsHostHost))
430| (map (drv: getDev drv.__spliced.hostTarget or drv) (checkDependencyList "buildInputs" buildInputs'))
| ^
431| ]
… while calling 'getOutput'
at /nix/store/a2k2iqavfsqdvgmk7jcmzxrwld9xh0c2-nixpkgs/nixpkgs/lib/attrsets.nix:1745:13:
1744| getOutput =
1745| output: pkg:
| ^
1746| if !pkg ? outputSpecified || !pkg.outputSpecified then pkg.${output} or pkg.out or pkg else pkg;
… while evaluating a branch condition
at /nix/store/a2k2iqavfsqdvgmk7jcmzxrwld9xh0c2-nixpkgs/nixpkgs/lib/attrsets.nix:1746:5:
1745| output: pkg:
1746| if !pkg ? outputSpecified || !pkg.outputSpecified then pkg.${output} or pkg.out or pkg else pkg;
| ^
1747|
… in the left operand of the OR (||) operator
at /nix/store/a2k2iqavfsqdvgmk7jcmzxrwld9xh0c2-nixpkgs/nixpkgs/lib/attrsets.nix:1746:31:
1745| output: pkg:
1746| if !pkg ? outputSpecified || !pkg.outputSpecified then pkg.${output} or pkg.out or pkg else pkg;
| ^
1747|
… in the argument of the not operator
at /nix/store/a2k2iqavfsqdvgmk7jcmzxrwld9xh0c2-nixpkgs/nixpkgs/lib/attrsets.nix:1746:9:
1745| output: pkg:
1746| if !pkg ? outputSpecified || !pkg.outputSpecified then pkg.${output} or pkg.out or pkg else pkg;
| ^
1747|
… from call site
at /nix/store/a2k2iqavfsqdvgmk7jcmzxrwld9xh0c2-nixpkgs/nixpkgs/pkgs/stdenv/generic/make-derivation.nix:430:31:
429| (map (drv: getDev drv.__spliced.hostHost or drv) (checkDependencyList "depsHostHost" depsHostHost))
430| (map (drv: getDev drv.__spliced.hostTarget or drv) (checkDependencyList "buildInputs" buildInputs'))
| ^
431| ]
… while calling anonymous lambda
at /nix/store/a2k2iqavfsqdvgmk7jcmzxrwld9xh0c2-nixpkgs/nixpkgs/lib/lists.nix:345:29:
344| */
345| imap1 = f: list: genList (n: f (n + 1) (elemAt list n)) (length list);
| ^
346|
… from call site
at /nix/store/a2k2iqavfsqdvgmk7jcmzxrwld9xh0c2-nixpkgs/nixpkgs/lib/lists.nix:345:32:
344| */
345| imap1 = f: list: genList (n: f (n + 1) (elemAt list n)) (length list);
| ^
346|
… while calling anonymous lambda
at /nix/store/a2k2iqavfsqdvgmk7jcmzxrwld9xh0c2-nixpkgs/nixpkgs/pkgs/stdenv/generic/make-derivation.nix:378:18:
377| imap1 (
378| index: dep:
| ^
379| if dep == null || isDerivation dep || builtins.isString dep || builtins.isPath dep then
… while evaluating a branch condition
at /nix/store/a2k2iqavfsqdvgmk7jcmzxrwld9xh0c2-nixpkgs/nixpkgs/pkgs/stdenv/generic/make-derivation.nix:379:11:
378| index: dep:
379| if dep == null || isDerivation dep || builtins.isString dep || builtins.isPath dep then
| ^
380| dep
… in the left operand of the OR (||) operator
at /nix/store/a2k2iqavfsqdvgmk7jcmzxrwld9xh0c2-nixpkgs/nixpkgs/pkgs/stdenv/generic/make-derivation.nix:379:71:
378| index: dep:
379| if dep == null || isDerivation dep || builtins.isString dep || builtins.isPath dep then
| ^
380| dep
… in the left operand of the OR (||) operator
at /nix/store/a2k2iqavfsqdvgmk7jcmzxrwld9xh0c2-nixpkgs/nixpkgs/pkgs/stdenv/generic/make-derivation.nix:379:46:
378| index: dep:
379| if dep == null || isDerivation dep || builtins.isString dep || builtins.isPath dep then
| ^
380| dep
… in the left operand of the OR (||) operator
at /nix/store/a2k2iqavfsqdvgmk7jcmzxrwld9xh0c2-nixpkgs/nixpkgs/pkgs/stdenv/generic/make-derivation.nix:379:26:
378| index: dep:
379| if dep == null || isDerivation dep || builtins.isString dep || builtins.isPath dep then
| ^
380| dep
… while calling the 'elemAt' builtin
at /nix/store/a2k2iqavfsqdvgmk7jcmzxrwld9xh0c2-nixpkgs/nixpkgs/lib/lists.nix:345:43:
344| */
345| imap1 = f: list: genList (n: f (n + 1) (elemAt list n)) (length list);
| ^
346|
… from call site
at /Users/alexandru/programe/OxidOS/tock/shell.nix:24:16:
23| # Tockloader v1.12.0
24| tockloader = import (pkgs.fetchFromGitHub {
| ^
25| owner = "tock";
… while calling anonymous lambda
at /nix/store/gbnxbxyvag7n8ry9pf83n1jyzqd3g0km-source/default.nix:3:1:
2|
3| { pkgs ? import <nixpkgs> {}, withUnfreePkgs ? true }:
| ^
4|
… while calling a functor (an attribute set with a '__functor' attribute)
at /nix/store/gbnxbxyvag7n8ry9pf83n1jyzqd3g0km-source/default.nix:75:4:
74| });
75| in pkgs.python3Packages.buildPythonPackage rec {
| ^
76| pname = "tockloader";
… from call site
at /nix/store/a2k2iqavfsqdvgmk7jcmzxrwld9xh0c2-nixpkgs/nixpkgs/lib/trivial.nix:989:5:
988| # TODO: Should we add call-time "type" checking like built in?
989| __functor = self: f;
| ^
990| __functionArgs = args;
… while calling anonymous lambda
at /nix/store/a2k2iqavfsqdvgmk7jcmzxrwld9xh0c2-nixpkgs/nixpkgs/pkgs/development/interpreters/python/python-packages-base.nix:20:7:
19| lib.mirrorFunctionArgs f (
20| origArgs:
| ^
21| let
… while evaluating a branch condition
at /nix/store/a2k2iqavfsqdvgmk7jcmzxrwld9xh0c2-nixpkgs/nixpkgs/pkgs/development/interpreters/python/python-packages-base.nix:32:7:
31| in
32| if builtins.isAttrs result then
| ^
33| result
… while calling the 'isAttrs' builtin
at /nix/store/a2k2iqavfsqdvgmk7jcmzxrwld9xh0c2-nixpkgs/nixpkgs/pkgs/development/interpreters/python/python-packages-base.nix:32:10:
31| in
32| if builtins.isAttrs result then
| ^
33| result
… while calling a functor (an attribute set with a '__functor' attribute)
at /nix/store/a2k2iqavfsqdvgmk7jcmzxrwld9xh0c2-nixpkgs/nixpkgs/pkgs/development/interpreters/python/python-packages-base.nix:29:18:
28| );
29| result = f args;
| ^
30| overrideWith = newArgs: args // (if pkgs.lib.isFunction newArgs then newArgs args else newArgs);
… from call site
at /nix/store/a2k2iqavfsqdvgmk7jcmzxrwld9xh0c2-nixpkgs/nixpkgs/lib/trivial.nix:989:5:
988| # TODO: Should we add call-time "type" checking like built in?
989| __functor = self: f;
| ^
990| __functionArgs = args;
… while calling anonymous lambda
at /nix/store/a2k2iqavfsqdvgmk7jcmzxrwld9xh0c2-nixpkgs/nixpkgs/pkgs/development/interpreters/python/mk-python-derivation.nix:118:1:
117|
118| {
| ^
119| # Build-time dependencies for the package
… from call site
at /nix/store/a2k2iqavfsqdvgmk7jcmzxrwld9xh0c2-nixpkgs/nixpkgs/pkgs/development/interpreters/python/mk-python-derivation.nix:472:1:
471| in
472| transformDrv self
| ^
473|
… while calling anonymous lambda
at /nix/store/a2k2iqavfsqdvgmk7jcmzxrwld9xh0c2-nixpkgs/nixpkgs/pkgs/development/interpreters/python/mk-python-derivation.nix:469:5:
468| in
469| drv: disablePythonPackage (toPythonModule drv);
| ^
470|
… from call site
at /nix/store/a2k2iqavfsqdvgmk7jcmzxrwld9xh0c2-nixpkgs/nixpkgs/pkgs/development/interpreters/python/mk-python-derivation.nix:469:10:
468| in
469| drv: disablePythonPackage (toPythonModule drv);
| ^
470|
… while calling 'disablePythonPackage'
at /nix/store/a2k2iqavfsqdvgmk7jcmzxrwld9xh0c2-nixpkgs/nixpkgs/pkgs/development/interpreters/python/mk-python-derivation.nix:460:9:
459| disablePythonPackage =
460| drv:
| ^
461| extendDerivation (
… in the left operand of the update (//) operator
at /nix/store/a2k2iqavfsqdvgmk7jcmzxrwld9xh0c2-nixpkgs/nixpkgs/pkgs/development/interpreters/python/mk-python-derivation.nix:465:9:
464| ) { } drv
465| // {
| ^
466| overrideAttrs = fdrv: disablePythonPackage (drv.overrideAttrs fdrv);
… from call site
at /nix/store/a2k2iqavfsqdvgmk7jcmzxrwld9xh0c2-nixpkgs/nixpkgs/pkgs/development/interpreters/python/mk-python-derivation.nix:461:9:
460| drv:
461| extendDerivation (
| ^
462| drv.disabled
… while calling 'extendDerivation'
at /nix/store/a2k2iqavfsqdvgmk7jcmzxrwld9xh0c2-nixpkgs/nixpkgs/lib/customisation.nix:383:26:
382| extendDerivation =
383| condition: passthru: drv:
| ^
384| let
… in the left operand of the update (//) operator
at /nix/store/a2k2iqavfsqdvgmk7jcmzxrwld9xh0c2-nixpkgs/nixpkgs/lib/customisation.nix:417:5:
416| commonAttrs
417| // {
| ^
418| drvPath =
… in the left operand of the update (//) operator
at /nix/store/a2k2iqavfsqdvgmk7jcmzxrwld9xh0c2-nixpkgs/nixpkgs/lib/customisation.nix:388:13:
387| commonAttrs =
388| drv // (listToAttrs outputsList) // ({ all = map (x: x.value) outputsList; }) // passthru;
| ^
389|
… from call site
at /nix/store/a2k2iqavfsqdvgmk7jcmzxrwld9xh0c2-nixpkgs/nixpkgs/pkgs/development/interpreters/python/mk-python-derivation.nix:469:32:
468| in
469| drv: disablePythonPackage (toPythonModule drv);
| ^
470|
… while calling 'toPythonModule'
at /nix/store/a2k2iqavfsqdvgmk7jcmzxrwld9xh0c2-nixpkgs/nixpkgs/pkgs/development/interpreters/python/python-packages-base.nix:85:5:
84| toPythonModule =
85| drv:
| ^
86| drv.overrideAttrs (oldAttrs: {
… from call site
at /nix/store/a2k2iqavfsqdvgmk7jcmzxrwld9xh0c2-nixpkgs/nixpkgs/pkgs/development/interpreters/python/mk-python-derivation.nix:204:10:
203| # Keep extra attributes from `attrs`, e.g., `patchPhase', etc.
204| self = stdenv.mkDerivation (
| ^
205| finalAttrs:
… while calling 'mkDerivation'
at /nix/store/a2k2iqavfsqdvgmk7jcmzxrwld9xh0c2-nixpkgs/nixpkgs/pkgs/stdenv/generic/make-derivation.nix:66:18:
65| */
66| mkDerivation = fnOrAttrs: makeDerivationExtensible (toFunction fnOrAttrs);
| ^
67|
… from call site
at /nix/store/a2k2iqavfsqdvgmk7jcmzxrwld9xh0c2-nixpkgs/nixpkgs/pkgs/stdenv/generic/make-derivation.nix:66:29:
65| */
66| mkDerivation = fnOrAttrs: makeDerivationExtensible (toFunction fnOrAttrs);
| ^
67|
… while calling 'makeDerivationExtensible'
at /nix/store/a2k2iqavfsqdvgmk7jcmzxrwld9xh0c2-nixpkgs/nixpkgs/pkgs/stdenv/generic/make-derivation.nix:77:5:
76| makeDerivationExtensible =
77| rattrs:
| ^
78| let
… from call site
at /nix/store/a2k2iqavfsqdvgmk7jcmzxrwld9xh0c2-nixpkgs/nixpkgs/pkgs/stdenv/generic/make-derivation.nix:134:22:
133|
134| finalPackage = mkDerivationSimple overrideAttrs args;
| ^
135|
… while calling 'mkDerivationSimple'
at /nix/store/a2k2iqavfsqdvgmk7jcmzxrwld9xh0c2-nixpkgs/nixpkgs/pkgs/stdenv/generic/make-derivation.nix:681:5:
680| # * [package attributes]: https://nixos.org/manual/nix/stable/glossary#package-attribute-set
681| {
| ^
682|
… from call site
at /nix/store/a2k2iqavfsqdvgmk7jcmzxrwld9xh0c2-nixpkgs/nixpkgs/pkgs/stdenv/generic/make-derivation.nix:781:5:
780|
781| extendDerivation validity.handled (
| ^
782| {
… while calling 'extendDerivation'
at /nix/store/a2k2iqavfsqdvgmk7jcmzxrwld9xh0c2-nixpkgs/nixpkgs/lib/customisation.nix:383:26:
382| extendDerivation =
383| condition: passthru: drv:
| ^
384| let
… in the left operand of the update (//) operator
at /nix/store/a2k2iqavfsqdvgmk7jcmzxrwld9xh0c2-nixpkgs/nixpkgs/lib/customisation.nix:417:5:
416| commonAttrs
417| // {
| ^
418| drvPath =
… in the left operand of the update (//) operator
at /nix/store/a2k2iqavfsqdvgmk7jcmzxrwld9xh0c2-nixpkgs/nixpkgs/lib/customisation.nix:388:13:
387| commonAttrs =
388| drv // (listToAttrs outputsList) // ({ all = map (x: x.value) outputsList; }) // passthru;
| ^
389|
… from call site
at /nix/store/a2k2iqavfsqdvgmk7jcmzxrwld9xh0c2-nixpkgs/nixpkgs/pkgs/stdenv/generic/make-derivation.nix:853:8:
852| passthru
853| ) (derivation (derivationArg // optionalAttrs envIsExportable checkedEnv));
| ^
854|
… while calling anonymous lambda
at <nix/derivation-internal.nix>:30:1:
29| */
30| drvAttrs@{
| ^
31| outputs ? [ "out" ],
… while calling the 'head' builtin
at <nix/derivation-internal.nix>:60:2:
59| in
60| (builtins.head outputsList).value
| ^
61|
… while calling the 'map' builtin
at <nix/derivation-internal.nix>:57:17:
56|
57| outputsList = map outputToAttrListElement outputs;
| ^
58|
… from call site
at /nix/store/a2k2iqavfsqdvgmk7jcmzxrwld9xh0c2-nixpkgs/nixpkgs/pkgs/development/interpreters/python/mk-python-derivation.nix:397:28:
396|
397| outputs = outputs ++ optional withDistOutput "dist";
| ^
398|
… while calling 'optional'
at /nix/store/a2k2iqavfsqdvgmk7jcmzxrwld9xh0c2-nixpkgs/nixpkgs/lib/lists.nix:777:20:
776| */
777| optional = cond: elem: if cond then [ elem ] else [ ];
| ^
778|
… while evaluating a branch condition
at /nix/store/a2k2iqavfsqdvgmk7jcmzxrwld9xh0c2-nixpkgs/nixpkgs/lib/lists.nix:777:26:
776| */
777| optional = cond: elem: if cond then [ elem ] else [ ];
| ^
778|
… from call site
at /nix/store/a2k2iqavfsqdvgmk7jcmzxrwld9xh0c2-nixpkgs/nixpkgs/pkgs/development/interpreters/python/mk-python-derivation.nix:216:24:
215|
216| withDistOutput = withDistOutput' format';
| ^
217|
… while calling 'flip'
at /nix/store/a2k2iqavfsqdvgmk7jcmzxrwld9xh0c2-nixpkgs/nixpkgs/lib/trivial.nix:306:11:
305| flip =
306| f: a: b:
| ^
307| f b a;
… while calling the 'elem' builtin
at /nix/store/a2k2iqavfsqdvgmk7jcmzxrwld9xh0c2-nixpkgs/nixpkgs/lib/trivial.nix:307:5:
306| f: a: b:
307| f b a;
| ^
308|
… while calling the 'throw' builtin
at /nix/store/a2k2iqavfsqdvgmk7jcmzxrwld9xh0c2-nixpkgs/nixpkgs/pkgs/development/interpreters/python/mk-python-derivation.nix:214:11:
213| else
214| throw "${name} does not configure a `format`. To build with setuptools as before, set `pyproject = true` and `build-system = [ setuptools ]`.`";
| ^
215|
error: python3.13-tockloader-1.10.0 does not configure a `format`. To build with setuptools as before, set `pyproject = true` and `build-system = [ setuptools ]`.`
Metadata
Metadata
Assignees
Labels
No labels