From 724e833ea2a9d1b16f7289e1244d0d7ff56d027b Mon Sep 17 00:00:00 2001 From: Matthew Bauer Date: Mon, 22 Apr 2019 22:36:35 -0400 Subject: treewide: disable -Werror for llvm 7 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Some of these have errors on newest llvm. It’s easiest to just add -Wno-error in these cases. --- pkgs/tools/misc/toybox/default.nix | 2 ++ 1 file changed, 2 insertions(+) (limited to 'pkgs/tools/misc/toybox') diff --git a/pkgs/tools/misc/toybox/default.nix b/pkgs/tools/misc/toybox/default.nix index 98fa06bccfd..1b518be63a5 100644 --- a/pkgs/tools/misc/toybox/default.nix +++ b/pkgs/tools/misc/toybox/default.nix @@ -54,6 +54,8 @@ stdenv.mkDerivation rec { checkInputs = [ which ]; # used for tests with checkFlags = [ "DEBUG=true" ]; checkTarget = "tests"; + NIX_CFLAGS_COMPILE = "-Wno-error"; + meta = with stdenv.lib; { description = "Lightweight implementation of some Unix command line utilities"; homepage = https://landley.net/toybox/; -- cgit 1.4.1