ryan4yin / nixos-and-flakes-book

:hammer_and_wrench: :heart: Want to know NixOS & Flakes in detail? Looking for a beginner-friendly tutorial? Then you've come to the right place! 想要学习使用 NixOS 与 Flakes 吗?在寻找一份新手友好的教程?那你可来对地方了!

Home Page:https://nixos-and-flakes.thiscute.world

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

helix flake problems ... tree-sitter ... returned error 403

triklsbg opened this issue · comments

`
sudo nixos-rebuild switch --flake .#nixos-test

Schwerwiegend: konnte nicht auf https://git.sr.ht/~sfr/tree-sitter-gemini/ zugreifen: The requested URL returned error: 403
error:
… while calling the 'head' builtin

     at /nix/store/4fgs7yzsy2dqnjw8j42qlp9i1vgarzy0-source/lib/attrsets.nix:936:11:

      935|         || pred here (elemAt values 1) (head values) then
      936|           head values
         |           ^
      937|         else

   … while evaluating the attribute 'value'

     at /nix/store/4fgs7yzsy2dqnjw8j42qlp9i1vgarzy0-source/lib/modules.nix:809:9:

      808|     in warnDeprecation opt //
      809|       { value = builtins.addErrorContext "while evaluating the option `${showOption loc}':" value;
         |         ^
      810|         inherit (res.defsFinal') highestPrio;

   (stack trace truncated; use '--show-trace' to show the full trace)

   error: program 'git' failed with exit code 128

`

Related to helix-editor/helix#8933, switching to the master branch of helix can solve this problem, or wait for the next version of helix to be released.

Fix by 40b5fc0