obs-studio-plugins.obs-multi-rtmp: fix build
This commit is contained in:
parent
cd286b21e4
commit
5ad3d0d27f
@ -1,4 +1,4 @@
|
||||
{ lib, stdenv, fetchFromGitHub, obs-studio, cmake, qtbase }:
|
||||
{ lib, stdenv, fetchFromGitHub, obs-studio, cmake, qtbase, fetchpatch }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "obs-multi-rtmp";
|
||||
@ -11,6 +11,15 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "sha256-MRBQY9m6rj8HVdn58mK/Vh07FSm0EglRUaP20P3FFO4=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# Fix finding QT. Remove after next release.
|
||||
(fetchpatch {
|
||||
url = "https://github.com/sorayuki/obs-multi-rtmp/commit/a1289fdef404b08a7acbbf0d6d0f93da4c9fc087.patch";
|
||||
hash = "sha256-PDkR315y0iem1+LAqGmiqBFUiMBeEgnFW/xd1W2bAu4=";
|
||||
includes = [ "CMakeLists.txt" ];
|
||||
})
|
||||
];
|
||||
|
||||
nativeBuildInputs = [ cmake ];
|
||||
buildInputs = [ obs-studio qtbase ];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user