From 28f98b0ac1defee7bf5e66191fad21b260975d07 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Sat, 13 Oct 2018 21:24:45 +0200 Subject: Emacs: Enable overriding package --- packages/emacs.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/packages/emacs.nix b/packages/emacs.nix index 3dae49a1..dc99878c 100644 --- a/packages/emacs.nix +++ b/packages/emacs.nix @@ -1,9 +1,10 @@ { - pkgs ? import + pkgs ? import {}, + 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 ''; -- cgit 1.4.1