Skip to content

Commit 965b32b

Browse files
committed
wip(build): target macOS 11
1 parent 2318855 commit 965b32b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

flake.nix

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
# against the system version of ncurses. This ensures emacs' TUI
1919
# works out of the box without the user having to manually set
2020
# TERMINFO in the shell before launching emacs.
21-
apple-sdk
21+
apple-sdk_11
2222
autoconf
2323
cairo
2424
clang
@@ -68,6 +68,8 @@
6868

6969
shellHook = ''
7070
export CC=clang
71+
export MACOSX_DEPLOYMENT_TARGET="11.0"
72+
export DEVELOPER_DIR="${pkgs.apple-sdk_11}"
7173
export NIX_LIBGCCJIT_VERSION="${pkgs.libgccjit.version}"
7274
export NIX_LIBGCCJIT_ROOT="${pkgs.libgccjit.outPath}"
7375
'';

0 commit comments

Comments
 (0)