diff --git a/pkgs/development/tools/profiling/heaptrack/default.nix b/pkgs/by-name/he/heaptrack/package.nix similarity index 87% rename from pkgs/development/tools/profiling/heaptrack/default.nix rename to pkgs/by-name/he/heaptrack/package.nix index e5f6e15696d0..a663250988f0 100644 --- a/pkgs/development/tools/profiling/heaptrack/default.nix +++ b/pkgs/by-name/he/heaptrack/package.nix @@ -3,7 +3,6 @@ stdenv, fetchFromGitLab, cmake, - extra-cmake-modules, makeBinaryWrapper, zlib, boost, @@ -11,14 +10,7 @@ elfutils, sparsehash, zstd, - qtbase, - wrapQtAppsHook, - kio, - kitemmodels, - threadweaver, - kconfigwidgets, - kcoreaddons, - kdiagram, + kdePackages, }: stdenv.mkDerivation { @@ -35,9 +27,9 @@ stdenv.mkDerivation { nativeBuildInputs = [ cmake - extra-cmake-modules + kdePackages.extra-cmake-modules makeBinaryWrapper - wrapQtAppsHook + kdePackages.wrapQtAppsHook ]; buildInputs = [ @@ -46,6 +38,8 @@ stdenv.mkDerivation { libunwind sparsehash zstd + ] + ++ (with kdePackages; [ qtbase kio kitemmodels @@ -53,7 +47,8 @@ stdenv.mkDerivation { kconfigwidgets kcoreaddons kdiagram - ] + ]) + ++ lib.optionals stdenv.hostPlatform.isLinux [ elfutils ]; diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index f9caf1068efe..6edf05ed98b4 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -3091,8 +3091,6 @@ with pkgs; threadsafe = true; }; - heaptrack = kdePackages.callPackage ../development/tools/profiling/heaptrack { }; - headscale = callPackage ../servers/headscale { }; highlight = callPackage ../tools/text/highlight {