From 9787d984717fa94e45cecb3f66a5bcb713a3bf79 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20H=C3=B6xtermann?= Date: Tue, 17 Dec 2024 07:09:11 +0100 Subject: [PATCH] xpra: fix xpraWithNvenc build fs/bin/build_cuda_kernels.py was missing shebang fixup. clang will be necessary for incoming staging changes. Tested-by: Corbin Wunderlich With-suggestions-by: Corbin Wunderlich Co-authored-by: Arne Keller --- pkgs/tools/X11/xpra/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/tools/X11/xpra/default.nix b/pkgs/tools/X11/xpra/default.nix index a46532a9206f2..c0ef656a3ca46 100644 --- a/pkgs/tools/X11/xpra/default.nix +++ b/pkgs/tools/X11/xpra/default.nix @@ -39,6 +39,7 @@ xorg, xorgserver, xxHash, + clang, }: let @@ -92,11 +93,14 @@ buildPythonApplication rec { postPatch = lib.optionalString stdenv.hostPlatform.isLinux '' substituteInPlace xpra/platform/posix/features.py \ --replace-fail "/usr/bin/xdg-open" "${xdg-utils}/bin/xdg-open" + + patchShebangs --build fs/bin/build_cuda_kernels.py ''; INCLUDE_DIRS = "${pam}/include"; nativeBuildInputs = [ + clang gobject-introspection pkg-config wrapGAppsHook3