We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
本项目
nix-config/home/base/tui/editors/packages.nix
Line 18 in 21d85d4
我的配置 https://github.com/shelken/nix-config/blob/c6269a6919fc378ed4854fa72b4da1b2ddbbf0b8/home/apps/neovim/packages.nix#L7
虽然我跟您的配置不完全一致,但是在只引入该包的情况下,在我的电脑上(darwin),直接运行 go run . 发现以下错误:
go run .
# runtime/cgo cgo-builtin-prolog:1:10: fatal error: 'stddef.h' file not found #include <stddef.h> ^~~~~~~~~~ 1 error generated
去掉就正常了。不知道你是否能复现?
The text was updated successfully, but these errors were encountered:
+1 成功复现...
Sorry, something went wrong.
有可能是 unstable 的 clang 有不兼容变更,然后我 darwin 用的是 nixpkgs-23.11-darwin 不是 unstable 从而导致问题。 但 unstable + darwin 坏掉的东西太多了,只能先注释掉,然后等 24.05 发布后再试试了
大概是因为llvmPackages.clang-unwrapped,并且clang-unwrapped把原本的cc覆盖掉了,导致编译时找不到include path,可以换用clang-tools
llvmPackages.clang-unwrapped
clang-unwrapped
clang-tools
@imxyy1soope1 嗯应该是这样
No branches or pull requests
本项目
nix-config/home/base/tui/editors/packages.nix
Line 18 in 21d85d4
我的配置
https://github.com/shelken/nix-config/blob/c6269a6919fc378ed4854fa72b4da1b2ddbbf0b8/home/apps/neovim/packages.nix#L7
虽然我跟您的配置不完全一致,但是在只引入该包的情况下,在我的电脑上(darwin),直接运行
go run .
发现以下错误:去掉就正常了。不知道你是否能复现?
The text was updated successfully, but these errors were encountered: