nix: Allow emacs package to be specified
Alan Pearce alan@alanpearce.eu
Mon, 12 Jun 2017 19:11:11 +0200
1 files changed, 2 insertions(+), 2 deletions(-)
M nix/.config/nixpkgs/emacs.nix → 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> {