@@ -32,7 +32,7 @@ in customEmacsPackages.emacs.pkgs.withPackages (epkgs: [ epkgs.evil epkgs.magit
3232
3333*/
3434
35−{ lib, lndir, makeWrapper, runCommand }: self:
35+{ lib, lndir, makeWrapper, runCommand, gcc }: self:
3636
3737with lib;
3838
@@ -65,7 +65,10 @@ runCommand
6565 # Store all paths we want to add to emacs here, so that we only need to add
6666 # one path to the load lists
6767 deps = runCommand "emacs-packages-deps"
68− { inherit explicitRequires lndir emacs; }
68+ {
69+ inherit explicitRequires lndir emacs;
70+ nativeBuildInputs = lib.optional nativeComp gcc;
71+ }
6972 ''
7073 findInputsOld() {
7174 local pkg="$1"; shift