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