-
Notifications
You must be signed in to change notification settings - Fork 12
Description
Hey there,
I'm trying to get this build to work on a nixOS (linux) system, that handles building a bit differently. It pretty much creates a sandbox where it first builds all dependencies you tell it to and then goes on to build the package you show it via a github repo link or whatnot.
Now, I've managed getting to 100% of the build process this way and then it drops me out with this error: https://pastebin.com/qYcdM9Ut.
/tmp/nix-build-FasterMelee.drv-0/ is just the build directory here. So the interesting line is
CMake Error at Externals/cubeb/cmake_install.cmake:49 (file):
file INSTALL cannot find "/tmp/nix-build-FasterMelee.drv-0/source/include".
Any idea as to what's different about where INSTALL looks for include in /cubeb/cmake_install.cmake?
Cheers!
Edit: Regular dolphin builds just fine.
Edit2: I'll add the nix-expression, just in case anyone's familiar with it: https://pastebin.com/riGs1Kb3. The buildInputs are the list of dependencies, everything else is probably self explanatory. I'm thinking maybe another cmake flag is what I'm looking for, but I'm not familiar with cmake, so I couldn't figure that out.
Edit3: This has been solved on the nixos reddit (https://www.reddit.com/r/NixOS/comments/8vj7kt/building_on_nixos/e1p2ynh).
The solution was a patch to Externals/cubeb/CMakeLists.txt, changing the install path to be relative.