Skip to content

Commit

Permalink
wip(build): target macOS 12
Browse files Browse the repository at this point in the history
  • Loading branch information
jimeh committed Nov 16, 2024
1 parent 82759c2 commit 9c02069
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@
# works out of the box without the user having to manually set
# TERMINFO in the shell before launching emacs.
packages = with pkgs; [
# Target macOS 11 SDK, allowing Emacs builds to work on macOS 11
# Target macOS 12 SDK, allowing Emacs builds to work on macOS 12
# and later, even when the build system is running a later macOS
# version.
apple-sdk_11
apple-sdk_12
autoconf
cairo
clang
Expand Down Expand Up @@ -71,8 +71,8 @@

shellHook = ''
export CC=clang
export MACOSX_DEPLOYMENT_TARGET="11.0"
export DEVELOPER_DIR="${pkgs.apple-sdk_11}"
export MACOSX_DEPLOYMENT_TARGET="12.3"
export DEVELOPER_DIR="${pkgs.apple-sdk_12}"
export NIX_LIBGCCJIT_VERSION="${pkgs.libgccjit.version}"
export NIX_LIBGCCJIT_ROOT="${pkgs.libgccjit.outPath}"
'';
Expand Down

0 comments on commit 9c02069

Please sign in to comment.