summary refs log tree commit diff
path: root/pkgs/development/libraries/boost/1.66.nix
diff options
context:
space:
mode:
authorShea Levy <shea@shealevy.com>2018-02-27 17:58:09 -0500
committerShea Levy <shea@shealevy.com>2018-02-28 15:01:31 -0500
commit1f2701379a1f4471aa8a4ce85cee1600679aa4d9 (patch)
tree8820672e037a273e2821f8c693b3dca1fdf0ffe5 /pkgs/development/libraries/boost/1.66.nix
parenta5bb01b15310d91ef2e6906dc8f234e9f09841e2 (diff)
downloadnixpkgs-1f2701379a1f4471aa8a4ce85cee1600679aa4d9.tar
nixpkgs-1f2701379a1f4471aa8a4ce85cee1600679aa4d9.tar.gz
nixpkgs-1f2701379a1f4471aa8a4ce85cee1600679aa4d9.tar.bz2
nixpkgs-1f2701379a1f4471aa8a4ce85cee1600679aa4d9.tar.lz
nixpkgs-1f2701379a1f4471aa8a4ce85cee1600679aa4d9.tar.xz
nixpkgs-1f2701379a1f4471aa8a4ce85cee1600679aa4d9.tar.zst
nixpkgs-1f2701379a1f4471aa8a4ce85cee1600679aa4d9.zip
boost: Fix cross-compilation
Diffstat (limited to 'pkgs/development/libraries/boost/1.66.nix')
-rw-r--r--pkgs/development/libraries/boost/1.66.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/pkgs/development/libraries/boost/1.66.nix b/pkgs/development/libraries/boost/1.66.nix
index 3fd9c160824..02cf511a6fd 100644
--- a/pkgs/development/libraries/boost/1.66.nix
+++ b/pkgs/development/libraries/boost/1.66.nix
@@ -1,4 +1,4 @@
-{ stdenv, callPackage, fetchurl, ... } @ args:
+{ stdenv, callPackage, fetchurl, hostPlatform, buildPlatform, ... } @ args:
 
 callPackage ./generic.nix (args // rec {
   version = "1.66_0";
@@ -9,4 +9,5 @@ callPackage ./generic.nix (args // rec {
     sha256 = "5721818253e6a0989583192f96782c4a98eb6204965316df9f5ad75819225ca9";
   };
 
+  toolset = if stdenv.cc.isClang then "clang" else null;
 })