So, I there’s a project I’m looking to build which uses ninja to build the file. Is there a way I can get Nix to run the appropriate commands for me? In my case it would be something like ninja -k 0 -f "build.ninja"
If you include ninja
to nativeBuildInputs
that should add a set of build hooks related to ninja
-based builds: Nixpkgs Manual
Chances are it will Just Work without many tweaks.
1 Like
Well, actually, this project also requires the C++ bindings for metakit
to be available for linking… so that’s gonna be an issue, as metakit
isn’t in nixpkgs. https://www.equi4.com/metakit.html