Skip to content

Commit

Permalink
mesa: fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
K900 committed Jan 28, 2023
1 parent eb799f3 commit f4a78e4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pkgs/development/libraries/mesa/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -253,6 +253,10 @@ self = stdenv.mkDerivation {
NIX_CFLAGS_COMPILE = lib.optionals stdenv.isDarwin [ "-fno-common" ] ++ lib.optionals enableOpenCL [
"-UPIPE_SEARCH_DIR"
"-DPIPE_SEARCH_DIR=\"${placeholder "opencl"}/lib/gallium-pipe\""

# Work around regression from https://github.com/NixOS/nixpkgs/pull/210004
# TODO(trofi): remove
"--sysroot=/"
];

passthru = {
Expand Down

0 comments on commit f4a78e4

Please sign in to comment.