summary refs log tree commit diff stats
path: root/packages
diff options
context:
space:
mode:
authorAlan Pearce2018-10-19 10:41:18 +0200
committerAlan Pearce2018-10-19 10:41:18 +0200
commite30c6624e41d8b8b55085897a57f9c9c0c6c3edf (patch)
tree12fd7f66752f3867f80a95dada72e1dda32304ee /packages
parent726b9219e5040acde663a5a800f1228ff92140df (diff)
parent64afe906dc73e7cb6f88ab9d52dd1203d06eb5c8 (diff)
downloadnixfiles-e30c6624e41d8b8b55085897a57f9c9c0c6c3edf.tar.lz
nixfiles-e30c6624e41d8b8b55085897a57f9c9c0c6c3edf.tar.zst
nixfiles-e30c6624e41d8b8b55085897a57f9c9c0c6c3edf.zip
Merge branch 'master' of https://git.alanpearce.eu/nixos-configuration
Diffstat (limited to 'packages')
-rw-r--r--packages/emacs.nix5
1 files 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 <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
     '';