tests.cc-wrapper: do not test sanitizers on darwin

They are not supported yet.

https://github.com/NixOS/nixpkgs/pull/41284#issuecomment-394977350

+2 -1
+2 -1
pkgs/test/cc-wrapper/default.nix
··· 1 1 { stdenv }: 2 2 with stdenv.lib; 3 3 let 4 + # Sanitizers are not supported on Darwin. 4 5 # Sanitizer headers aren't available in older libc++ stdenvs due to a bug 5 - sanitizersBroken = stdenv.cc.isClang && builtins.compareVersions (getVersion stdenv.cc.name) "6.0.0" < 0; 6 + sanitizersBroken = stdenv.isDarwin || stdenv.cc.isClang && builtins.compareVersions (getVersion stdenv.cc.name) "6.0.0" < 0; 6 7 in stdenv.mkDerivation { 7 8 name = "cc-wrapper-test"; 8 9