RaymiiOrg / CertInfo

Which Root Certificates should you trust?
https://raymii.org/s/software/Which_Root_Certificates_Should_You_Trust_CertInfo.html
GNU General Public License v3.0
43 stars 2 forks source link

Build for macOS with nix #1

Closed alex-sparus closed 10 months ago

alex-sparus commented 10 months ago

To build, it's only necessary to have nix installed (https://zero-to-nix.com/start/install) and call

nix build

And it can be run directly like this:

nix run github:alex-sparus/CertInfo/mac-build
alex-sparus commented 10 months ago

This also works on NixOS! I can't try on a different distro though, it is possible it might require using https://github.com/nix-community/nixGL

RaymiiOrg commented 10 months ago

Thanks for the merge request! I'd however rather not loose Qt5 support, since that would break the Windows 7 support. Also, the layout in Qt6 is way wierd, I havent spent much time on that.

Also, I have no Mac to text with.

alex-sparus commented 10 months ago

No problem, I'll close the PR then. QT5 is not supported very well in nix, from what I know, unfortunately, at least, for macOS.

RaymiiOrg commented 10 months ago

I'd be happy to merge it in. Due to the #ifdef in qmake the Qt5 part should only be included when building with Qt5, so the files can be kept in place.

alex-sparus commented 10 months ago

Could be merged now, I think :)

RaymiiOrg commented 10 months ago

Thank you!