From d596c3c4c26d8b8cd9732476945b07f7a102b3a4 Mon Sep 17 00:00:00 2001 From: Benjamin Saunders Date: Sun, 28 Jun 2015 21:35:43 +0200 Subject: [PATCH] Fix detection of clang toolset This makes boost buildable under clangStdenv and libcxxStdenv on non-darwin. --- pkgs/development/libraries/boost/generic.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/libraries/boost/generic.nix b/pkgs/development/libraries/boost/generic.nix index cd98c0a312be..727aa743f4f8 100644 --- a/pkgs/development/libraries/boost/generic.nix +++ b/pkgs/development/libraries/boost/generic.nix @@ -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