Merge pull request #300287 from jonringer/sunshine-autoadd
sunshine: use pkgs.autoAddDriverRunpath
This commit is contained in:
commit
86aee6eafd
@ -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 = [
|
||||
|
Loading…
Reference in New Issue
Block a user