makes
makes copied to clipboard
Building docs broken on mac
$ m . /docs/dev
...
error: Package βpython3.8-watchdog-2.1.2β in /nix/store/kapfg8wxbnxrd74l75j03jj3l7qv2vcw-source/pkgs/development/python-modules/watchdog/default.nix:46 is marked as broken, refusing to evaluate.
I got several errors running this command on my pc
I got several errors running this command on my pc
Can you please share the output for debugging?
π¦ Makes
v23.06-darwin
ββββββββββββββββββββββββββββββββββ Fetching . ββββββββββββββββββββββββββββββββββ
Preparing worktree (detached HEAD de36dbf)
HEAD is now at de36dbf feat(build): #1099 licensing builtin with reuse
/var/folders/md/wydgtw3x7hg1gqnxly1v7nyr0000gn/T/makes-zhyf8b5s
ββββββββββββββββββββββββ Building project configuration ββββββββββββββββββββββββ
/nix/store/bl06mcy62wa3a955x5iv2jkfn565bbh8-config.json
ββββββββββββββββββββββββββββββ Building /docs/dev ββββββββββββββββββββββββββββββ
warning: ignoring untrusted substituter 'https://makes.cachix.org', you are not a trusted user.
Run `man nix.conf` for more information on the `substituters` configuration option.
error:
β¦ while evaluating the attribute 'envEntrypointSetup' of the derivation 'docs-dev'
at /nix/store/iz7zycjdinl5sld7dm95y2gcbnjgcl2p-makes-zhyf8b5s/src/args/make-derivation/default.nix:92:7:
91| builder = "${__nixpkgs__.bash}/bin/bash";
92| name = toDerivationName name;
| ^
93| outputs = ["out"];
β¦ while evaluating the attribute '__argSearchPaths__' of the derivation 'make-template-for-make-script-for-docs-dev'
at /nix/store/iz7zycjdinl5sld7dm95y2gcbnjgcl2p-makes-zhyf8b5s/src/args/make-derivation/default.nix:92:7:
91| builder = "${__nixpkgs__.bash}/bin/bash";
92| name = toDerivationName name;
| ^
93| outputs = ["out"];
β¦ while evaluating the attribute '__envTemplate' of the derivation 'make-template-for-make-search-paths'
at /nix/store/iz7zycjdinl5sld7dm95y2gcbnjgcl2p-makes-zhyf8b5s/src/args/make-derivation/default.nix:92:7:
91| builder = "${__nixpkgs__.bash}/bin/bash";
92| name = toDerivationName name;
| ^
93| outputs = ["out"];
β¦ while evaluating call site
at Β«noneΒ»:0: (source not available)
β¦ while calling anonymous lambda
at /nix/store/iz7zycjdinl5sld7dm95y2gcbnjgcl2p-makes-zhyf8b5s/src/args/make-derivation/default.nix:27:9:
26| builtins.mapAttrs
27| (k: v: (
| ^
28| if (hasPrefix "__" k) || (hasPrefix "env" k)
β¦ while evaluating call site
at /nix/store/iz7zycjdinl5sld7dm95y2gcbnjgcl2p-makes-zhyf8b5s/src/args/make-template/default.nix:69:16:
68| if searchPaths == {}
69| then asContent template
| ^
70| else ''
β¦ while calling anonymous lambda
at /nix/store/iz7zycjdinl5sld7dm95y2gcbnjgcl2p-makes-zhyf8b5s/src/args/as-content/default.nix:1:1:
1| expr:
| ^
2| if builtins.isPath expr
β¦ while evaluating call site
at Β«noneΒ»:0: (source not available)
β¦ while calling 'makeSource'
at /nix/store/iz7zycjdinl5sld7dm95y2gcbnjgcl2p-makes-zhyf8b5s/src/args/make-search-paths/default.nix:39:16:
38| else "export ${envVar}=\"${envDrv}${envPath}\"";
39| makeSource = envDrv: let
| ^
40| type = builtins.typeOf envDrv;
β¦ while evaluating the attribute '__envTemplate' of the derivation 'make-template-for-make-search-paths'
at /nix/store/iz7zycjdinl5sld7dm95y2gcbnjgcl2p-makes-zhyf8b5s/src/args/make-derivation/default.nix:92:7:
91| builder = "${__nixpkgs__.bash}/bin/bash";
92| name = toDerivationName name;
| ^
93| outputs = ["out"];
β¦ while evaluating call site
at Β«noneΒ»:0: (source not available)
β¦ while calling anonymous lambda
at /nix/store/iz7zycjdinl5sld7dm95y2gcbnjgcl2p-makes-zhyf8b5s/src/args/make-derivation/default.nix:27:9:
26| builtins.mapAttrs
27| (k: v: (
| ^
28| if (hasPrefix "__" k) || (hasPrefix "env" k)
β¦ while evaluating call site
at /nix/store/iz7zycjdinl5sld7dm95y2gcbnjgcl2p-makes-zhyf8b5s/src/args/make-template/default.nix:69:16:
68| if searchPaths == {}
69| then asContent template
| ^
70| else ''
β¦ while calling anonymous lambda
at /nix/store/iz7zycjdinl5sld7dm95y2gcbnjgcl2p-makes-zhyf8b5s/src/args/as-content/default.nix:1:1:
1| expr:
| ^
2| if builtins.isPath expr
β¦ while evaluating call site
at Β«noneΒ»:0: (source not available)
β¦ while calling 'makeExport'
at /nix/store/iz7zycjdinl5sld7dm95y2gcbnjgcl2p-makes-zhyf8b5s/src/args/make-search-paths/default.nix:35:33:
34| }: let
35| makeExport = envVar: envPath: envDrv:
| ^
36| if append
β¦ while evaluating the attribute 'outPath'
at /nix/store/kapfg8wxbnxrd74l75j03jj3l7qv2vcw-source/lib/customisation.nix:164:7:
163| drvPath = assert condition; drv.drvPath;
164| outPath = assert condition; drv.outPath;
| ^
165| };
β¦ while evaluating the attribute 'propagatedBuildInputs' of the derivation 'mkdocs-1.2.1'
at /nix/store/kapfg8wxbnxrd74l75j03jj3l7qv2vcw-source/pkgs/stdenv/generic/make-derivation.nix:203:11:
202| // (lib.optionalAttrs (attrs ? name || (attrs ? pname && attrs ? version)) {
203| name =
| ^
204| let
β¦ while evaluating the attribute 'out.outPath'
at /nix/store/kapfg8wxbnxrd74l75j03jj3l7qv2vcw-source/lib/customisation.nix:156:13:
155| drvPath = assert condition; drv.${outputName}.drvPath;
156| outPath = assert condition; drv.${outputName}.outPath;
| ^
157| };
β¦ while evaluating the attribute 'handled'
at /nix/store/kapfg8wxbnxrd74l75j03jj3l7qv2vcw-source/pkgs/stdenv/generic/check-meta.nix:301:7:
300| # Throw an error if trying to evaluate an non-valid derivation
301| handled = if !validity.valid
| ^
302| then handleEvalIssue { inherit meta attrs; } { inherit (validity) reason errormsg; }
β¦ while evaluating call site
at /nix/store/kapfg8wxbnxrd74l75j03jj3l7qv2vcw-source/pkgs/stdenv/generic/check-meta.nix:302:14:
301| handled = if !validity.valid
302| then handleEvalIssue { inherit meta attrs; } { inherit (validity) reason errormsg; }
| ^
303| else true;
β¦ while calling 'handleEvalIssue'
at /nix/store/kapfg8wxbnxrd74l75j03jj3l7qv2vcw-source/pkgs/stdenv/generic/check-meta.nix:188:38:
187|
188| handleEvalIssue = { meta, attrs }: { reason , errormsg ? "" }:
| ^
189| let
error: Package βpython3.8-watchdog-2.1.2β in /nix/store/kapfg8wxbnxrd74l75j03jj3l7qv2vcw-source/pkgs/development/python-modules/watchdog/default.nix:46 is marked as broken, refusing to evaluate.
a) To temporarily allow broken packages, you can use an environment variable
for a single invocation of the nix tools.
$ export NIXPKGS_ALLOW_BROKEN=1
b) For `nixos-rebuild` you can set
{ nixpkgs.config.allowBroken = true; }
in configuration.nix to override this.
c) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
{ allowBroken = true; }
to ~/.config/nixpkgs/config.nix.
ββββββββββββββββββββββββββ π Failed with exit code 1 ββββββββββββββββββββββββββ
It's the same error. I see you're on darwin too. I'll try to get this fixed soon. Thanks!
You're welcome, if you need something else, you can ask me.