diff options
author | Matthew Bauer <mjbauer95@gmail.com> | 2016-08-11 23:02:00 -0500 |
---|---|---|
committer | Matthew Bauer <mjbauer95@gmail.com> | 2016-08-16 19:25:43 +0000 |
commit | fc9508d3878b5df71006c6992e59303292f1eb12 (patch) | |
tree | 3122651ac6db19770e8d70ba61425739b00f7e83 /pkgs/applications/editors/mg/default.nix | |
parent | 0acdc51d0e928efb81b6a50597e7bc35ad0c1762 (diff) | |
download | nixpkgs-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.nix | 3 |
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 |