summary refs log tree commit diff
path: root/pkgs/applications
diff options
context:
space:
mode:
authorOrivej Desh <orivej@gmx.fr>2021-02-06 11:38:10 +0000
committerOrivej Desh <orivej@gmx.fr>2021-02-06 11:39:57 +0000
commit671fd3a3c13383cc1d7805e2b7854b5226205d07 (patch)
tree8da384d80b8f2d5125dcacc1e4e2579fe52fa10a /pkgs/applications
parent576464c74dc02d6ebb286f2a9f4b82d64d451ed1 (diff)
downloadnixpkgs-671fd3a3c13383cc1d7805e2b7854b5226205d07.tar
nixpkgs-671fd3a3c13383cc1d7805e2b7854b5226205d07.tar.gz
nixpkgs-671fd3a3c13383cc1d7805e2b7854b5226205d07.tar.bz2
nixpkgs-671fd3a3c13383cc1d7805e2b7854b5226205d07.tar.lz
nixpkgs-671fd3a3c13383cc1d7805e2b7854b5226205d07.tar.xz
nixpkgs-671fd3a3c13383cc1d7805e2b7854b5226205d07.tar.zst
nixpkgs-671fd3a3c13383cc1d7805e2b7854b5226205d07.zip
ht: fix build with gcc10
It builds with -Wall and fails on -Wnarrowing.
Diffstat (limited to 'pkgs/applications')
-rw-r--r--pkgs/applications/editors/ht/default.nix2
1 files changed, 2 insertions, 0 deletions
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";