-
-
Notifications
You must be signed in to change notification settings - Fork 91
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
Nix build fails: line 729: /build/makeself.khG0YkK0/zstd: cannot execute: required file not found #192
Comments
I am very much a Nix noob, so there is probably a better way of fixing this, but I was able to fix this on my system with the following patch: diff --git a/utils/GetNixGL.sh b/utils/GetNixGL.sh
index 3d5ebb5..2030995 100755
--- a/utils/GetNixGL.sh
+++ b/utils/GetNixGL.sh
@@ -18,7 +18,8 @@ installNixGL() {
installNixVulkanNvidia() {
cd ${SIMULA_UTIL_ROOT}/..
- NIXPKGS_ALLOW_UNFREE=1 nix-env -f ./submodules/godot/nixGLDefault.nix -iA nixVulkanNvidia >/dev/null
+ NIXPKGS_ALLOW_UNFREE=1 nix --extra-experimental-features flakes --extra-experimental-features nix-command run --impure --override-input nixpkgs nixpkgs/nixos-unstable github:guibou/nixGL
+ nix-env -iA nixgl.auto.nixVulkanNvidia
cd -
}
@@ -36,5 +37,5 @@ elif [ -z $NVIDIA_VERSION ]; then
else
. $HOME/.nix-profile/etc/profile.d/nix.sh
installNixVulkanNvidia >/dev/null;
- which nixVulkanNvidia
+ which nixVulkanNvidia-$NVIDIA_VERSION
fi |
The above diff didn't work for me, but figured the following out: In Update the diff --git a/utils/GetNixGL.sh b/utils/GetNixGL.sh
index 3d5ebb5..52c2d7d 100755
--- a/utils/GetNixGL.sh
+++ b/utils/GetNixGL.sh
@@ -18,7 +18,7 @@ installNixGL() {
installNixVulkanNvidia() {
cd ${SIMULA_UTIL_ROOT}/..
- NIXPKGS_ALLOW_UNFREE=1 nix-env -f ./submodules/godot/nixGLDefault.nix -iA nixVulkanNvidia >/dev/null
+ NIXPKGS_ALLOW_UNFREE=1 nix-env -f ./submodules/godot/nixGLDefault.nix -iA auto >/dev/null
cd -
}
@@ -36,5 +36,5 @@ elif [ -z $NVIDIA_VERSION ]; then
else
. $HOME/.nix-profile/etc/profile.d/nix.sh
installNixVulkanNvidia >/dev/null;
- which nixVulkanNvidia
+ which nixVulkanNvidia-$NVIDIA_VERSION
fi |
Seems to be almost working. |
@kimabjorkede Looks like that specific driver version is not available. Try upgrading the driver on your host system. Also check here for versions available: But be warned, Simula most likely won't run - even if it compiles. The GLIBC dependency of your OpenXR Runtime will be too new for Simula, as Simula uses an almost 1,5 year old version. |
I just got an nvidia driver that's in https://download.nvidia.com/XFree86/Linux-x86_64/, it seems to be able to continue longer, but it still ends up in an error:
|
Using @Delamare2112 's patch it gives a shorter error message:
|
@kimabjorkede The Shorter error is shorter because it can't find the "nvidia driver flake", so it wont even try to compile. However, in both cases there is an xapp-gtk3-module error. It is either a consequence of the driver not being able to be installed, or it is a separate dependency missing. I'd first try to solve the driver issue before focusing on the xapp-gtk3-module error. One thing I notice is that it is trying to install Nvidia Bumblebee. This is usually for notebooks with both an integrated GPU and a dedicated GPU. Good luck! |
I think I'll give up until someone properly fixes this. It's a shame as Simula looks really cool! |
@kimabjorkede IIRC the devs are mainly focusing on getting the headset hardware and fabrication worked out before continuing on the software. So I expect issues like these will be addressed sooner or later :) |
Hi fellows. The solution by [Delamare2112](#192 (comment)) seems to work for me on current Arch. Mean while, I am now bumping on:
so have to figure out how to add correct glibC version. |
It looks like the build fails due to some issue extracting the drivers
The text was updated successfully, but these errors were encountered: