From 24663f912726328b80a6f0d8f2c0eaaf746d84ba Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Mon, 9 Feb 2026 22:27:33 +0100 Subject: [PATCH] pict-rs: move env variable(s) into env for structuredAttrs --- pkgs/by-name/pi/pict-rs/package.nix | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/pkgs/by-name/pi/pict-rs/package.nix b/pkgs/by-name/pi/pict-rs/package.nix index a781bae7ec5f..799970263a7b 100644 --- a/pkgs/by-name/pi/pict-rs/package.nix +++ b/pkgs/by-name/pi/pict-rs/package.nix @@ -25,9 +25,11 @@ rustPlatform.buildRustPackage (finalAttrs: { cargoHash = "sha256-wZRWusETLl32BJy5lza4Bvix500VkpXLUpQb5aO8yJ0="; - # needed for internal protobuf c wrapper library - PROTOC = "${protobuf}/bin/protoc"; - PROTOC_INCLUDE = "${protobuf}/include"; + env = { + # needed for internal protobuf c wrapper library + PROTOC = "${protobuf}/bin/protoc"; + PROTOC_INCLUDE = "${protobuf}/include"; + }; nativeBuildInputs = [ makeWrapper ];