From 5ee796687ed57fc4d3700f4bd9e0cf03ddbe7089 Mon Sep 17 00:00:00 2001 From: Antoine du Hamel Date: Tue, 25 Aug 2026 00:17:22 +0200 Subject: [PATCH] temporal_capi: introduce a `dev` output, enable `__structuredAttrs` --- pkgs/by-name/te/temporal_capi/package.nix | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/pkgs/by-name/te/temporal_capi/package.nix b/pkgs/by-name/te/temporal_capi/package.nix index 310c3e75a465..9442a6953ac7 100644 --- a/pkgs/by-name/te/temporal_capi/package.nix +++ b/pkgs/by-name/te/temporal_capi/package.nix @@ -20,6 +20,12 @@ rustPlatform.buildRustPackage (finalAttrs: { hash = "sha256-nKE5n/ingB/+sEPJvpUQVsjCn+4/EPpcfZAM91CCZDE="; }; + __structuredAttrs = true; + outputs = [ + "out" + "dev" + ]; + cargoHash = "sha256-sE4I1TW6XEgdqcPL0kRHQ+usb1UYIvbf8ujpJHu4LXo="; postPatch = '' @@ -79,7 +85,7 @@ rustPlatform.buildRustPackage (finalAttrs: { installCheckPhase = '' runHook preInstallCheck - FLAGS=$(PKG_CONFIG_PATH="$out/lib/pkgconfig" pkg-config --cflags --libs temporal_capi) + FLAGS=$(PKG_CONFIG_PATH="$dev/lib/pkgconfig" pkg-config --cflags --libs temporal_capi) cc $FLAGS temporal_capi/tests/c/simple.c -o c_test ./c_test c++ $FLAGS temporal_capi/tests/cpp/simple.cpp -o cpp_test