mg: fix darwin build

-Wno-error is needed
This commit is contained in:
Matthew Bauer 2016-08-11 23:02:00 -05:00
parent 0acdc51d0e
commit fc9508d387

View File

@ -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