about summary refs log tree commit diff
path: root/pkgs/applications/editors/emacs/elisp-packages/elpa-packages.nix
diff options
context:
space:
mode:
authorMatthew Bauer <mjbauer95@gmail.com>2021-06-12 11:21:35 -0500
committerMatthew Bauer <mjbauer95@gmail.com>2021-06-23 23:02:11 -0500
commit8bc10fbc56db2aaf1f234349e4d0c7607b8ead4f (patch)
tree9260c3b8fdf1505258baa6d421de8a971dd3e4b8 /pkgs/applications/editors/emacs/elisp-packages/elpa-packages.nix
parent65db0350fe3962c41b8604046ec9166976f80793 (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/applications/editors/emacs/elisp-packages/elpa-packages.nix')
-rw-r--r--pkgs/applications/editors/emacs/elisp-packages/elpa-packages.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/pkgs/applications/editors/emacs/elisp-packages/elpa-packages.nix b/pkgs/applications/editors/emacs/elisp-packages/elpa-packages.nix
index 02a9a6e65622a..cefed111f4fdd 100644
--- a/pkgs/applications/editors/emacs/elisp-packages/elpa-packages.nix
+++ b/pkgs/applications/editors/emacs/elisp-packages/elpa-packages.nix
@@ -21,7 +21,7 @@ formats commits for you.
 
 */
 
-{ lib, stdenv, texinfo, writeText }:
+{ lib, stdenv, texinfo, writeText, gcc }:
 
 self: let
 
@@ -34,6 +34,7 @@ self: let
   elpaBuild = import ../../../../build-support/emacs/elpa.nix {
     inherit lib stdenv texinfo writeText;
     inherit (self) emacs;
+    inherit gcc;
   };
 
   generateElpa = lib.makeOverridable ({