diff options
author | Ryan Burns <52847440+r-burns@users.noreply.github.com> | 2021-11-06 01:48:42 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-06 01:48:42 -0700 |
commit | e70280690db99a9de41067c05e7bf0d75e9455b2 (patch) | |
tree | 539aa5bc8c776c7ed796bb012efcafbb9fa99308 /pkgs | |
parent | 377c617dc655dd6b0ee8b51aebd56f92b71347a6 (diff) | |
parent | fa34b0f03a82f996202a31d89751885adb78658c (diff) |
Merge pull request #144592 from trofi/fix-toxic-for-ncurses-6.3
toxic: fix build against upcoming ncurses-6.3
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/applications/networking/instant-messengers/toxic/default.nix | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/pkgs/applications/networking/instant-messengers/toxic/default.nix b/pkgs/applications/networking/instant-messengers/toxic/default.nix index 3082748a35185..a6d6cac4ac764 100644 --- a/pkgs/applications/networking/instant-messengers/toxic/default.nix +++ b/pkgs/applications/networking/instant-messengers/toxic/default.nix @@ -1,4 +1,4 @@ -{ lib, stdenv, fetchFromGitHub, libsodium, ncurses, curl +{ lib, stdenv, fetchFromGitHub, fetchpatch, libsodium, ncurses, curl , libtoxcore, openal, libvpx, freealut, libconfig, pkg-config, libopus , qrencode, gdk-pixbuf, libnotify }: @@ -13,6 +13,15 @@ stdenv.mkDerivation rec { sha256 = "sha256-5jLXXI+IMrYa7ZtdMjJrah1zB5TJ3GdHfvcMd1TYE4E="; }; + patches = [ + # Pending for upstream inclusion fix for ncurses-6.3 compatibility. + (fetchpatch { + name = "ncurses-6.3.patch"; + url = "https://github.com/JFreegman/toxic/commit/41e93adbdbd56db065166af5a6676a7996e9e451.patch"; + sha256 = "sha256-LYEseB5FmXFNifa1RZUxhkXeWlkEEMm3ASD55IoUPa0="; + }) + ]; + makeFlags = [ "PREFIX=$(out)"]; installFlags = [ "PREFIX=$(out)"]; |