Commit 6fe87d15 authored by Alyssa Ross's avatar Alyssa Ross
Browse files

linuxPackages.perf: only use systemtap where available

Fixes pkgsMusl.perf.
parent 1d86b757
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -108,7 +108,6 @@ stdenv.mkDerivation {
    libunwind
    zlib
    openssl
    systemtap.stapBuild
    numactl
    python3
    perl
@@ -116,6 +115,7 @@ stdenv.mkDerivation {
  ] ++ (if (lib.versionAtLeast kernel.version "5.19")
  then [ libbfd libopcodes ]
  else [ libbfd_2_38 libopcodes_2_38 ])
  ++ lib.optional (lib.meta.availableOn stdenv.hostPlatform systemtap) systemtap.stapBuild
  ++ lib.optional withGtk gtk2
  ++ lib.optional withZstd zstd
  ++ lib.optional withLibcap libcap