From 94a8d38dcda29a72f5320f52ff547b3bb3f8eb87 Mon Sep 17 00:00:00 2001 From: Claudio Bley Date: Tue, 9 Nov 2021 10:04:55 +0100 Subject: [PATCH] gnome.gnome-todo: Use patch to fix build race condition Instead of fetching the patch of the commit that added the patch file to the FreeBSD repository, fetch the patch itself. --- pkgs/desktops/gnome/apps/gnome-todo/default.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/pkgs/desktops/gnome/apps/gnome-todo/default.nix b/pkgs/desktops/gnome/apps/gnome-todo/default.nix index e486279508c8..f3dde6585aeb 100644 --- a/pkgs/desktops/gnome/apps/gnome-todo/default.nix +++ b/pkgs/desktops/gnome/apps/gnome-todo/default.nix @@ -36,8 +36,10 @@ stdenv.mkDerivation rec { patches = [ # fix build race bug https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=257667 (fetchpatch { - url = "https://cgit.freebsd.org/ports/patch/?id=a4faaf6cf7835014b5f69a337b544ea4ee7f9655"; - sha256 = "sha256-IMBfqtrqBw3DdmJG0qchZFR6Am1PICMnM5P6BcS8oqI="; + url = "https://cgit.freebsd.org/ports/plain/deskutils/gnome-todo/files/patch-src_meson.build?id=a4faaf6cf7835014b5f69a337b544ea4ee7f9655"; + sha256 = "sha256:0ihixyq72yhx6njij7bldsqb80x3y217yh6livknlf5r1wr3hakn"; + extraPrefix = ""; + name = "gnome-todo_meson-build.patch"; }) ];