From 671fd3a3c13383cc1d7805e2b7854b5226205d07 Mon Sep 17 00:00:00 2001 From: Orivej Desh Date: Sat, 6 Feb 2021 11:38:10 +0000 Subject: [PATCH] ht: fix build with gcc10 It builds with -Wall and fails on -Wnarrowing. --- pkgs/applications/editors/ht/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/applications/editors/ht/default.nix b/pkgs/applications/editors/ht/default.nix index 096b69a5e82..2f1ea40359d 100644 --- a/pkgs/applications/editors/ht/default.nix +++ b/pkgs/applications/editors/ht/default.nix @@ -17,6 +17,8 @@ stdenv.mkDerivation rec { patches = [ ./gcc7.patch ]; + NIX_CFLAGS_COMPILE = [ "-Wno-narrowing" ]; + meta = with lib; { description = "File editor/viewer/analyzer for executables"; homepage = "http://hte.sourceforge.net";