Created
April 28, 2016 14:23
-
-
Save cleverca22/604a88fae88f67a87ffcc0eaadcdea78 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
{ lib, config, pkgs, ... }: | |
let | |
foo = pkgs.mesa_noglu.overrideDerivation (oldAttrs: { | |
src = /home/clever/x/mesa-11.1.1; | |
dontStrip = true; | |
}); | |
in | |
{ | |
hardware = { | |
opengl = { | |
driSupport32Bit = true; | |
package = pkgs.buildEnv { | |
name = "custom-hack"; | |
paths = [ | |
foo foo.drivers | |
]; | |
}; | |
}; | |
}; | |
} |
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
{ lib, config, pkgs, ... }: | |
let | |
foo = pkgs.enableDebugging pkgs.mesa_noglu; | |
in | |
{ | |
hardware = { | |
opengl = { | |
driSupport32Bit = true; | |
package = pkgs.buildEnv { | |
name = "custom-hack"; | |
paths = [ | |
foo foo.drivers | |
]; | |
}; | |
}; | |
}; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment