git.iko.soy/typeable/nixpkgs
on master help sign in
tests.cc-wrapper: do not test sanitizers on darwin

They are not supported yet. https://github.com/NixOS/nixpkgs/pull/41284#issuecomment-394977350

commit07ebb8bb792be16de33596e2cea120eb72b2ec77 authorOrivej Desh <orivej@gmx.fr> dateWed 6 Jun 2018, 07:59 (8 years ago) parent0b97cb6
1 file changed+2−1
pkgs/test/cc-wrapper/default.nix+2−1
pkgs/test/cc-wrapper/default.nix+2−1
@@ -1,8 +1,9 @@
11{ stdenv }:
22with stdenv.lib;
33let
4+ # Sanitizers are not supported on Darwin.
45 # 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;
67in stdenv.mkDerivation {
78 name = "cc-wrapper-test";
89