summaryrefslogtreecommitdiffstats
path: root/pkgs/applications/editors/mg
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
parent0acdc51d0e928efb81b6a50597e7bc35ad0c1762 (diff)
mg: fix darwin build
-Wno-error is needed
Diffstat (limited to 'pkgs/applications/editors/mg')
-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