-
-
Notifications
You must be signed in to change notification settings - Fork 952
New issue
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
Build failure on nixos-rebuild #8973
Comments
Ive been trying hours to debug this myself for hours failed |
I encountered a similar error when trying to build hyprland on my system recently. I'm not familiar with how NixOS works, but is the version of hyprland-protocols it's building against fully up to date? Edit: And by "up to date" I mean the git version. |
It should be however for whatever reason meson picks up the old version |
Figured it out, had to override the hyprland package to use the git version of hyprland-protocols which for whatever reason despite being in the flake.nix isnt used for the package |
It already does. If you looked at the version and it said 0.4.0, that's because vaxry probably forgot to change the VERSION file before creating the release. Now I can't say why it would fail to build when rebuilding your system. Might be the way you use the module. Also I noticed you have this https://github.com/Tofixrs/dotfiles/blob/41a4b8978c0ee16f61ef6e48641514a9c21b6287/modules/core/common/system/os/display/wayland/wms/hyprland.nix#L14-L15 You can more easily just use |
If you look at the build log and then the nix store path date it did point to an older commit, so it was trying to use the old version
Oops, good to know! |
I was encountering the same problem on Arch, with build failing at hyprland-surface-v1 file. Reinstalled hyprutils-protocols-git and now hyprland is building correctly. |
Things work diffrently on nix so had to do it a difftent way |
Already reported ? *
Regression?
Definitely a regression - something broke after update (requires bisect)
System Info and Hyprland Version
System/Version info
Description
Tried to update my system, hyprland fails to build with erorr attached
Gotta mention that when i tried to just clone the repo and nix build . it build perfectly fine
How to reproduce
Attach not paste
Checklist of files to include below
hyprctl systeminfo -c
(always include)Additional info & File uploads
build_log.txt
The text was updated successfully, but these errors were encountered: