summaryrefslogtreecommitdiffstats
path: root/pkgs/applications/editors/hexcurse
diff options
context:
space:
mode:
authorFranz Pletz <fpletz@fnordicwalking.de>2019-11-03 13:20:38 +0100
committerFranz Pletz <fpletz@fnordicwalking.de>2019-11-03 14:43:34 +0100
commit1be138caa4e4c089ef91e25f5b2c69cae9f8c07d (patch)
treee8626afbd32ab5ec7d62f83f56cf5c84cf3979e4 /pkgs/applications/editors/hexcurse
parent65eb7fe785c5c49b2dd57641f00a37ec8908fdac (diff)
hexcurse: fix build with gcc9
Diffstat (limited to 'pkgs/applications/editors/hexcurse')
-rw-r--r--pkgs/applications/editors/hexcurse/default.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/pkgs/applications/editors/hexcurse/default.nix b/pkgs/applications/editors/hexcurse/default.nix
index a6437f070b98..c87694321f35 100644
--- a/pkgs/applications/editors/hexcurse/default.nix
+++ b/pkgs/applications/editors/hexcurse/default.nix
@@ -11,6 +11,7 @@ stdenv.mkDerivation rec {
sha256 = "17ckkxfzbqvvfdnh10if4aqdcq98q3vl6dn1v6f4lhr4ifnyjdlk";
};
buildInputs = [ ncurses ];
+ NIX_CFLAGS_COMPILE = [ "-Wno-error=stringop-overflow" "-Wno-error=stringop-truncation" ];
patches = [
# gcc7 compat
(fetchpatch {
@@ -23,7 +24,7 @@ stdenv.mkDerivation rec {
sha256 = "0v6gbp6pjpmnzswlf6d97aywiy015g3kcmfrrkspsbb7lh1y3nix";
})
];
-
+
meta = with lib; {
description = "ncurses-based console hexeditor written in C";
homepage = https://github.com/LonnyGomes/hexcurse;