From b4088bcecb587cf9c4cdfbd7c36c3356faf1b177 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Wed, 31 Dec 2025 10:57:30 +0100 Subject: [PATCH] python3Modules.mitmproxy-linux: move RUSTFLAGS env variables into env for structuredAttrs --- pkgs/development/python-modules/mitmproxy-linux/default.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/mitmproxy-linux/default.nix b/pkgs/development/python-modules/mitmproxy-linux/default.nix index 0dd4551a55e4..342ef131b55b 100644 --- a/pkgs/development/python-modules/mitmproxy-linux/default.nix +++ b/pkgs/development/python-modules/mitmproxy-linux/default.nix @@ -26,8 +26,10 @@ buildPythonPackage { patch -p1 < tmp.diff ''; - RUSTFLAGS = "-C target-feature="; - RUSTC_BOOTSTRAP = 1; + env = { + RUSTFLAGS = "-C target-feature="; + RUSTC_BOOTSTRAP = 1; + }; buildAndTestSubdir = "mitmproxy-linux";