-
-
Save cleverca22/48fa3bcb0e5bab91405a2f8e4a867e78 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