From 38a262872ab696dfaff536bdfbab7c8c711a5ec2 Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Sun, 19 Jul 2020 21:54:32 +0100 Subject: chore(3p/nix): Compile under `-Wall -Werror` Change-Id: Ia44c68678a0b62e14228fafec88e7591ce3f4cee Reviewed-on: https://cl.tvl.fyi/c/depot/+/1295 Tested-by: BuildkiteCI Reviewed-by: glittershark --- third_party/nix/default.nix | 1 + 1 file changed, 1 insertion(+) (limited to 'third_party') diff --git a/third_party/nix/default.nix b/third_party/nix/default.nix index 1ab729e43af5..bbd0e0120a1d 100644 --- a/third_party/nix/default.nix +++ b/third_party/nix/default.nix @@ -81,6 +81,7 @@ in pkgs.llvmPackages.libcxxStdenv.mkDerivation { mkdir build cd build cmake .. \ + -DCMAKE_CXX_FLAGS='-Wall -Werror' \ -DCMAKE_INSTALL_PREFIX=$out \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_FIND_USE_SYSTEM_PACKAGE_REGISTRY=OFF \ -- cgit 1.4.1