Fix detection of clang toolset

This makes boost buildable under clangStdenv and libcxxStdenv on non-darwin.
This commit is contained in:
Benjamin Saunders 2015-06-28 21:35:43 +02:00
parent e1af50c4c4
commit d596c3c4c2

View File

@ -1,5 +1,5 @@
{ stdenv, icu, expat, zlib, bzip2, python, fixDarwinDylibNames
, toolset ? if stdenv.isDarwin then "clang" else null
, toolset ? if stdenv.cc.isClang then "clang" else null
, enableRelease ? true
, enableDebug ? false
, enableSingleThreaded ? false