diff options
author | Sergei Trofimovich <slyich@gmail.com> | 2021-10-31 22:42:52 +0000 |
---|---|---|
committer | Sergei Trofimovich <slyich@gmail.com> | 2021-12-16 07:55:06 +0000 |
commit | d5abc055d2062efacba35a0232977463918ba22f (patch) | |
tree | bc85c62bbc446c6aa81f5ee923f4c9c030f5495b /pkgs/tools/misc/wyrd | |
parent | 66246ca3561fbee0c3f28e8adcef8aa79a7d6399 (diff) |
ncurses: 6.2 -> 6.3
The biggest nixpkgs-specific change is addition of printf()-style attribute annotations for many ncurses APIs. -Werror=format-security now flags parameter inconsistencies and fails the build. The fixes are usually one-liners like adding "%s" format string for non-literals or just using `hardeningDisable [ "format" ];` for software where backporting or fixing is not practical. Drop -DNCURSES_INTERNALS=1 workaround required only for ncurses-6.2 and build-incompatible with ncurses-6.3.
Diffstat (limited to 'pkgs/tools/misc/wyrd')
-rw-r--r-- | pkgs/tools/misc/wyrd/default.nix | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/pkgs/tools/misc/wyrd/default.nix b/pkgs/tools/misc/wyrd/default.nix index 491c362eed40d..d1244cc73c47d 100644 --- a/pkgs/tools/misc/wyrd/default.nix +++ b/pkgs/tools/misc/wyrd/default.nix @@ -9,8 +9,6 @@ stdenv.mkDerivation rec { sha256 = "0zlrg602q781q8dij62lwdprpfliyy9j1rqfqcz8p2wgndpivddj"; }; - NIX_CFLAGS_COMPILE = "-DNCURSES_INTERNALS=1"; - preConfigure = '' substituteInPlace curses/curses.ml --replace 'pp gcc' "pp $CC" ''; |