systemtap-sdt: init

This is an API-stable alias for "systemtap *just* for creating trace
points". The use case for this is that the main systemtap package has an
annoyingly large closure size of Linux version dependent stuff, which is
unnecessary for building trace points.

I am adding this after needing the same override for Lix.

+12 -2
+1 -1
pkgs/by-name/gl/glib/package.nix
··· 65 65 else 66 66 "2.0-0.lib"; 67 67 68 - systemtap' = buildPackages.linuxPackages.systemtap.override { withStap = false; }; 68 + systemtap' = buildPackages.systemtap-sdt; 69 69 70 70 withDtrace = 71 71 lib.meta.availableOn stdenv.buildPlatform systemtap'
+10
pkgs/by-name/sy/systemtap-sdt/package.nix
··· 1 + { linuxPackages }: 2 + linuxPackages.systemtap.override { 3 + withStap = false; 4 + } 5 + // { 6 + meta = linuxPackages.systemtap.meta // { 7 + description = "Build USDT tracepoints with the 'dtrace' executable on Linux"; 8 + mainProgram = "dtrace"; 9 + }; 10 + }
+1 -1
pkgs/development/tools/profiling/systemtap/default.nix
··· 11 11 gnumake, 12 12 python3, 13 13 nixosTests, 14 - withStap ? true, # avoid cyclic dependency with glib 14 + withStap ? true, # avoid cyclic dependency with glib, reduce closure size substantially 15 15 }: 16 16 17 17 let