diff options
author | Jonathan Ringer <jonringer117@gmail.com> | 2024-03-30 11:04:38 -0700 |
---|---|---|
committer | Jonathan Ringer <jonringer117@gmail.com> | 2024-04-01 09:46:47 -0700 |
commit | b251520084787661f12dd976acf4314225d9fdc7 (patch) | |
tree | 18086d783cdfb8fa139f62c63822870a19b0d23c /pkgs/servers/sunshine | |
parent | 7cd68c3dc8260a107a32f532a648e5ec32fbfe75 (diff) |
sunshine: use pkgs.autoAddDriverRunpath
Diffstat (limited to 'pkgs/servers/sunshine')
-rw-r--r-- | pkgs/servers/sunshine/default.nix | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/pkgs/servers/sunshine/default.nix b/pkgs/servers/sunshine/default.nix index a401f318a9110..dc0503d8194d4 100644 --- a/pkgs/servers/sunshine/default.nix +++ b/pkgs/servers/sunshine/default.nix @@ -1,7 +1,7 @@ { lib , stdenv , fetchFromGitHub -, autoPatchelfHook +, autoAddDriverRunpath , makeWrapper , buildNpmPackage , cmake @@ -84,10 +84,11 @@ stdenv'.mkDerivation rec { nativeBuildInputs = [ cmake pkg-config - autoPatchelfHook makeWrapper + # Avoid fighting upstream's usage of vendored ffmpeg libraries + autoPatchelfHook ] ++ lib.optionals cudaSupport [ - cudaPackages.autoAddDriverRunpath + autoAddDriverRunpath ]; buildInputs = [ |