espflash: fix build on darwin

This commit is contained in:
Weijia Wang 2024-03-28 12:04:37 +01:00
parent bc55ffb14a
commit 495212307e
2 changed files with 3 additions and 1 deletions

View file

@ -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
];

View file

@ -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;