forked from mirrors/nixpkgs
cc-wrapper-test: do not test sanitizers on darwin
This commit is contained in:
parent
57ff6191af
commit
8643dbc57e
|
@ -3,7 +3,7 @@
|
|||
let
|
||||
# Sanitizers are not supported on Darwin.
|
||||
# Sanitizer headers aren't available in older libc++ stdenvs due to a bug
|
||||
sanitizersWorking = !stdenv.hostPlatform.isMusl && (
|
||||
sanitizersWorking = !stdenv.isDarwin && !stdenv.hostPlatform.isMusl && (
|
||||
(stdenv.cc.isClang && lib.versionAtLeast (lib.getVersion stdenv.cc.name) "5.0.0")
|
||||
|| (stdenv.cc.isGNU && stdenv.isLinux)
|
||||
);
|
||||
|
|
Loading…
Reference in a new issue