diff options
author | Matthew Bauer <mjbauer95@gmail.com> | 2021-06-12 11:21:35 -0500 |
---|---|---|
committer | Matthew Bauer <mjbauer95@gmail.com> | 2021-06-23 23:02:11 -0500 |
commit | 8bc10fbc56db2aaf1f234349e4d0c7607b8ead4f (patch) | |
tree | 9260c3b8fdf1505258baa6d421de8a971dd3e4b8 /pkgs/top-level/emacs-packages.nix | |
parent | 65db0350fe3962c41b8604046ec9166976f80793 (diff) |
Add gcc for emacs wrapper so native-comp works
On macos, we don’t have a gcc executable by default, which is required for some reason when compiling site-start.
Diffstat (limited to 'pkgs/top-level/emacs-packages.nix')
-rw-r--r-- | pkgs/top-level/emacs-packages.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/top-level/emacs-packages.nix b/pkgs/top-level/emacs-packages.nix index d168d34e3738d..34f9956160170 100644 --- a/pkgs/top-level/emacs-packages.nix +++ b/pkgs/top-level/emacs-packages.nix @@ -26,7 +26,7 @@ let mkElpaPackages = { pkgs, lib }: import ../applications/editors/emacs/elisp-packages/elpa-packages.nix { - inherit (pkgs) stdenv texinfo writeText; + inherit (pkgs) stdenv texinfo writeText gcc; inherit lib; }; @@ -44,7 +44,7 @@ let }; emacsWithPackages = { pkgs, lib }: import ../build-support/emacs/wrapper.nix { - inherit (pkgs) makeWrapper runCommand; + inherit (pkgs) makeWrapper runCommand gcc; inherit (pkgs.xorg) lndir; inherit lib; }; |