From 06829a31aa54cbd47a565d0aeca9686ae0ee3efb Mon Sep 17 00:00:00 2001 From: Olli Vuolteenaho Date: Mon, 22 Jan 2024 10:27:31 +0200 Subject: [PATCH] Move CMake to brew Using the nix version forced Qt builds to included libSystem from Nix which caused some version differences to the macOS SDK one, I guess? --- flake.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/flake.nix b/flake.nix index c2f5c82..9a4df74 100644 --- a/flake.nix +++ b/flake.nix @@ -19,7 +19,6 @@ systemPackages = [ pkgs.android-tools pkgs.bat - pkgs.cmake pkgs.coreutils pkgs.curl pkgs.direnv @@ -37,6 +36,7 @@ pkgs.vim pkgs.wget ]; + systemPath = ["/opt/homebrew/bin"]; variables = { JAVA_HOME = "${pkgs.openjdk17.home}"; ANDROID_SDK_ROOT = "/Users/ollivuolteenaho/Library/Android/sdk/cmdline-tools/latest/bin"; @@ -46,6 +46,7 @@ homebrew = { enable = true; + brews = ["cmake"]; casks = [ "android-studio" "firefox"