You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using Nixvim on Asahi linux (Apple M2). here is my lua init script (output by nixvim-print-init).
Actual behavior
When trying to load Neorg on Asahi linux, I get the following error message:
Error detected while processing /nix/store/r5lwccbh9082r5mc16baxwxanwylirls-init.lua:
E5113: Error while calling lua chunk: ...pack/myNeovimPackages/start/neorg/lua/neorg/core/log.lua:102: a
ttempt to compare number with nil
stack traceback:
...pack/myNeovimPackages/start/neorg/lua/neorg/core/log.lua:102: in function 'info'
.../myNeovimPackages/start/neorg/lua/neorg/core/modules.lua:228: in function 'load_module'
...dir/pack/myNeovimPackages/start/neorg/lua/neorg/init.lua:100: in function 'org_file_entered'
...dir/pack/myNeovimPackages/start/neorg/lua/neorg/init.lua:45: in function 'setup'
/nix/store/r5lwccbh9082r5mc16baxwxanwylirls-init.lua:598: in main chunk
Expected behavior
Neorg successfully loads
Steps to reproduce
Attempt to load neorg on Asahi linux. If you use NixVim, a complete reproducible config is available here.
Potentially conflicting plugins
None that I can think of
Other information
Nix (and NixVim) allow completely reproducible builds. My exact config has been confirmed to work on x86-64, so this bug only reproduces on Asahi linux. It may reproduce on other ARM hardware, with or without 16k pages (I do not have any on hand that I can use to test).
Help
No
Implementation help
No response
The text was updated successfully, but these errors were encountered:
waltmck
added
the
bug
Issues related to bugs. Please attach a severity, a priority and category with this label.
label
Dec 10, 2024
waltmck
changed the title
Neovim fails to load on Asahi linux
Neorg fails to load on Asahi linux
Dec 10, 2024
would be helpful if you included some of the contents of the files that the stack trace tells you about
.../myNeovimPackages/start/neorg/lua/neorg/core/modules.lua:228: in function 'load_module' in particular is suspicious b/c that line is not in the load_module function (anymore, presumably it was at some point).
Prerequisites
Neovim Version
NVIM v0.10.2
Neorg setup
I am using Nixvim on Asahi linux (Apple M2). here is my lua init script (output by
nixvim-print-init
).Actual behavior
When trying to load Neorg on Asahi linux, I get the following error message:
Expected behavior
Neorg successfully loads
Steps to reproduce
Attempt to load
neorg
on Asahi linux. If you use NixVim, a complete reproducible config is available here.Potentially conflicting plugins
None that I can think of
Other information
Nix (and NixVim) allow completely reproducible builds. My exact config has been confirmed to work on x86-64, so this bug only reproduces on Asahi linux. It may reproduce on other ARM hardware, with or without 16k pages (I do not have any on hand that I can use to test).
Help
No
Implementation help
No response
The text was updated successfully, but these errors were encountered: