From 42ae19e4dfc9cca93fa7030a98939de3528457c2 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Mon, 21 Oct 2019 21:45:24 +0200 Subject: Don't use pkgsUnstable unnecessarily --- user/settings/emacs.nix | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) (limited to 'user/settings/emacs.nix') diff --git a/user/settings/emacs.nix b/user/settings/emacs.nix index 4cdd4d58..2e43606c 100644 --- a/user/settings/emacs.nix +++ b/user/settings/emacs.nix @@ -3,8 +3,6 @@ let inherit (pkgs) stdenv; - pkgsUnstable = if stdenv.isDarwin then import {} else import {}; - editorScript = pkgs.writeScriptBin "edit" '' #!${pkgs.runtimeShell} if [ -z "$1" ]; then @@ -138,18 +136,12 @@ in which-key yaml-mode ] ++ lib.optionals (!stdenv.isDarwin) [ - pkgs.unstable.mu + pkgs.mu ]); }; home.packages = [ editorScript ]; - nixpkgs.overlays = [ - (self: super: { - emacsPackagesNgGen = pkgsUnstable.emacsPackagesNgGen; - emacs = pkgsUnstable.emacs; - }) - ]; home.sessionVariables = { EDITOR = "${editorScript}/bin/edit"; }; -- cgit 1.4.1