diff options
author | Orivej Desh <orivej@gmx.fr> | 2021-02-06 11:38:10 +0000 |
---|---|---|
committer | Orivej Desh <orivej@gmx.fr> | 2021-02-06 11:39:57 +0000 |
commit | 671fd3a3c13383cc1d7805e2b7854b5226205d07 (patch) | |
tree | 8da384d80b8f2d5125dcacc1e4e2579fe52fa10a /pkgs/applications/editors/ht | |
parent | 576464c74dc02d6ebb286f2a9f4b82d64d451ed1 (diff) |
ht: fix build with gcc10
It builds with -Wall and fails on -Wnarrowing.
Diffstat (limited to 'pkgs/applications/editors/ht')
-rw-r--r-- | pkgs/applications/editors/ht/default.nix | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/applications/editors/ht/default.nix b/pkgs/applications/editors/ht/default.nix index 096b69a5e82a7..2f1ea40359d50 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"; |