summary refs log tree commit diff
path: root/pkgs/applications/editors/mg/default.nix
diff options
context:
space:
mode:
authorMatthew Bauer <mjbauer95@gmail.com>2016-08-11 23:02:00 -0500
committerMatthew Bauer <mjbauer95@gmail.com>2016-08-16 19:25:43 +0000
commitfc9508d3878b5df71006c6992e59303292f1eb12 (patch)
tree3122651ac6db19770e8d70ba61425739b00f7e83 /pkgs/applications/editors/mg/default.nix
parent0acdc51d0e928efb81b6a50597e7bc35ad0c1762 (diff)
downloadnixpkgs-fc9508d3878b5df71006c6992e59303292f1eb12.tar
nixpkgs-fc9508d3878b5df71006c6992e59303292f1eb12.tar.gz
nixpkgs-fc9508d3878b5df71006c6992e59303292f1eb12.tar.bz2
nixpkgs-fc9508d3878b5df71006c6992e59303292f1eb12.tar.lz
nixpkgs-fc9508d3878b5df71006c6992e59303292f1eb12.tar.xz
nixpkgs-fc9508d3878b5df71006c6992e59303292f1eb12.tar.zst
nixpkgs-fc9508d3878b5df71006c6992e59303292f1eb12.zip
mg: fix darwin build
-Wno-error is needed
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 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