-
-
Notifications
You must be signed in to change notification settings - Fork 15k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
glsl_analyzer: init at 1.4.5 #295076
glsl_analyzer: init at 1.4.5 #295076
Conversation
It seems that the Darwin build failed with |
Zig in nixpkgs fails to build on aarch64-darwin with exactly that error when the sandbox is enabled. I found this locally in an unrelated setting and disabling the sandbox fixed it. |
1 similar comment
Zig in nixpkgs fails to build on aarch64-darwin with exactly that error when the sandbox is enabled. I found this locally in an unrelated setting and disabling the sandbox fixed it. |
So is there any way to fix this for the package? I got that error from OFBorg. I would assume that the Hydra would have the same error when building the package for Darwin. |
I didn't figure out what the fix might be, sorry, and didn't keep the error around long enough to file a primary bug against the |
It seems the same issue was happening to |
Zig 12 was recently released, but it makes sense to still use Zig 11 because using Zig 12 requires more patching than Zig 11. |
Upstream now compiles with Zig 12 (nolanderc/glsl_analyzer#56). I've just updated the package to use that instead of my Zig 11 patch. I also rebased. |
Could we add something like
|
leaveDotGit is potentially not deterministic so we'd better avoid it |
Good to know. I've just applied your suggestion, and Thanks |
I also realized that the commit description was no-longer accurate. I just removed it. |
A new version was just released. It makes sense to just use that instead. |
Result of 1 package built:
|
Description of changes
Created a package for glsl_analyzer. This is a language server for the OpenGL Shading Language. Currently the only other GLSL language server on Nix is glslls, but it's slightly buggy and has worse descriptions compared to glsl_analyzer.
I've been using this package for a while, it seems to fully work.
Things done
nix.conf
? (See Nix manual)sandbox = relaxed
sandbox = true
nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)Add a 👍 reaction to pull requests you find important.