fix macos CI

Signed-off-by: Amneesh Singh <natto@weirdnatto.in>
This commit is contained in:
2023-01-21 16:01:35 +05:30
parent a0c99c2a70
commit 78b0eaa06b
2 changed files with 19 additions and 11 deletions

View File

@@ -26,15 +26,17 @@
in rec {
devShell = with pkgs;
mkShell {
nativeBuildInputs = [
cmake
openssl
fontconfig
pkg-config
llvmPackages.lld
rust-analyzer
toolchain
];
nativeBuildInputs =
[
cmake
openssl
fontconfig
pkg-config
rust-analyzer
toolchain
]
++ lib.optionals (with stdenv.hostPlatform; (isx86 || isi686 || isAarch64) && isLinux) [llvmPackages.lld]
++ lib.optionals stdenv.hostPlatform.isDarwin [darwin.apple_sdk.frameworks.Cocoa];
};
formatter = pkgs.alejandra;