Skip to content

Commit

Permalink
nvidia: make sure useGLVND is always disabled; fix #6 and #7
Browse files Browse the repository at this point in the history
  • Loading branch information
deepfire committed May 17, 2017
1 parent c3a2be1 commit 475c373
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
4 changes: 3 additions & 1 deletion README.org
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,9 @@
| | nVidia/nvidia | nVidia/nouveau | AMD/AMDGPU-PRO | AMD/radeonsi | Intel |
|--------------+---------------+----------------+----------------+--------------+-------|
| SteamOS | ✅ | | | | |
| Ubuntu 16.04 | [[https://github.com/deepfire/nix-install-vendor-gl/issues/6][#6]], [[https://github.com/deepfire/nix-install-vendor-gl/issues/7][#7]] | | | | |
| Ubuntu 16.04 | ✅ | | | | |
| Ubuntu 16.10 | [[https://github.com/deepfire/nix-install-vendor-gl/issues/7][#7]] | | | | |
| Ubuntu 17.04 | | | | | |

* Quickstart
*** Prerequisites
Expand Down
6 changes: 4 additions & 2 deletions nix-install-vendor-gl.sh
Original file line number Diff line number Diff line change
Expand Up @@ -469,10 +469,12 @@ EOF
info "Both the host system and Nix provide matching vendor GL driver versions."
cat >${tmpnix} <<EOF
with import <nixpkgs> { config = { allowUnfree = true; }; };
let vendorgl = ${vendorgl_attribute}.override {
let vendorgl = (${vendorgl_attribute}.override {
libsOnly = true;
kernel = null;
};
}).overrideAttrs (oldAttrs: rec {
useGLVND = 0;
});
in buildEnv { name = "opengl-drivers"; paths = [ vendorgl ]; }
EOF
fi
Expand Down

0 comments on commit 475c373

Please sign in to comment.