From 0b3130d0641c9eceb3f75049548eec569e7bc050 Mon Sep 17 00:00:00 2001 From: Andrew Marshall Date: Fri, 6 Sep 2024 09:37:37 -0400 Subject: [PATCH] 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 --- pkgs/applications/misc/blender/default.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/pkgs/applications/misc/blender/default.nix b/pkgs/applications/misc/blender/default.nix index 25e9388307b6..53833059106b 100644 --- a/pkgs/applications/misc/blender/default.nix +++ b/pkgs/applications/misc/blender/default.nix @@ -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 = [