Skip to content

Commit 9c02069

Browse files
committed
wip(build): target macOS 12
1 parent 82759c2 commit 9c02069

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

flake.nix

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,10 @@
1818
# works out of the box without the user having to manually set
1919
# TERMINFO in the shell before launching emacs.
2020
packages = with pkgs; [
21-
# Target macOS 11 SDK, allowing Emacs builds to work on macOS 11
21+
# Target macOS 12 SDK, allowing Emacs builds to work on macOS 12
2222
# and later, even when the build system is running a later macOS
2323
# version.
24-
apple-sdk_11
24+
apple-sdk_12
2525
autoconf
2626
cairo
2727
clang
@@ -71,8 +71,8 @@
7171

7272
shellHook = ''
7373
export CC=clang
74-
export MACOSX_DEPLOYMENT_TARGET="11.0"
75-
export DEVELOPER_DIR="${pkgs.apple-sdk_11}"
74+
export MACOSX_DEPLOYMENT_TARGET="12.3"
75+
export DEVELOPER_DIR="${pkgs.apple-sdk_12}"
7676
export NIX_LIBGCCJIT_VERSION="${pkgs.libgccjit.version}"
7777
export NIX_LIBGCCJIT_ROOT="${pkgs.libgccjit.outPath}"
7878
'';

0 commit comments

Comments
 (0)