Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

enable mesa debugging #16

Closed
wants to merge 14 commits into from
1 change: 0 additions & 1 deletion .github/workflows/nix-github-actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,4 +56,3 @@ jobs:
--store ssh-ng://eu.nixbuild.net \
".#githubActions.checks.${{ matrix.attr }}"


21 changes: 10 additions & 11 deletions overlays/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -60,17 +60,16 @@
final.clang
];
});
# mesa = prev.mesa.overrideAttrs (oldAttrs: {
# mesonFlags = final.lib.remove "-Db_ndebug=true" oldAttrs.mesonFlags ++ [
# "-Dc_args=-fno-omit-frame-pointer"
# "-Dc_link_args=-fno-omit-frame-pointer"
# "-Dcpp_args=-fno-omit-frame-pointer"
# "-Dcpp_link_args=-fno-omit-frame-pointer"
# "--buildtype=debugoptimized"
# # "--strip=false"
# "-Db_sanitize=${builtins.concatStringsSep "," ["address" "undefined"]}"
# ];
# });
mesa = prev.mesa.overrideAttrs (oldAttrs: {
mesonFlags = final.lib.remove "-Db_ndebug=true" oldAttrs.mesonFlags ++ [
"-Dc_args=-fno-omit-frame-pointer"
"-Dc_link_args=-fno-omit-frame-pointer"
"-Dcpp_args=-fno-omit-frame-pointer"
"-Dcpp_link_args=-fno-omit-frame-pointer"
"--buildtype=debugoptimized"
"-Db_sanitize=${builtins.concatStringsSep "," ["address" "undefined"]}"
];
});
xpadneo = prev.xpadneo.overrideAttrs (oldAttrs: {
version = "git.74dd867";
src = final.fetchFromGitHub {
Expand Down
Loading