Closed JohnRTitor closed 4 months ago
How am I supposed to report this error then? Shouldn't the nix package be fixed instead?
Edit: can you confirm pyprland works as expected?
Yes. pyprland works as expected. This is likely a regression from 2.2.12 after which the version check is added. I can confirm it works on 2.2.5.
And I am using pyprland from this repository's flake (built from this commit), not from nixpkgs.
So you confirm there is no issue in pyprland, but rather in the Hyprland package you are using. Please install a non-broken Hyprland package which doesn't create invalid JSON.
Indeed, it seems so, checking hyprctl version -j
shows
{
"branch": "",
"commit": "b164e67d8b1f12420ec44a1c837af7923559ccf2",
"dirty": false,
"commit_message": "",
"commit_date": "2024-04-28",
"tag": "",
"commits": @COMMITS@,
"flags": []
}
This is what causing the errors.
"commits": @COMMITS@,
You can try to report a bug to the packager... but I don't want to hide such big problem when found...
Pyprland version 2.2.14-10
Describe the bug pyprland shows invalid json data error when launched at startup.
To Reproduce
pypr
at startup using exec-once=pyprExpected behavior No error.
Configuration (provide following files/samples when relevant):
Additional context OS: NixOS I am using the flake to get the git version.