From 0e2ed4b8ae1a00b7543e985add2dbb45157649b8 Mon Sep 17 00:00:00 2001 From: Raphael Robatsch Date: Sun, 18 Sep 2022 22:28:31 +0200 Subject: [PATCH] lttng-ust: reduce runtime closure size --- pkgs/development/tools/misc/lttng-ust/generic.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/development/tools/misc/lttng-ust/generic.nix b/pkgs/development/tools/misc/lttng-ust/generic.nix index e6e67352c859..56ad3b19e520 100644 --- a/pkgs/development/tools/misc/lttng-ust/generic.nix +++ b/pkgs/development/tools/misc/lttng-ust/generic.nix @@ -22,6 +22,8 @@ stdenv.mkDerivation rec { inherit sha256; }; + outputs = [ "bin" "out" "dev" "devdoc" ]; + nativeBuildInputs = [ pkg-config ]; buildInputs = [ numactl python3 ]; @@ -29,6 +31,8 @@ stdenv.mkDerivation rec { patchShebangs . ''; + configureFlags = [ "--disable-examples" ]; + propagatedBuildInputs = [ liburcu ]; enableParallelBuilding = true;