Merge pull request #145268 from trofi/fix-irqbalance-for-ncurses-6.3

authored by

Sandro and committed by
GitHub
7f302b8f 8f6a0499

+11 -1
+11 -1
pkgs/os-specific/linux/irqbalance/default.nix
··· 1 - { lib, stdenv, fetchFromGitHub, autoreconfHook, pkg-config, glib, ncurses, libcap_ng }: 1 + { lib, stdenv, fetchFromGitHub, fetchpatch, autoreconfHook, pkg-config, glib, ncurses, libcap_ng }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "irqbalance"; ··· 10 10 rev = "v${version}"; 11 11 sha256 = "sha256-K+Nv6HqBZb0pwfNV127QDq+suaUD7TTV413S6j8NdUU="; 12 12 }; 13 + 14 + patches = [ 15 + # pull pending upstream inclusion fix for ncurses-6.3: 16 + # https://github.com/Irqbalance/irqbalance/pull/194 17 + (fetchpatch { 18 + name = "ncurses-6.3.patch"; 19 + url = "https://github.com/Irqbalance/irqbalance/commit/f8bdd0e64284d841544fd3ebe22f4652902ba8d2.patch"; 20 + sha256 = "sha256-QJIXr8BiKmn/81suuhNJsBRhY2as19/e480lsp2wd6g="; 21 + }) 22 + ]; 13 23 14 24 nativeBuildInputs = [ autoreconfHook pkg-config ]; 15 25