Help Packaging TexasSolver

I’d like to package the open source Texas hold’em solver - TexasSolver - but I don’t know how to proceed. This seems to be the build script. Adding qmake and wget to my invironment gets me to this point

Could not start dynamically linked executable: ./linuxdeploy-x86_64.AppImage

Poker is such a big game. It makes me wonder if this application is just very hard to package, given there are many packages in nixpkgs for much more niche things. Any help is appreciated.

See Nixpkgs Reference Manual for packaging or extracting appimages. Very odd that their build script is using that though.

I hope you don’t mean putting those in environment.systemPackages.
See Packaging existing software with Nix — nix.dev documentation and Package parameters and overrides with callPackage — nix.dev documentation for how to package in general.

Hello.

You certainly don’t need to build AppImage stuff for NixOS at all.

Most likely, all you have to do is to run qmake and then make install to get a binary. I recommend you to search nixpkgs for an example of a simple QT gui app and use it as a reference point.

1 Like

No, I just meant I added them to my nix shell. I generally try to get things building outside of a derivation with a nix shell first.

1 Like

Thanks, I will give this a go.

This worked, at least to get it building locally, thanks!

Reading this got me to a nix expression Nixpkgs Reference Manual