silicon-heaven / shvapp

0 stars 1 forks source link

flake.nix: add to support easy inclusion to Nix projects #1

Closed Cynerd closed 1 year ago

Cynerd commented 1 year ago

This is not ideal because with never version of Qt6 the qtmqtt package here is going to break due to mismatch hash. Another option would be to fail do to mismatch version (which is way more harder to debug). There is just no way to implement it in such a way it is going to work correctly.

Without qtmqtt cmake fails on missing pkg-config file and thus we have to include it. The best solution is to include it in nixpkgs but for some reason it is not tracked on qt mirrors and thus I am not sure if it is going to be accepted by nixpkgs upstream.

Cynerd commented 1 year ago

qtmqtt submited https://github.com/NixOS/nixpkgs/pull/226606 but might be more complicated to actually get it there.

Cynerd commented 1 year ago

I also added NixOS module for SHV broker just now on top of the original flake.