mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-04-16 21:08:24 +00:00
mesa: fix build
This commit is contained in:
parent
eb799f365b
commit
f4a78e4b2c
@ -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 = {
|
||||
|
Loading…
Reference in New Issue
Block a user