Merge pull request #147727 from trofi/fix-noice-for-ncurses-6.3

authored by Sandro and committed by GitHub e7bf4226 db0968ba

+6
+6
pkgs/applications/misc/noice/default.nix
··· 12 12 sha256 = "0975j4m93s9a21pazwdzn4gqhkngwq7q6ghp0q8a75r6c4fb7aar"; 13 13 }; 14 14 15 + postPatch = '' 16 + # Add support for ncurses-6.3. Can be dropped with 0.9 release. 17 + # Fixed upstream at: https://git.2f30.org/noice/commit/53c35e6b340b7c135038e00057a198f03cb7d7cf.html 18 + substituteInPlace noice.c --replace 'printw(str);' 'printw("%s", str);' 19 + ''; 20 + 15 21 configFile = optionalString (conf!=null) (builtins.toFile "config.def.h" conf); 16 22 preBuild = optionalString (conf!=null) "cp ${configFile} config.def.h"; 17 23