mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-06 17:13:24 -05:00
clazy: migrate to by-name, migrate llvmpackages.stdenv from top-level (#486123)
This commit is contained in:
commit
1e6a23573e
2 changed files with 1 additions and 6 deletions
|
|
@ -1,6 +1,5 @@
|
|||
{
|
||||
lib,
|
||||
stdenv,
|
||||
fetchFromGitHub,
|
||||
llvmPackages,
|
||||
cmake,
|
||||
|
|
@ -9,7 +8,7 @@
|
|||
gitUpdater,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
llvmPackages.stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "clazy";
|
||||
version = "1.15";
|
||||
|
||||
|
|
@ -3514,10 +3514,6 @@ with pkgs;
|
|||
|
||||
clang-tools = llvmPackages.clang-tools;
|
||||
|
||||
clazy = callPackage ../development/tools/analysis/clazy {
|
||||
stdenv = llvmPackages.stdenv;
|
||||
};
|
||||
|
||||
#Use this instead of stdenv to build with clang
|
||||
clangStdenv = if stdenv.cc.isClang then stdenv else lowPrio llvmPackages.stdenv;
|
||||
libcxxStdenv = if stdenv.hostPlatform.isDarwin then stdenv else lowPrio llvmPackages.libcxxStdenv;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue