summary refs log tree commit diff stats
path: root/nix/.config/nixpkgs/emacs.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nix/.config/nixpkgs/emacs.nix')
-rw-r--r--nix/.config/nixpkgs/emacs.nix5
1 files changed, 2 insertions, 3 deletions
diff --git a/nix/.config/nixpkgs/emacs.nix b/nix/.config/nixpkgs/emacs.nix
index cb879a5..1e439b6 100644
--- a/nix/.config/nixpkgs/emacs.nix
+++ b/nix/.config/nixpkgs/emacs.nix
@@ -1,11 +1,11 @@
 {
   pkgs ? import <nixpkgs> {},
+  emacs ? pkgs.emacs,
   stdenv,
-  withMacPort ? stdenv.isDarwin
 }:
 
 let
-  myEmacs = if withMacPort then pkgs.emacs25Macport else pkgs.emacs;
+  myEmacs = emacs;
   emacsWithPackages = (pkgs.emacsPackagesNgGen myEmacs).emacsWithPackages;
 
   elpaBuild = import <nixpkgs/pkgs/build-support/emacs/elpa.nix> {
@@ -78,7 +78,6 @@ in
     crux
     cyphejor
     dired-narrow
-    dired-plus
     dired-subtree
     discover-my-major
     dockerfile-mode