luaPackages.luaossl: mark broken for lua 5.5#517070
Conversation
This comment was marked as outdated.
This comment was marked as outdated.
|
I feel the knot-resolver problems are unrelated here: |
|
I would rather mark it as broken for 5.5 rather than fixing the package ourselves. You can still submit the patch upstream if you dont want to get it lost |
It's actually taken from an upstream pull request: wahern/luaossl#221 |
|
upstream request was not merged and seems to be from external contributor. If the library doesn't support 5.5 it's not our responsibility to add support for it the same way that if there is a bug in the library we dont have to fix it. Please just mark it as broken and it makes things easier for everyone. If someone wants to have 5.5 support he can apply the patch. |
|
Well, I completely agree with you that marking it as broken is easier for us to maintain. But since this patch is external, I think conceptually it's the same thing as toggling a On the other hand, if you look closer to the patch it's just updating the list of supported lua versions to support lua 5.5. From my point of view it's no difference from the cmake/boost patches we do and much more benign than the newer-gcc-version patches where we usually have to touch code. Every major distro does this and if we really disallow such practice I guess we would throw thousands of packages out of nixpkgs. Even if we only talk about lua packages there is an existing patch So I feel you are applying a different standard here. Could you elaborate a bit more about the reasoning? No offense. I'm perfectly ok with whatever resolution this comes out. I just want to be clear about the policy (or lack of). |
cmake/boost patches allow a program to build with the caveats of nixpkgs, without those you can't package the software. What does the maintainer do when someone opens up a bug report against lua 5.5 and the maintainer mentions: "How could you make it work, my program isn't compatible with 5.5 yet ? I am using nixpkgs". Then it gives nixpkgs bad press for modifying upstream programs. It's not because luarocks can install the program that it works correctly. I dont have the expertise nor the time to check nor the responsibility to check a program works in conditions it's not supposed to work (yet) in the first place. |
Great. I think this makes the most sense for me. The cmake/boost patches I mentioned are for patching the packages to support newer versions of the respective packages. For example, the most CMake 4 patches we do is to change the The problem is much worse for python packages, looking at all these patches, dependency-loosening tricks and test-skips we do. Can anyone guarantee such patching won't backfire? Like lua there isn't a reliable way to test. I bet even the upstream maintainer don't know, unless after they change their dev environment to the newer version.
While I agree with your stance, for pragmatical reasons I think it's really broken everywhere in nixpkgs (and every major distro). Anyway since I'm a passerby here I shouldn't pass any unwanted maintenance burden to you. Thank you for your time in explaining to me and I will do what you suggested. |
|
Done. Just a side note I did test the patch with some simple programs so while I can't guarantee it to be flawless it should at least work to some extent. So anyone encountering this issue can try that first. |
|
I feel sorry that you initially did more work than what I was ready to accept in nixpkgs. Thanks for understanding my point of view and thanks for contributing to ZHF you are awesome ;) |
Vendorred an upstream pull request.
Things done
passthru.tests.nixpkgs-reviewon this PR. See nixpkgs-review usage../result/bin/.