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

View File

@ -2,6 +2,7 @@
, stdenv , stdenv
, fetchFromGitHub , fetchFromGitHub
, autoPatchelfHook , autoPatchelfHook
, autoAddDriverRunpath
, makeWrapper , makeWrapper
, buildNpmPackage , buildNpmPackage
, cmake , cmake
@ -84,10 +85,11 @@ stdenv'.mkDerivation rec {
nativeBuildInputs = [ nativeBuildInputs = [
cmake cmake
pkg-config pkg-config
autoPatchelfHook
makeWrapper makeWrapper
# Avoid fighting upstream's usage of vendored ffmpeg libraries
autoPatchelfHook
] ++ lib.optionals cudaSupport [ ] ++ lib.optionals cudaSupport [
cudaPackages.autoAddDriverRunpath autoAddDriverRunpath
]; ];
buildInputs = [ buildInputs = [