From 8c69b9851d49131e83f4125bbf2447ef98f4eb33 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Thu, 19 Feb 2026 00:45:13 +0100 Subject: [PATCH] syncthing: move env variables into env for structuredAttrs --- pkgs/applications/networking/syncthing/default.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/networking/syncthing/default.nix b/pkgs/applications/networking/syncthing/default.nix index 8e68c1e9f0a7..f41cd2b75748 100644 --- a/pkgs/applications/networking/syncthing/default.nix +++ b/pkgs/applications/networking/syncthing/default.nix @@ -41,8 +41,10 @@ let doCheck = false; - BUILD_USER = "nix"; - BUILD_HOST = "nix"; + env = { + BUILD_USER = "nix"; + BUILD_HOST = "nix"; + }; buildPhase = '' runHook preBuild