Emacs: Enable overriding package
Alan Pearce alan@alanpearce.eu
Sat, 13 Oct 2018 21:24:45 +0200
1 files changed, 3 insertions(+), 2 deletions(-)
jump to
M packages/emacs.nix → packages/emacs.nix
@@ -1,9 +1,10 @@ { - pkgs ? import <nixpkgs> + pkgs ? import <nixpkgs> {}, + emacs ? pkgs.emacs }: let - myEmacs = pkgs.lib.overrideDerivation (pkgs.emacs) (attrs: { + myEmacs = pkgs.lib.overrideDerivation (emacs) (attrs: { postInstall = attrs.postInstall + '' rm $out/share/applications/emacs.desktop '';