From d14bc8e2931d5fae6ac5be3513bd091211ebae26 Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Thu, 28 Jun 2018 11:01:30 +0200 Subject: [PATCH] feat(emacs): Add a newer version of sly from git --- emacs.nix | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/emacs.nix b/emacs.nix index 242b5960b..5ff20d75a 100644 --- a/emacs.nix +++ b/emacs.nix @@ -109,6 +109,25 @@ ivy-prescient = emacsPackagesNg.melpaBuild { ''; }; +sly = emacsPackagesNg.melpaBuild { + pname = "sly"; + version = "20180613"; + packageRequires = [ elpaPackages.company ]; + + src = fetchFromGitHub { + owner = "joaotavora"; + repo = "sly"; + rev = "a05b45f1564a86a9d49707c9c570da6c3a56b6e5"; + sha256 = "1c9xzppxlnak1px0dv0ljpp4izfj4377lncvrcb1jaiyh8z8ry48"; + }; + + recipeFile = writeText "sly-recipe" '' + (sly :files ("*.el" + ("lib" "lib/*") + ("contrib" "contrib/*"))) + ''; +}; + in emacsWithPackages(epkgs: # Actual ELPA packages (the enlightened!) (with epkgs.elpaPackages; [ @@ -169,5 +188,5 @@ in emacsWithPackages(epkgs: (lib.attrValues newIvy) ++ # Custom packaged Emacs packages: - [ nix-mode eglot prescient ivy-prescient pkgs.notmuch ] + [ nix-mode eglot prescient ivy-prescient pkgs.notmuch sly ] )