Heya, nixOS user here. I want to start using this platform. But found out I need to compile it myself.
So, to package this software under nix there are a few problems.
- The build environment does not have access to the internet.
This means that using VCPKG to download external dependencies is impossible. So I basically have to port all the dependencies it is installing to nix
- The build environment can not just “run a binary”
Since its runtime paths differ from a “standard” linux enviroment. This means I’ll have to patch every binary that might need grabbing. Or alternatively, compile them all from source.
I’m not sure how much of a problem this actually is, cause I’m not sure what all the dependencies actually are.
I’ll be using this thread to ask questions about how this stuff is put together and update on my progress towards getting the build out.
Of course if we got some builds for the client I wouldnt have to do all this and could just patch it But oh well
The good thing about this approach is that once it’s done, any Linux distro should be able to install hifi by just installing nix to their system or user. Maybe even MacOS users!