-
-
Notifications
You must be signed in to change notification settings - Fork 14.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
xpra: fix xpraWithNvenc build #365793
xpra: fix xpraWithNvenc build #365793
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice find!
Backport, since it's broken in 24.11 I believe. |
On staging-next, the build for xpra fails:
|
It says the error. Maybe try adding clang to the build inputs? @FliegendeWurst |
Indeed that works. diff --git a/pkgs/tools/X11/xpra/default.nix b/pkgs/tools/X11/xpra/default.nix
index 34b4d0f97737..1de161cc0629 100644
--- a/pkgs/tools/X11/xpra/default.nix
+++ b/pkgs/tools/X11/xpra/default.nix
@@ -39,6 +39,7 @@
xorg,
xorgserver,
xxHash,
+ clang,
}:
let
@@ -99,6 +100,7 @@ buildPythonApplication rec {
INCLUDE_DIRS = "${pam}/include";
nativeBuildInputs = [
+ clang
gobject-introspection
pkg-config
wrapGAppsHook3 |
I bisected some, so far I got it down to a |
Bisect on @CorbinWunderlich can you verify that it works as intended on your hardware again? |
Seems good on nvidia 550.90.7-grid (vgpu guest driver) |
Technically it should be |
|
fs/bin/build_cuda_kernels.py was missing shebang fixup. clang will be necessary for incoming staging changes. Tested-by: Corbin Wunderlich <[email protected]> With-suggestions-by: Corbin Wunderlich <[email protected]> Co-authored-by: Arne Keller <[email protected]>
Thanks!
I also verified that it is not included in the final output at all for some fallback path. |
I think you also need a python in the nativeBuildInputs (only strictly required if strictDeps = true). Unless one of the other inputs there propagates python. |
Should it be added anyway somewhere for clarity? So far, |
Oh, I somehow missed this package is a python application already. In that case it is available automatically. |
Successfully created backport PR for |
fs/bin/build_cuda_kernels.py
was missing shebang fixup.Tested-by: Corbin Wunderlich [email protected]
🥳
closes #363390
Things done
nix.conf
? (See Nix manual)sandbox = relaxed
sandbox = true
nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)Add a 👍 reaction to pull requests you find important.