mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-06-05 21:03:40 +00:00
clazy: migrate to by-name, migrate llvmpackages.stdenv from top-level (#486123)
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user