mesa: add llvm as dependency for llvm-config-native
Fixes https://github.com/NixOS/nixpkgs/issues/136926
This commit is contained in:
parent
6a848de95d
commit
5d30f708b9
1 changed files with 4 additions and 0 deletions
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue