Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compilation on nixOS fails at 100% #12

Open
ghost opened this issue Jul 2, 2018 · 1 comment
Open

Compilation on nixOS fails at 100% #12

ghost opened this issue Jul 2, 2018 · 1 comment

Comments

@ghost
Copy link

ghost commented Jul 2, 2018

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.

@Andrew-Pynch
Copy link

I am having this issue on linux too

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant