Skip to content

Commit b251520

Browse files
committed
sunshine: use pkgs.autoAddDriverRunpath
1 parent 7cd68c3 commit b251520

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

pkgs/servers/sunshine/default.nix

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{ lib
22
, stdenv
33
, fetchFromGitHub
4-
, autoPatchelfHook
4+
, autoAddDriverRunpath
55
, makeWrapper
66
, buildNpmPackage
77
, cmake
@@ -84,10 +84,11 @@ stdenv'.mkDerivation rec {
8484
nativeBuildInputs = [
8585
cmake
8686
pkg-config
87-
autoPatchelfHook
8887
makeWrapper
88+
# Avoid fighting upstream's usage of vendored ffmpeg libraries
89+
autoPatchelfHook
8990
] ++ lib.optionals cudaSupport [
90-
cudaPackages.autoAddDriverRunpath
91+
autoAddDriverRunpath
9192
];
9293

9394
buildInputs = [

0 commit comments

Comments
 (0)