diff options
author | Vladimír Čunát <v@cunat.cz> | 2023-04-12 09:34:40 +0200 |
---|---|---|
committer | Vladimír Čunát <v@cunat.cz> | 2023-04-12 09:37:24 +0200 |
commit | ac3acd956f730fa9870d4488c91699c8e2892a39 (patch) | |
tree | 2cdaadbabe8567b02c20066ab8fde403e0fffff2 /pkgs/top-level | |
parent | 4d4fee11d0e324f25df68d2fc195c581381149be (diff) |
cc-wrapper: add optional temporary hack for -B
This fixes parts in llvmPackages_{13,rocm} e.g. build .clang for testing. Longterm mass-rebuild fix should come in PR #225846
Diffstat (limited to 'pkgs/top-level')
-rw-r--r-- | pkgs/top-level/all-packages.nix | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 70112095ea57c..64e2a60469c57 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -15558,6 +15558,9 @@ with pkgs; llvmPackages_rocm = recurseIntoAttrs (callPackage ../development/compilers/llvm/rocm { }); + # temporary hack; see PR #225846 + stdenv-tmpDropB = overrideCC stdenv (wrapCCWith { tmpDropB = true; inherit (stdenv.cc) cc; }); + lorri = callPackage ../tools/misc/lorri { inherit (darwin.apple_sdk.frameworks) CoreServices Security; }; |