Skip to content

Instantly share code, notes, and snippets.

@cpcloud
Last active October 16, 2020 22:22
Show Gist options
  • Save cpcloud/b28654d8824f21bd2e7f6a2d39a136e0 to your computer and use it in GitHub Desktop.
Save cpcloud/b28654d8824f21bd2e7f6a2d39a136e0 to your computer and use it in GitHub Desktop.
Add the nixos nvidia driver location
diff --git a/patch.sh b/patch.sh
index 8e572f5..fc85e4c 100755
--- a/patch.sh
+++ b/patch.sh
@@ -252,6 +252,7 @@ patch_common () {
'/usr/lib/x86_64-linux-gnu/nvidia/current/'
'/usr/lib64'
"/usr/lib/nvidia-${driver_version%%.*}"
+ "/run/opengl-driver/lib"
)
dir_found=''
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment