From 495212307ee5eee425325be3111ef02e6b816827 Mon Sep 17 00:00:00 2001 From: Weijia Wang <9713184+wegank@users.noreply.github.com> Date: Thu, 28 Mar 2024 12:04:37 +0100 Subject: [PATCH] espflash: fix build on darwin --- pkgs/by-name/es/espflash/package.nix | 2 ++ pkgs/top-level/all-packages.nix | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/pkgs/by-name/es/espflash/package.nix b/pkgs/by-name/es/espflash/package.nix index ec2c283f6935..5615e3cf8cf8 100644 --- a/pkgs/by-name/es/espflash/package.nix +++ b/pkgs/by-name/es/espflash/package.nix @@ -6,6 +6,7 @@ , installShellFiles , udev , stdenv +, CoreServices , Security , nix-update-script , openssl @@ -34,6 +35,7 @@ rustPlatform.buildRustPackage rec { buildInputs = [ openssl ] ++ lib.optionals stdenv.isLinux [ udev ] ++ lib.optionals stdenv.isDarwin [ + CoreServices Security SystemConfiguration ]; diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index bab08f433b80..702fa132c1ab 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -31020,7 +31020,7 @@ with pkgs; espeakup = callPackage ../applications/accessibility/espeakup { }; espflash = callPackage ../by-name/es/espflash/package.nix { - inherit (darwin.apple_sdk.frameworks) Security SystemConfiguration; + inherit (darwin.apple_sdk.frameworks) CoreServices Security SystemConfiguration; }; etebase-server = with python3Packages; toPythonApplication etebase-server;