Merge pull request #118313 from sternenseemann/static-llvm-stdenvs
pkgsStatic: apply stdenvAdapters to all llvm stdenvs
This commit is contained in:
commit
3f3f8316d3
1 changed files with 16 additions and 2 deletions
|
@ -83,15 +83,29 @@ self: super: let
|
|||
});
|
||||
};
|
||||
|
||||
llvmStaticAdapter = llvmPackages:
|
||||
llvmPackages // {
|
||||
stdenv = foldl (flip id) llvmPackages.stdenv staticAdapters;
|
||||
libcxxStdenv = foldl (flip id) llvmPackages.libcxxStdenv staticAdapters;
|
||||
};
|
||||
|
||||
in {
|
||||
stdenv = foldl (flip id) super.stdenv staticAdapters;
|
||||
|
||||
gcc49Stdenv = foldl (flip id) super.gcc49Stdenv staticAdapters;
|
||||
gcc6Stdenv = foldl (flip id) super.gcc6Stdenv staticAdapters;
|
||||
gcc7Stdenv = foldl (flip id) super.gcc7Stdenv staticAdapters;
|
||||
gcc8Stdenv = foldl (flip id) super.gcc8Stdenv staticAdapters;
|
||||
gcc9Stdenv = foldl (flip id) super.gcc9Stdenv staticAdapters;
|
||||
clangStdenv = foldl (flip id) super.clangStdenv staticAdapters;
|
||||
libcxxStdenv = foldl (flip id) super.libcxxStdenv staticAdapters;
|
||||
|
||||
llvmPackages_5 = llvmStaticAdapter super.llvmPackages_5;
|
||||
llvmPackages_6 = llvmStaticAdapter super.llvmPackages_6;
|
||||
llvmPackages_7 = llvmStaticAdapter super.llvmPackages_7;
|
||||
llvmPackages_8 = llvmStaticAdapter super.llvmPackages_8;
|
||||
llvmPackages_9 = llvmStaticAdapter super.llvmPackages_9;
|
||||
llvmPackages_10 = llvmStaticAdapter super.llvmPackages_10;
|
||||
llvmPackages_11 = llvmStaticAdapter super.llvmPackages_11;
|
||||
llvmPackages_12 = llvmStaticAdapter super.llvmPackages_12;
|
||||
|
||||
boost = super.boost.override {
|
||||
# Don’t use new stdenv for boost because it doesn’t like the
|
||||
|
|
Loading…
Reference in a new issue