ht: fix build with gcc10
It builds with -Wall and fails on -Wnarrowing.
commit671fd3a3c13383cc1d7805e2b7854b5226205d07
authorOrivej Desh <orivej@gmx.fr>
dateSat 6 Feb 2021, 11:38 (6 years ago)
parent576464c
pkgs/applications/editors/ht/default.nix+2
@@ -17,6 +17,8 @@ stdenv.mkDerivation rec {
1717
1818 patches = [ ./gcc7.patch ];
1919
20+ NIX_CFLAGS_COMPILE = [ "-Wno-narrowing" ];
21+
2022 meta = with lib; {
2123 description = "File editor/viewer/analyzer for executables";
2224 homepage = "http://hte.sourceforge.net";