diff --git a/pkgs/applications/editors/mg/default.nix b/pkgs/applications/editors/mg/default.nix index 45a527c7484..95a6205125b 100644 --- a/pkgs/applications/editors/mg/default.nix +++ b/pkgs/applications/editors/mg/default.nix @@ -12,6 +12,9 @@ stdenv.mkDerivation rec { patches = [ ./configure.patch ]; patchFlags = "-p0"; + NIX_CFLAGS_COMPILE = "-Wno-error"; + buildFlags = [ "CC=cc" ]; + installPhase = '' mkdir -p $out/bin cp mg $out/bin