systemtap-sdt: init (#392921)

This commit is contained in:
jade
2025-03-25 12:03:44 -07:00
committed by GitHub
3 changed files with 12 additions and 2 deletions
+1 -1
View File
@@ -65,7 +65,7 @@ let
else
"2.0-0.lib";
systemtap' = buildPackages.linuxPackages.systemtap.override { withStap = false; };
systemtap' = buildPackages.systemtap-sdt;
withDtrace =
lib.meta.availableOn stdenv.buildPlatform systemtap'
+10
View File
@@ -0,0 +1,10 @@
{ linuxPackages }:
linuxPackages.systemtap.override {
withStap = false;
}
// {
meta = linuxPackages.systemtap.meta // {
description = "Build USDT tracepoints with the 'dtrace' executable on Linux";
mainProgram = "dtrace";
};
}
@@ -11,7 +11,7 @@
gnumake,
python3,
nixosTests,
withStap ? true, # avoid cyclic dependency with glib
withStap ? true, # avoid cyclic dependency with glib, reduce closure size substantially
}:
let