diff options
author | Vincent Ambo <mail@tazj.in> | 2020-07-19T20·54+0100 |
---|---|---|
committer | tazjin <mail@tazj.in> | 2020-07-20T16·47+0000 |
commit | 38a262872ab696dfaff536bdfbab7c8c711a5ec2 (patch) | |
tree | 84a536244c78be74f5552eaf56e2bd8ce952695e | |
parent | 572ec6ef4cddb1055c981802ceec5e6069fd08a3 (diff) |
chore(3p/nix): Compile under `-Wall -Werror` r/1413
Change-Id: Ia44c68678a0b62e14228fafec88e7591ce3f4cee Reviewed-on: https://cl.tvl.fyi/c/depot/+/1295 Tested-by: BuildkiteCI Reviewed-by: glittershark <grfn@gws.fyi>
-rw-r--r-- | third_party/nix/default.nix | 1 |
1 files changed, 1 insertions, 0 deletions
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 \ |