chore(flake.nix): Add missing macOS-specific dependencies of enso-formatter (#11430)

When compiling the `enso-formatter` binary for use in `~/.cargo/bin` (for the `cloud-v2` repo), the formatter requires some additional dependencies that are not currently provided in the nix build environment. This PR adds those dependencies to `flake.nix` so that `enso-formatter` compiles successfully.

cc @somebody1234
This commit is contained in:
Nikita Pekin 2024-10-30 13:15:37 +02:00 committed by GitHub
parent 39c44e7adb
commit 10d76ca614
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -30,7 +30,11 @@
buildInputs = with pkgs; [
# === Graal dependencies ===
libxcrypt-legacy
];
] ++ (if !isOnLinux then [
# === macOS-specific dependencies ===
darwin.apple_sdk.frameworks.IOKit # Required by `enso-formatter`.
darwin.apple_sdk.frameworks.Security # Required by `enso-formatter`.
] else [ ]);
packages = with pkgs; [
# === TypeScript dependencies ===