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
+4 -2
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 = [