blender: fix runtime crash by adding missing wayland-scanner

Without this, it crashes on launch or render when using (at least)
Nvidia GPUs. Blender build needs this, but currently only warns during
build.

See also:
https://github.com/NixOS/nixpkgs/pull/214906
https://github.com/NixOS/nixpkgs/issues/340080
This commit is contained in:
Andrew Marshall
2024-09-06 10:06:04 -04:00
parent ad416d066c
commit 0b3130d064
+5 -1
View File
@@ -77,6 +77,7 @@
tbb,
wayland,
wayland-protocols,
wayland-scanner,
waylandSupport ? stdenv.isLinux,
zlib,
zstd,
@@ -223,7 +224,10 @@ stdenv.mkDerivation (finalAttrs: {
addDriverRunpath
cudaPackages.cuda_nvcc
]
++ lib.optionals waylandSupport [ pkg-config ];
++ lib.optionals waylandSupport [
pkg-config
wayland-scanner
];
buildInputs =
[