mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2025-01-08 06:28:50 +03:00
gerbera: fix build with fmt-10.1
This commit is contained in:
parent
fd3acad643
commit
4b919a5b81
@ -1,6 +1,7 @@
|
||||
{ lib
|
||||
, stdenv
|
||||
, fetchFromGitHub
|
||||
, fetchpatch
|
||||
, cmake
|
||||
, pkg-config
|
||||
, nixosTests
|
||||
@ -74,6 +75,16 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "sha256-j5J0u0zIjHY2kP5P8IzN2h+QQSCwsel/iTspad6V48s=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# Can be removed on the next bump, see:
|
||||
# https://github.com/gerbera/gerbera/pull/2840.
|
||||
(fetchpatch {
|
||||
name = "gerbera-fmt10.patch";
|
||||
url = "https://github.com/gerbera/gerbera/commit/37957aac0aea776e6f843af2358916f81056a405.patch";
|
||||
hash = "sha256-U7dyFGEbelVZeHYX/4fLOC0k+9pUKZ8qP/LIVXWCMcU=";
|
||||
})
|
||||
];
|
||||
|
||||
postPatch = lib.optionalString enableMysql ''
|
||||
substituteInPlace cmake/FindMySQL.cmake \
|
||||
--replace /usr/include/mysql ${lib.getDev libmysqlclient}/include/mariadb \
|
||||
|
Loading…
Reference in New Issue
Block a user