-
-
Save cleverca22/02a972cfe31318f39662a201760c1f67 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
{ pkgs, ... }: | |
let | |
mesa = pkgs.mesa_noglu.overrideDerivation (oldAttrs: { | |
src = /tmp/x/mesa-13.0.2; | |
dontStrip = true; | |
configureFlags = oldAttrs.configureFlags ++ [ "--enable-debug" ]; | |
NIX_CFLAGS = [ "-fsanitize=address" ]; | |
}); | |
in { | |
hardware = { | |
opengl = { | |
package = pkgs.buildEnv { | |
name = "custom-hack"; | |
paths = [ | |
mesa mesa.drivers | |
]; | |
}; | |
}; | |
}; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment