tests.cc-wrapper: show more prominently what cc is being tested
Show what libc is used, otherwise there's indication what libc is being used. Ex in gccMultiStdenv.
This commit is contained in:
parent
8d650ed229
commit
1b6c3aed63
1 changed files with 5 additions and 1 deletions
|
@ -9,10 +9,14 @@ let
|
|||
);
|
||||
staticLibc = lib.optionalString (stdenv.hostPlatform.libc == "glibc") "-L ${glibc.static}/lib";
|
||||
emulator = stdenv.hostPlatform.emulator buildPackages;
|
||||
libcxxStdenvSuffix = lib.optionalString (stdenv.cc.libcxx != null) "-libcxx";
|
||||
in stdenv.mkDerivation {
|
||||
name = "cc-wrapper-test";
|
||||
pname = "cc-wrapper-test-${stdenv.cc.cc.pname}${libcxxStdenvSuffix}";
|
||||
version = stdenv.cc.version;
|
||||
|
||||
buildCommand = ''
|
||||
echo "Testing: ${stdenv.cc.name}" >&2
|
||||
echo "With libc: ${stdenv.cc.libc.name}" >&2
|
||||
set -o pipefail
|
||||
|
||||
NIX_DEBUG=1 $CC -v
|
||||
|
|
Loading…
Reference in a new issue