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:
@@ -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 =
|
||||
[
|
||||
|
||||
Reference in New Issue
Block a user