pict-rs: move env variable(s) into env for structuredAttrs

This commit is contained in:
Stefan Frijters
2026-02-11 10:43:49 +01:00
parent 5876c2225f
commit 24663f9127
+5 -3
View File
@@ -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 ];