From fc9508d3878b5df71006c6992e59303292f1eb12 Mon Sep 17 00:00:00 2001 From: Matthew Bauer Date: Thu, 11 Aug 2016 23:02:00 -0500 Subject: [PATCH] mg: fix darwin build -Wno-error is needed --- pkgs/applications/editors/mg/default.nix | 3 +++ 1 file changed, 3 insertions(+) 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