How to build
aciceri opened this issue · comments
Hey, cool project.
I wanted to write nix expressions for this but it's not clear to me how it's supposed to be built.
I'm using qmake for build the project from Qt6.6.2:
/home/mh4x0f/Qt/6.6.2/gcc_64/bin/qmake /home/mh4x0f/git/zmkBATx/zmkBATx.pro -spec linux-g++ CONFIG+=qtquickcompiler && /usr/bin/make qmake_all
make -j8 in /home/mh4x0f/git/zmkBATx
the qt requires somes libraries then you can get on release .tar.gz file.
In general (modulo some workarounds) it's not possible running pre-built binaries in NixOS, and its philosophy is more about re-building everything from sources.
I've packaged it, here the PR.
If you have nix installed you can already try to build it with nix (and then start it) using:
nix run github:aciceri/nixpkgs/zmkbatx#zmkBATx
If you want I can add a reference to the fact that it's packged in nipxkgs in the README (after the PR is merged).
It works great anyway!
yeah, nice job brow. send me a PR after merge on nix package.