boost: Fix cross-compilation

This commit is contained in:
Shea Levy 2018-02-27 17:58:09 -05:00
parent a5bb01b153
commit 1f2701379a
No known key found for this signature in database
GPG Key ID: 5C0BD6957D86FE27
1 changed files with 2 additions and 1 deletions

View File

@ -1,4 +1,4 @@
{ stdenv, callPackage, fetchurl, ... } @ args: { stdenv, callPackage, fetchurl, hostPlatform, buildPlatform, ... } @ args:
callPackage ./generic.nix (args // rec { callPackage ./generic.nix (args // rec {
version = "1.66_0"; version = "1.66_0";
@ -9,4 +9,5 @@ callPackage ./generic.nix (args // rec {
sha256 = "5721818253e6a0989583192f96782c4a98eb6204965316df9f5ad75819225ca9"; sha256 = "5721818253e6a0989583192f96782c4a98eb6204965316df9f5ad75819225ca9";
}; };
toolset = if stdenv.cc.isClang then "clang" else null;
}) })