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