about summary refs log tree commit diff
path: root/pkgs/applications/editors/mg/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/applications/editors/mg/default.nix')
-rw-r--r--pkgs/applications/editors/mg/default.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/pkgs/applications/editors/mg/default.nix b/pkgs/applications/editors/mg/default.nix
index 45a527c7484e..95a6205125b0 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