Commit 9f6e5e9b9fda

Vincent Demeester <vincent@sbr.pm>
2018-08-26 17:09:54
Try to fix minions with overlay...
.. and it's a failure :D Signed-off-by: Vincent Demeester <vincent@sbr.pm>
1 parent 513d14a
Changed files (2)
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; }
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; [