Closed IliHanSoLow closed 6 months ago
I had the same issue under Debian unstable, it was caused by an too old version of hyprland being installed See also https://github.com/outfoxxed/hy3/issues/89 which describes the files moving
A git pull and build of the latest Hyperland did however cause another issue due to and change in API in Hyprland See: https://github.com/outfoxxed/hy3/issues/94
If I understood correctly,
hyprland.url = "github:hyprwm/Hyprland";
should set the hyprland source to the github version, what shoud be up to date. Also is the Package in Home-Magager set to inputs.hyprland, what should be the above declared version.
I unfortunately have no experience with building Nix packages.
I just build hy3 using my old hyprland install and had the same issue as you, and pull'ing my hyprland build, rebuilding and installing it fixed it, as it made the hy3 code align with the hyprland code.
Anyway I'm 99% sure you current build issue is caused by it being build against/using an too old version of hyprland
Ok, I had some fundermental issues understanding the way to upgrade nixos.
The flake.lock preserves the versions for consistency and adding the --upgrade flag on nixos-rebuild doesnt change the flack.lock. So I had to run nix flake update
to update my system.
Anyway you were right and thanks for beeing that persistent. I wouldn't have recognized my mistake otherwise.
Should I open a new Issue regarding the new error I get now?
> [6/7] Building CXX object CMakeFiles/hy3.dir/src/Hy3Node.cpp.o
> /build/vij9pxlfscvr8ydkkfb59kmd6w1a1xrm-source/src/Hy3Node.cpp: In member function 'void Hy3Node::recalcSizePosRecursive(bool)':
> /build/vij9pxlfscvr8ydkkfb59kmd6w1a1xrm-source/src/Hy3Node.cpp:352:72: warning: 'constraint' may be used uninitialized [-Wmaybe-uninitialized]
> 352 | group->layout != Hy3GroupLayout::Tabbed ? child_count <= 0 ? 0 : constraint / child_count : 0;
> | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> /build/vij9pxlfscvr8ydkkfb59kmd6w1a1xrm-source/src/Hy3Node.cpp:333:16: note: 'constraint' was declared here
> 333 | double constraint;
> | ^~~~~~~~~~
I am gonna close this Issue now because the initial problem is fixed.
Hello. This is most likely a me issue, but I can't access the header files, so the build fails. I am on NixOS. To fix this Issue I already tried to add hyprland to the
pkgs
additionally toprograms.hyprland.enable
. I somehow need to install the hyperland header files, but I don't know how.My config:
in home-manager file
In flake.nix
Short Log (last 10 lines):
Full Log: