about summary refs log tree commit diff
diff options
context:
space:
mode:
authorVincent Ambo <mail@tazj.in>2018-12-09T12·26+0100
committerVincent Ambo <mail@tazj.in>2018-12-26T00·01+0100
commit40027f008f2a1ad94b4d48133a4d82158014aaa1 (patch)
tree34dc6ef409cf7771efcdef6744d079f5999f6be5
parent93e61464041fa8cad849d0c0045c013ccbd39123 (diff)
fix(emacs): Fix sly package (again)
-rw-r--r--emacs.nix15
1 files changed, 14 insertions, 1 deletions
diff --git a/emacs.nix b/emacs.nix
index 307aeb46f2f3..1d5c1d4393f6 100644
--- a/emacs.nix
+++ b/emacs.nix
@@ -49,6 +49,19 @@ exwm = melpaBuild {
  };
 };
 
+slyFixed = sly.overrideAttrs(_: {
+  recipe = builtins.toFile "recipe" ''
+(sly :repo "joaotavora/sly"
+     :fetcher github
+     :files ("*.el"
+             ("lib" "lib/*")
+             ("contrib" "contrib/*")
+             "doc/*.texi"
+             "doc/*.info"
+             "doc/dir"))
+'';
+});
+
 in emacsWithPackages(epkgs:
   # Actual ELPA packages (the enlightened!)
   (with epkgs.elpaPackages; [
@@ -106,7 +119,7 @@ in emacsWithPackages(epkgs:
     restclient
     rust-mode
     s
-    # sly
+    slyFixed
     smartparens
     string-edit
     swiper