Merge pull request #300287 from jonringer/sunshine-autoadd

sunshine: use pkgs.autoAddDriverRunpath
This commit is contained in:
Weijia Wang 2024-04-02 00:58:12 +02:00 committed by GitHub
commit 86aee6eafd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 4 additions and 2 deletions

View File

@ -2,6 +2,7 @@
, stdenv
, fetchFromGitHub
, autoPatchelfHook
, autoAddDriverRunpath
, makeWrapper
, buildNpmPackage
, cmake
@ -84,10 +85,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 = [