From 99c63147e0d587d0afa6596b23acdfdf83ee7ac0 Mon Sep 17 00:00:00 2001 From: worldofpeace Date: Wed, 10 Apr 2019 03:34:07 -0400 Subject: [PATCH] gnome-podcasts: fix build --- pkgs/applications/audio/gnome-podcasts/default.nix | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/pkgs/applications/audio/gnome-podcasts/default.nix b/pkgs/applications/audio/gnome-podcasts/default.nix index c8db1ac6d10..670641fae75 100644 --- a/pkgs/applications/audio/gnome-podcasts/default.nix +++ b/pkgs/applications/audio/gnome-podcasts/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchurl, fetchFromGitLab, meson, ninja, gettext, cargo, rustc, python3, rustPlatform, pkgconfig, gnome3 +{ stdenv, fetchurl, fetchpatch, fetchFromGitLab, meson, ninja, gettext, cargo, rustc, python3, rustPlatform, pkgconfig, gnome3 , glib, libhandy, gtk3, dbus, openssl, sqlite, gst_all_1, wrapGAppsHook }: # TODO: build from git for easier updates @@ -12,6 +12,14 @@ stdenv.mkDerivation rec { sha256 = "0g2rk3w251fp5jwbxs5ya1adv8nsgdqjy1vmfg8qqab6qyndhbrc"; }; + patches = [ + # podcasts-data would fail to build because it errors on warnings + (fetchpatch { + url = "https://gitlab.gnome.org/World/podcasts/commit/7dc1b25ee7fc59a188312d31b1fa00c3110ae63e.patch"; + sha256 = "03ibbh1snk1391vnni529agqs14lzg5g0axjgpf3gn8dwwh1yvd5"; + }) + ]; + # src = fetchFromGitLab { # domain = "gitlab.gnome.org"; # owner = "World";