I am quite new to Nix, I am trying to set up a server with the same software I have installed previously with OpenSUSE. One of these programs is gmrender-resurrect. But it looks like the build has started to break. When I tried to install it, it attempts to build it and it fails with an error message, a header file that can’t be found. It seems this must be because some dependency has changed, most likely libupnp I think since the package itself is not changed recently
Then I thought I could check in Hydra, and the same thing has started to happen there.
Since I am quite new with NixOS, not sure what I should do here. Report a defect on Github? Or is the fix so obvious that I can try to do it myself?
Looking at the build log, one difference is in the build flags:
Looking at the relevant update libupnp: 1.14.12 -> 1.14.13 by r-ryantm · Pull Request #185253 · NixOS/nixpkgs · GitHub, the header was removed in Bakported all cmake fixes. · pupnp/pupnp@4dcfdba · GitHub. Maybe try reporting it as a bug to pupnp and either revert #185253 in Nixpkgs, or use gmrender-resurrect from older Nixpkgs revision.
Thank you for good analysis and suggestions!
My experience is that getting enough approvers or the attention of people who can merge is slowing down reviews. So make sure to review and approve the change if possible (the button on the top right in gmrender-resurrect: 0.0.9 -> 0.1 by hzeller · Pull Request #192664 · NixOS/nixpkgs · GitHub ).
Or if that is not possible, leave at least a LGTM s a comment.
I am happy to test it and leave a comment, just need to figure out how to install it, not familiar with testing PRs yet.
I think you mostly need to check out
nixpkgs from github, then apply locally https://patch-diff.githubusercontent.com/raw/NixOS/nixpkgs/pull/192664.diff
Then in the nixpkgs directory
nix-build -A gmrender-resurrect should build things cleanly. The final binary will be in
Thanks for the instructions. I have now tested and it builds and runs so I added a comment to the PR. Who is able to approve?