From 010daf75902c3dc9ea449cfc202fb8004e3d45e1 Mon Sep 17 00:00:00 2001 From: aszlig Date: Fri, 1 Jan 2016 18:31:42 +0100 Subject: machines/haenk: Override Mesa using LLVM 3.6 Since NixOS/nixpkgs@3e96b76, LLVM 3.7 is the default for all packages, including Mesa. Unfortunately, the NV44M GPU drivers do not seem to like this very much. Signed-off-by: aszlig --- machines/aszlig/managed/haenk.nix | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'machines') diff --git a/machines/aszlig/managed/haenk.nix b/machines/aszlig/managed/haenk.nix index e56329e7..a2764cbe 100644 --- a/machines/aszlig/managed/haenk.nix +++ b/machines/aszlig/managed/haenk.nix @@ -53,7 +53,15 @@ auto-optimise-store = true ''; - nixpkgs.config.allowUnfree = true; + nixpkgs.config = { + packageOverrides = opkgs: { + # This is because the driver for the NV44M GPU doesn't like LLVM 3.7 + mesa_noglu = pkgs.mesa_noglu.override { + llvmPackages = pkgs.llvmPackages_36; + }; + }; + allowUnfree = true; + }; services.openssh.enable = true; services.tlp.enable = true; -- cgit 1.4.1