From f28e94a17915582cf30d54aa1d25d33acfc8ff48 Mon Sep 17 00:00:00 2001 From: Piotr Bogdan Date: Fri, 9 Mar 2018 12:36:45 +0000 Subject: [PATCH] mps: fix build with gcc7 --- pkgs/development/libraries/mps/default.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pkgs/development/libraries/mps/default.nix b/pkgs/development/libraries/mps/default.nix index 5a841f165ca..aac9dc7f727 100644 --- a/pkgs/development/libraries/mps/default.nix +++ b/pkgs/development/libraries/mps/default.nix @@ -12,6 +12,12 @@ stdenv.mkDerivation rec { nativeBuildInputs = [ autoreconfHook ]; buildInputs = [ sqlite ]; + # needed for 1.116.0 to build with gcc7 + NIX_CFLAGS_COMPILE = [ + "-Wno-implicit-fallthrough" + ]; + + meta = { description = "A flexible memory management and garbage collection library"; homepage = "https://www.ravenbrook.com/project/mps";