home

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit 9f6e5e9b9fda341e78c36816bdd190842eedb554
parent 513d14ad09a278f2ee959f1e4feace168f9c992e
Author: Vincent Demeester <vincent@sbr.pm>
Date:   Sun, 26 Aug 2018 17:09:54 +0200

Try to fix minions with overlay...

.. and it's a failure :D

Signed-off-by: Vincent Demeester <vincent@sbr.pm>

Diffstat:
Memacs.nix | 4++--
Aoverlays/emacs.nix | 34++++++++++++++++++++++++++++++++++
2 files changed, 36 insertions(+), 2 deletions(-)

diff --git a/emacs.nix b/emacs.nix @@ -4,7 +4,7 @@ home.packages = with pkgs; [ emacs-scripts ]; programs.emacs = { enable = true; - #package = pkgs.myEmacs; + # package = pkgs.myEmacs; extraPackages = epkgs: with epkgs; [ ace-window aggressive-indent @@ -130,7 +130,7 @@ #makefile-executor markdown-mode #mc-extras - # minions # FIXME + # minions # FIXME #(with melpaPackages; [ minions ]) multiple-cursors (with melpaPackages; [ diff --git a/overlays/emacs.nix b/overlays/emacs.nix @@ -0,0 +1,34 @@ +self: super: + +let + inherit (super) fetchurl fetchgit fetchFromGitHub stdenv melpaBuild; + inherit (stdenv) lib mkDerivation; + + overrides = { + minions = melpaBuild { + pname = "minions"; + ename = "minions"; + version = "20180709.1012"; + src = fetchFromGitHub { + owner = "tarsius"; + repo = "minions"; + rev = "2f5e73e15d0021e7ba26cf09f1cd2734b018fb69"; + sha256 = "12acfjmk6n40k5mb2hy1izbk483y83bc3d54r76l750sbm3kpdar"; + }; + recipe = fetchurl { + url = "https://raw.githubusercontent.com/milkypostman/melpa/769a2167d7f6dfdbbfda058ddea036f80b97d230/recipes/minions"; + sha256 = "0ximlj93yp6646bh99r2vnayk15ky26sibrmrqqysfw1pzs4a940"; + name = "recipe"; + }; + packageRequires = [ super.dash super.emacs ]; + meta = { + homepage = "https://melpa.org/#/minions"; + license = lib.licenses.free; + }; + }; + }; + + melpaPackages = super // overrides; + +in + melpaPackages // { inherit melpaPackages; }