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 13, 2024
1 parent 2318855 commit f6281dd
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
# against the system version of ncurses. This ensures emacs' TUI
# works out of the box without the user having to manually set
# TERMINFO in the shell before launching emacs.
apple-sdk
apple-sdk_12
autoconf
cairo
clang
Expand Down Expand Up @@ -68,6 +68,8 @@

shellHook = ''
export CC=clang
export MACOSX_DEPLOYMENT_TARGET="12.0"
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 f6281dd

Please sign in to comment.