sunshine: use pkgs.autoAddDriverRunpath

This commit is contained in:
Jonathan Ringer 2024-03-30 11:04:38 -07:00
parent 7cd68c3dc8
commit b251520084
No known key found for this signature in database
GPG Key ID: 5C841D3CFDFEC4E0

View File

@ -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 = [