Last active
March 14, 2017 00:12
-
-
Save deepfire/ef6cd139adf3267f13e409f5add76ec6 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
with import <nixpkgs> {}; | |
let vendorgl = linuxPackages.nvidia_x11.overrideAttrs (oldAttrs: rec { | |
libsOnly = true; | |
kernel = null; | |
name = "nvidia-x11-367.27-${pkgs.linuxPackages.kernel.version}"; | |
src = fetchurl { | |
url = "http://download.nvidia.com/XFree86/Linux-x86_64/367.27/NVIDIA-Linux-x86_64-367.27.run"; | |
sha256 = "0000000000000000000000000000000000000000000000000000"; | |
}; | |
}); | |
in buildEnv { name = "opengl-drivers"; paths = [ vendorgl ]; } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment