Building docs broken on mac #1109

Open
opened 2023-06-14 18:08:40 +02:00 by dsalaza4 · 5 comments
dsalaza4 commented 2023-06-14 18:08:40 +02:00 (Migrated from github.com)
$ 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.
``` $ 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. ```
rohaquinlop commented 2023-06-14 18:52:12 +02:00 (Migrated from github.com)

I got several errors running this command on my pc

I got several errors running this command on my pc
dsalaza4 commented 2023-06-14 19:31:14 +02:00 (Migrated from github.com)

I got several errors running this command on my pc

Can you please share the output for debugging?

> I got several errors running this command on my pc Can you please share the output for debugging?
rohaquinlop commented 2023-06-14 19:43:21 +02:00 (Migrated from github.com)

                                    🦄 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 ──────────────────────────
```bash 🦄 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 ────────────────────────── ```
dsalaza4 commented 2023-06-14 19:49:03 +02:00 (Migrated from github.com)

It's the same error. I see you're on darwin too. I'll try to get this fixed soon. Thanks!

It's the same error. I see you're on darwin too. I'll try to get this fixed soon. Thanks!
rohaquinlop commented 2023-06-14 20:53:07 +02:00 (Migrated from github.com)

You're welcome, if you need something else, you can ask me.

You're welcome, if you need something else, you can ask me.
This discussion has been locked. Commenting is limited to contributors.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
justin/makes#1109
No description provided.