include-what-you-use: use unversioned llvm attribute

...in the expression itself, while hard-coding the officially supported
version in all-packages.nix for sanity's sake (mine).
This commit is contained in:
Tobias Geerinckx-Rice 2015-12-20 03:22:24 +01:00
parent 986f446674
commit ca8903c3c2
2 changed files with 7 additions and 6 deletions

View File

@ -1,9 +1,8 @@
{ stdenv, fetchurl, cmake, llvmPackages_37 }:
{ stdenv, fetchurl, cmake, llvmPackages }:
let
version = "0.5";
llvmPackages = llvmPackages_37;
in stdenv.mkDerivation rec {
# Also bump llvmPackages in all-packages.nix to the supported version!
let version = "0.5"; in
stdenv.mkDerivation rec {
name = "include-what-you-use-${version}";
src = fetchurl {

View File

@ -5746,7 +5746,9 @@ let
inherit (perlPackages) XMLSimple;
};
include-what-you-use = callPackage ../development/tools/analysis/include-what-you-use { };
include-what-you-use = callPackage ../development/tools/analysis/include-what-you-use {
llvmPackages = llvmPackages_37;
};
indent = callPackage ../development/tools/misc/indent { };