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:
parent
986f446674
commit
ca8903c3c2
@ -1,9 +1,8 @@
|
|||||||
{ stdenv, fetchurl, cmake, llvmPackages_37 }:
|
{ stdenv, fetchurl, cmake, llvmPackages }:
|
||||||
|
|
||||||
let
|
# Also bump llvmPackages in all-packages.nix to the supported version!
|
||||||
version = "0.5";
|
let version = "0.5"; in
|
||||||
llvmPackages = llvmPackages_37;
|
stdenv.mkDerivation rec {
|
||||||
in stdenv.mkDerivation rec {
|
|
||||||
name = "include-what-you-use-${version}";
|
name = "include-what-you-use-${version}";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
|
@ -5746,7 +5746,9 @@ let
|
|||||||
inherit (perlPackages) XMLSimple;
|
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 { };
|
indent = callPackage ../development/tools/misc/indent { };
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user