Repository navigation
hyprtoolkit fails to build — wayland-client.pc not found (missing wayland in buildInputs)
#17008
Replies: 1 comment
|
Someone notified me that the commit I used (which I have since removed to prevent confustion) in the above post was incorrect. I was trying to pin down the exact commit I have in my nix config for Hyprland, although for some reason I am not able to corroborate it on the remote, so I just got rid of it. If we need to hunt it down, please let me know! The useful and correct commit is 2d97719f85d8a570b2f872863007077780296b4f, but that is the specific revision for the hyprwm/hyprtoolkit repository. Please correct me if I am mistaken. Here is the commit chain: The bug lives in hyprwm/hyprtoolkit at commit 2d97719f85d8a570b2f872863007077780296b4f, in nix/default.nix, where wayland is missing from buildInputs. This is the revision pinned by the Hyprland flake's flake.lock (aed4830…), so it's what actually gets built. Here is an image of that particular string recorded in the lockfile, as I needed to validate that on THIS repository...
|

Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Hyprland version
0.57.2 (commit: "aed4830efce40190051a085653d7b297877e4068")
Is this a regression?
Yes, used to work on 0.55.0
What's the bug?
I was initially attempting to update dms (dux shell), which I expected to be an easy migration, but my llm had recommended a nixpkgs bump (which always gives me a mini heart attack because I know that I'll potentially run into a massive migration hiccup), and so I bumped my nixpkgs up to 0.57.2, and got to it. Massive number of small changes to packages, but then issues surfaced with hyprland. I attached a snippet of the log to the "attachments" input field in this bug report.
I had my llm diagnose this (using deepseek-v4-pro), and here is the verdict
In
hyprtoolkit/nix/default.nix, thebuildInputslistwayland-protocolsandwayland-scanner, but omitswaylanditself (the package that provideswayland-client.pc):I keep a "patches" directory in my nix config for including specific nix-overlays, so in order to fix this issue, I just patched the hyprtoolkit. Until this fix lands permanently, consumers can rebuild the Hyprland package set with an overlay that injects
waylandintohyprtoolkit:I confirmed that my build was successful after adding the patch.
Reproduction steps
Attachments
I acknowledge that:
I have searched all (open and closed) discussions and issues and my problem is not there.
I have read the Code of Conduct and agree to follow it.
I wrote this request with my own hands, my own keyboard, and in my own words.
All reactions