Skip to content

Commit

Permalink
Create an empty site-start.el to make the wrapper work
Browse files Browse the repository at this point in the history
  • Loading branch information
akirak committed May 31, 2023
1 parent 70ff9a4 commit 449fe31
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions emacs.nix
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,13 @@ stdenv.mkDerivation rec {

installTargets = "tags install";

postInstall = ''
mkdir -p $out/share/emacs/site-lisp
# withPackages wrapper loads site-start.el from this directory, so it needs
# to exist.
touch $out/share/emacs/site-lisp/site-start.el
'';

meta = with lib; {
description = "The extensible, customizable GNU text editor";
homepage = https://www.gnu.org/software/emacs/;
Expand Down

0 comments on commit 449fe31

Please sign in to comment.