mesa: add llvm as dependency for llvm-config-native

Fixes https://github.com/NixOS/nixpkgs/issues/136926
This commit is contained in:
Rick van Schijndel 2021-09-19 21:57:33 +02:00
parent 6a848de95d
commit 5d30f708b9

View file

@ -93,6 +93,10 @@ self = stdenv.mkDerivation {
++ lib.optional stdenv.isLinux "driversdev"
++ lib.optional enableOpenCL "opencl";
preConfigure = ''
PATH=${llvmPackages.libllvm.dev}/bin:$PATH
'';
# TODO: Figure out how to enable opencl without having a runtime dependency on clang
mesonFlags = [
"--sysconfdir=/etc"