diff options
Diffstat (limited to 'packages/emacs.nix')
-rw-r--r-- | packages/emacs.nix | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/packages/emacs.nix b/packages/emacs.nix index 92a20ddf..f685c01b 100644 --- a/packages/emacs.nix +++ b/packages/emacs.nix @@ -1,14 +1,17 @@ { - pkgs, - emacs ? pkgs.emacs, - stdenv + pkgs ? import <nixpkgs> }: let - myEmacs = emacs; + myEmacs = pkgs.lib.overrideDerivation (pkgs.emacs) (attrs: { + postInstall = attrs.postInstall + '' + rm $out/share/applications/emacs.desktop + ''; + }); + emacsWithPackages = (pkgs.emacsPackagesNgGen myEmacs).emacsWithPackages; in - emacsWithPackages (epkgs: (with epkgs.melpaPackages; [ + emacsWithPackages (epkgs: (with epkgs; [ ace-link add-node-modules-path ag |