Closed wikiker closed 1 week ago
@fufexan for nix. Generally looks like mismatched headers
No clue, try updating all of hyprland's inputs.
Hi I was wondering if the OP had any luck with this? I am getting what looks like the same error. Hyprland plugins will not compile, could anybody help? Should I be installing the headers or would they get installed by the system? I did get hyprexpo to compile but it wouldn't start because of a mismatch between version and headers. now it won't compile. building '/nix/store/z5fcv6xfxc8rm08iq6van5yqgnic4j1l-hyprexpo-0.1.drv'...
error: builder for '/nix/store/z5fcv6xfxc8rm08iq6van5yqgnic4j1l-hyprexpo-0.1.drv' failed with exit code 1; last 10 log lines:
../main.cpp:193:17: warning: unused variable 'P2' [-Wunused-variable] 193 | static auto P2 = HyprlandAPI::registerCallbackDynamic(PHANDLE, "swipeBegin", [](void self, SCallbackInfo& info, std::any data) { swipeBegin(self, info, data); }); | ^~ ../main.cpp:194:17: warning: unused variable 'P3' [-Wunused-variable] 194 | static auto P3 = HyprlandAPI::registerCallbackDynamic(PHANDLE, "swipeEnd", [](void self, SCallbackInfo& info, std::any data) { swipeEnd(self, info, data); }); | ^~ ../main.cpp:195:17: warning: unused variable 'P4' [-Wunused-variable] 195 | static auto P4 = HyprlandAPI::registerCallbackDynamic(PHANDLE, "swipeUpdate", [](void* self, SCallbackInfo& info, std::any data) { swipeUpdate(self, info, data); }); | ^~ ninja: build stopped: subcommand failed.
any ideas?
cheers
This was probably fixed. Also, hyprland-plugins are now in Nixpkgs https://github.com/NixOS/nixpkgs/pull/321575.
Similar issue to #158.
I need to pin Hyprland version 0.39.1, because of the Hyprspace plugin (see the issue). I think due to this hyprbars won't build, resulting in this error:
The flake inputs setup looks like this:
Is there problem in version mismatch as well?