Skip to content

nur bot failed to read json #1020

@mio-19

Description

@mio-19

nur bot failed to read json. it builds locally on my machine fine

https://github.com/mio-19/nurpkgs/tree/aa7b5b56591f32853cf3f7f660884bc133cfc507/pkgs/nss-git

bot log


2025-11-08T03:36:38.9818021Z error:
2025-11-08T03:36:38.9819160Z        … while evaluating the attribute 'nss_git'
2025-11-08T03:36:38.9820220Z          at /nix/store/cyc3v85pql7flrz4brh11cwc60gmn4rh-source/default.nix:298:3:
2025-11-08T03:36:38.9821362Z           297|   firefox_nightly = (pkgs.wrapFirefox firefox-unwrapped_nightly { });
2025-11-08T03:36:38.9822300Z           298|   nss_git = callOverride ./pkgs/nss-git { };
2025-11-08T03:36:38.9823018Z              |   ^
2025-11-08T03:36:38.9823555Z           299|   /*
2025-11-08T03:36:38.9823921Z 
2025-11-08T03:36:38.9824437Z        … while evaluating the 'name' attribute of a derivation
2025-11-08T03:36:38.9825023Z 
2025-11-08T03:36:38.9825567Z        … from call site
2025-11-08T03:36:38.9826910Z          at /nix/store/02w304s0zwflglw4pw1hjzw8fxmm1s8w-source/pkgs/stdenv/generic/make-derivation.nix:560:15:
2025-11-08T03:36:38.9833523Z           559|               in
2025-11-08T03:36:38.9834062Z           560|               lib.strings.sanitizeDerivationName (
2025-11-08T03:36:38.9834632Z              |               ^
2025-11-08T03:36:38.9835271Z           561|                 if attrs ? name then
2025-11-08T03:36:38.9835614Z 
2025-11-08T03:36:38.9836935Z        … while calling anonymous lambda
2025-11-08T03:36:38.9838638Z          at /nix/store/02w304s0zwflglw4pw1hjzw8fxmm1s8w-source/lib/strings.nix:2880:5:
2025-11-08T03:36:38.9840299Z          2879|     in
2025-11-08T03:36:38.9841652Z          2880|     string:
2025-11-08T03:36:38.9843069Z              |     ^
2025-11-08T03:36:38.9844709Z          2881|     # First detect the common case of already valid strings, to speed those up
2025-11-08T03:36:38.9845634Z 
2025-11-08T03:36:38.9846042Z        … while evaluating a branch condition
2025-11-08T03:36:38.9846984Z          at /nix/store/02w304s0zwflglw4pw1hjzw8fxmm1s8w-source/lib/strings.nix:2882:5:
2025-11-08T03:36:38.9848128Z          2881|     # First detect the common case of already valid strings, to speed those up
2025-11-08T03:36:38.9849586Z          2882|     if stringLength string <= 207 && okRegex string != null then
2025-11-08T03:36:38.9851544Z              |     ^
2025-11-08T03:36:38.9852515Z          2883|       unsafeDiscardStringContext string
2025-11-08T03:36:38.9854360Z 
2025-11-08T03:36:38.9856170Z        … in the left operand of the AND (&&) operator
2025-11-08T03:36:38.9858018Z          at /nix/store/02w304s0zwflglw4pw1hjzw8fxmm1s8w-source/lib/strings.nix:2882:35:
2025-11-08T03:36:38.9859967Z          2881|     # First detect the common case of already valid strings, to speed those up
2025-11-08T03:36:38.9861420Z          2882|     if stringLength string <= 207 && okRegex string != null then
2025-11-08T03:36:38.9862219Z              |                                   ^
2025-11-08T03:36:38.9862896Z          2883|       unsafeDiscardStringContext string
2025-11-08T03:36:38.9863398Z 
2025-11-08T03:36:38.9863798Z        … in the argument of the not operator
2025-11-08T03:36:38.9864684Z          at /nix/store/02w304s0zwflglw4pw1hjzw8fxmm1s8w-source/lib/strings.nix:2882:28:
2025-11-08T03:36:38.9865992Z          2881|     # First detect the common case of already valid strings, to speed those up
2025-11-08T03:36:38.9867240Z          2882|     if stringLength string <= 207 && okRegex string != null then
2025-11-08T03:36:38.9868041Z              |                            ^
2025-11-08T03:36:38.9868747Z          2883|       unsafeDiscardStringContext string
2025-11-08T03:36:38.9869256Z 
2025-11-08T03:36:38.9869660Z        … while calling the 'lessThan' builtin
2025-11-08T03:36:38.9870584Z          at /nix/store/02w304s0zwflglw4pw1hjzw8fxmm1s8w-source/lib/strings.nix:2882:28:
2025-11-08T03:36:38.9871723Z          2881|     # First detect the common case of already valid strings, to speed those up
2025-11-08T03:36:38.9872719Z          2882|     if stringLength string <= 207 && okRegex string != null then
2025-11-08T03:36:38.9873518Z              |                            ^
2025-11-08T03:36:38.9874267Z          2883|       unsafeDiscardStringContext string
2025-11-08T03:36:38.9874768Z 
2025-11-08T03:36:38.9875399Z        … while calling the 'stringLength' builtin
2025-11-08T03:36:38.9876359Z          at /nix/store/02w304s0zwflglw4pw1hjzw8fxmm1s8w-source/lib/strings.nix:2882:8:
2025-11-08T03:36:38.9877469Z          2881|     # First detect the common case of already valid strings, to speed those up
2025-11-08T03:36:38.9879509Z          2882|     if stringLength string <= 207 && okRegex string != null then
2025-11-08T03:36:38.9880163Z              |        ^
2025-11-08T03:36:38.9880634Z          2883|       unsafeDiscardStringContext string
2025-11-08T03:36:38.9881006Z 
2025-11-08T03:36:38.9881317Z        … in the condition of the assert statement
2025-11-08T03:36:38.9882244Z          at /nix/store/02w304s0zwflglw4pw1hjzw8fxmm1s8w-source/pkgs/stdenv/generic/make-derivation.nix:565:19:
2025-11-08T03:36:38.9883328Z           564|                   # we cannot coerce null to a string below
2025-11-08T03:36:38.9883981Z           565|                   assert assertMsg (
2025-11-08T03:36:38.9884499Z              |                   ^
2025-11-08T03:36:38.9885210Z           566|                     attrs ? version && attrs.version != null
2025-11-08T03:36:38.9887013Z 
2025-11-08T03:36:38.9887283Z        … from call site
2025-11-08T03:36:38.9888175Z          at /nix/store/02w304s0zwflglw4pw1hjzw8fxmm1s8w-source/pkgs/stdenv/generic/make-derivation.nix:565:26:
2025-11-08T03:36:38.9889219Z           564|                   # we cannot coerce null to a string below
2025-11-08T03:36:38.9889840Z           565|                   assert assertMsg (
2025-11-08T03:36:38.9890386Z              |                          ^
2025-11-08T03:36:38.9890968Z           566|                     attrs ? version && attrs.version != null
2025-11-08T03:36:38.9891388Z 
2025-11-08T03:36:38.9891646Z        … while calling 'assertMsg'
2025-11-08T03:36:38.9892404Z          at /nix/store/02w304s0zwflglw4pw1hjzw8fxmm1s8w-source/lib/asserts.nix:50:21:
2025-11-08T03:36:38.9893258Z            49|   # TODO(Profpatsch): add tests that check stderr
2025-11-08T03:36:38.9893914Z            50|   assertMsg = pred: msg: pred || throw msg;
2025-11-08T03:36:38.9894501Z              |                     ^
2025-11-08T03:36:38.9894981Z            51|
2025-11-08T03:36:38.9895379Z 
2025-11-08T03:36:38.9895702Z        … in the left operand of the OR (||) operator
2025-11-08T03:36:38.9896734Z          at /nix/store/02w304s0zwflglw4pw1hjzw8fxmm1s8w-source/lib/asserts.nix:50:31:
2025-11-08T03:36:38.9897587Z            49|   # TODO(Profpatsch): add tests that check stderr
2025-11-08T03:36:38.9898235Z            50|   assertMsg = pred: msg: pred || throw msg;
2025-11-08T03:36:38.9898807Z              |                               ^
2025-11-08T03:36:38.9899327Z            51|
2025-11-08T03:36:38.9899563Z 
2025-11-08T03:36:38.9899890Z        … in the right operand of the AND (&&) operator
2025-11-08T03:36:38.9900898Z          at /nix/store/02w304s0zwflglw4pw1hjzw8fxmm1s8w-source/pkgs/stdenv/generic/make-derivation.nix:566:37:
2025-11-08T03:36:38.9901864Z           565|                   assert assertMsg (
2025-11-08T03:36:38.9902656Z           566|                     attrs ? version && attrs.version != null
2025-11-08T03:36:38.9903261Z              |                                     ^
2025-11-08T03:36:38.9903875Z           567|                   ) "The `version` attribute cannot be null.";
2025-11-08T03:36:38.9904289Z 
2025-11-08T03:36:38.9904596Z        … while evaluating the attribute 'version'
2025-11-08T03:36:38.9905654Z          at /nix/store/cyc3v85pql7flrz4brh11cwc60gmn4rh-source/shared/git-override.nix:79:13:
2025-11-08T03:36:38.9906483Z            78|             inherit src;
2025-11-08T03:36:38.9907147Z            79|             version = if version == null then current.version else version;
2025-11-08T03:36:38.9907811Z              |             ^
2025-11-08T03:36:38.9908277Z            80|             passthru =
2025-11-08T03:36:38.9908614Z 
2025-11-08T03:36:38.9908846Z        … from call site
2025-11-08T03:36:38.9909590Z          at /nix/store/cyc3v85pql7flrz4brh11cwc60gmn4rh-source/shared/git-override.nix:38:17:
2025-11-08T03:36:38.9910510Z            37|       versionLocalPath = "${nyx}/${versionNyxPath}";
2025-11-08T03:36:38.9911167Z            38|       current = importJSON versionLocalPath;
2025-11-08T03:36:38.9911730Z              |                 ^
2025-11-08T03:36:38.9912187Z            39|
2025-11-08T03:36:38.9912438Z 
2025-11-08T03:36:38.9912701Z        … while calling 'importJSON'
2025-11-08T03:36:38.9913465Z          at /nix/store/02w304s0zwflglw4pw1hjzw8fxmm1s8w-source/lib/trivial.nix:725:16:
2025-11-08T03:36:38.9914222Z           724|   */
2025-11-08T03:36:38.9914797Z           725|   importJSON = path: builtins.fromJSON (builtins.readFile path);
2025-11-08T03:36:38.9915880Z              |                ^
2025-11-08T03:36:38.9916505Z           726|
2025-11-08T03:36:38.9916853Z 
2025-11-08T03:36:38.9917165Z        … while calling the 'fromJSON' builtin
2025-11-08T03:36:38.9917924Z          at /nix/store/02w304s0zwflglw4pw1hjzw8fxmm1s8w-source/lib/trivial.nix:725:22:
2025-11-08T03:36:38.9918701Z           724|   */
2025-11-08T03:36:38.9919289Z           725|   importJSON = path: builtins.fromJSON (builtins.readFile path);
2025-11-08T03:36:38.9919976Z              |                      ^
2025-11-08T03:36:38.9920462Z           726|
2025-11-08T03:36:38.9920698Z 
2025-11-08T03:36:38.9921167Z        … while evaluating the first argument passed to builtins.fromJSON
2025-11-08T03:36:38.9921669Z 
2025-11-08T03:36:38.9921959Z        … while calling the 'readFile' builtin
2025-11-08T03:36:38.9922744Z          at /nix/store/02w304s0zwflglw4pw1hjzw8fxmm1s8w-source/lib/trivial.nix:725:41:
2025-11-08T03:36:38.9923496Z           724|   */
2025-11-08T03:36:38.9924075Z           725|   importJSON = path: builtins.fromJSON (builtins.readFile path);
2025-11-08T03:36:38.9924769Z              |                                         ^
2025-11-08T03:36:38.9925456Z           726|
2025-11-08T03:36:38.9925686Z 
2025-11-08T03:36:38.9926811Z        … while realising the context of path '/nix/store/39r4i18j34183mzgd006ifv2y7y136hb-cyc3v85pql7flrz4brh11cwc60gmn4rh-source/pkgs/nss-git/version.json'
2025-11-08T03:36:38.9927873Z 
2025-11-08T03:36:38.9928517Z        error: path '/nix/store/39r4i18j34183mzgd006ifv2y7y136hb-cyc3v85pql7flrz4brh11cwc60gmn4rh-source' is not valid
2025-11-08T03:36:39.0255766Z ERROR:nur.update:repository mio failed to evaluate: mio does not evaluate:
2025-11-08T03:36:39.0279366Z $ nix-env -f /home/runner/work/_temp/nix-shell-2828-3122291084/tmpa3b8oru7/default.nix -qa * --meta --xml --allowed-uris https://static.rust-lang.org --option restrict-eval true --option allow-import-from-derivation true --drv-path --show-trace -I nixpkgs=/nix/store/02w304s0zwflglw4pw1hjzw8fxmm1s8w-source -I /nix/store/cyc3v85pql7flrz4brh11cwc60gmn4rh-source -I /home/runner/work/_temp/nix-shell-2828-3122291084/tmpa3b8oru7/default.nix -I /home/runner/work/NUR/NUR/lib/evalRepo.nix

https://productionresultssa18.blob.core.windows.net/actions-results/dfa8fde9-15e7-4822-9d42-c56518efe737/workflow-job-run-a27e4bb4-87f1-58db-8a83-a22aef047a2e/logs/job/job-logs.txt?rsct=text%2Fplain&se=2025-11-08T03%3A56%3A39Z&sig=Bz8kkGjitRFugpWjqKTQSRlJgvUB4DrU6SNlF1M3C6E%3D&ske=2025-11-08T14%3A13%3A28Z&skoid=ca7593d4-ee42-46cd-af88-8b886a2f84eb&sks=b&skt=2025-11-08T02%3A13%3A28Z&sktid=398a6654-997b-47e9-b12b-9515b896b4de&skv=2025-11-05&sp=r&spr=https&sr=b&st=2025-11-08T03%3A46%3A34Z&sv=2025-11-05

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions