From 4d70496ebb38796fea4f5c81079e031efb3fd959 Mon Sep 17 00:00:00 2001 From: Pascal Wittmann Date: Mon, 1 Jun 2015 12:07:46 +0200 Subject: [PATCH] sails: don't treat warnings as errors to fix the build Reported upstream as kragniz/sails/issues/18 --- pkgs/misc/sails/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/misc/sails/default.nix b/pkgs/misc/sails/default.nix index f6ccbf9ec76..ed965f73b92 100644 --- a/pkgs/misc/sails/default.nix +++ b/pkgs/misc/sails/default.nix @@ -10,6 +10,8 @@ stdenv.mkDerivation rec { buildInputs = [ cmake pkgconfig gtk3 librsvg ]; + NIX_CFLAGS_COMPILE = "-Wno-error"; + meta = with stdenv.lib; { description = "Simulator for autonomous sailing boats"; homepage = https://github.com/kragniz/sails;