diff --git a/pkgs/by-name/ta/taskwarrior2/package.nix b/pkgs/by-name/ta/taskwarrior2/package.nix index c5401cb6b6ca..9f41fb3363a4 100644 --- a/pkgs/by-name/ta/taskwarrior2/package.nix +++ b/pkgs/by-name/ta/taskwarrior2/package.nix @@ -2,6 +2,7 @@ lib, stdenv, fetchFromGitHub, + fetchpatch, cmake, libuuid, gnutls, @@ -22,6 +23,15 @@ stdenv.mkDerivation rec { fetchSubmodules = true; }; + patches = [ + (fetchpatch { + url = "https://github.com/GothenburgBitFactory/libshared/commit/bde76fb717c8e56e5859472ba1e890abc5b94e63.patch"; + sha256 = "sha256-6esIya9VATtDbL3jOpXZtvMoIJ8ztznqUju4d4lE49w="; + stripLen = 1; + extraPrefix = "src/libshared/"; + }) + ]; + postPatch = '' substituteInPlace src/commands/CmdNews.cpp \ --replace "xdg-open" "${lib.getBin xdg-utils}/bin/xdg-open"