summary refs log tree commit diff
path: root/pkgs/tools/misc/toybox
diff options
context:
space:
mode:
authorMatthew Bauer <mjbauer95@gmail.com>2019-04-22 22:36:35 -0400
committerMatthew Bauer <mjbauer95@gmail.com>2019-04-26 21:55:04 -0400
commit724e833ea2a9d1b16f7289e1244d0d7ff56d027b (patch)
tree7081889ff591cca1fb947c4c051b91d73b4eaf75 /pkgs/tools/misc/toybox
parentd1f988ca3c22baf0e637eb1f082a49cad2c4ea31 (diff)
downloadnixpkgs-724e833ea2a9d1b16f7289e1244d0d7ff56d027b.tar
nixpkgs-724e833ea2a9d1b16f7289e1244d0d7ff56d027b.tar.gz
nixpkgs-724e833ea2a9d1b16f7289e1244d0d7ff56d027b.tar.bz2
nixpkgs-724e833ea2a9d1b16f7289e1244d0d7ff56d027b.tar.lz
nixpkgs-724e833ea2a9d1b16f7289e1244d0d7ff56d027b.tar.xz
nixpkgs-724e833ea2a9d1b16f7289e1244d0d7ff56d027b.tar.zst
nixpkgs-724e833ea2a9d1b16f7289e1244d0d7ff56d027b.zip
treewide: disable -Werror for llvm 7
Some of these have errors on newest llvm. It’s easiest to just add
-Wno-error in these cases.
Diffstat (limited to 'pkgs/tools/misc/toybox')
-rw-r--r--pkgs/tools/misc/toybox/default.nix2
1 files changed, 2 insertions, 0 deletions
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/;