aboutsummaryrefslogtreecommitdiffstats
path: root/oni/packages
diff options
context:
space:
mode:
authorGravatar Tom Willemse2023-07-14 00:54:48 -0700
committerGravatar Tom Willemse2023-07-14 00:54:48 -0700
commitb144e84ea5b013fdd161287d4d5a6eb12f02e53b (patch)
treecdb428cd1b5049a77caafd8f192dd2f394e805d1 /oni/packages
parent5aa1d0c0e8069bdce3ff938948bfaeeb1e10c834 (diff)
downloadnew-dotfiles-b144e84ea5b013fdd161287d4d5a6eb12f02e53b.tar.gz
new-dotfiles-b144e84ea5b013fdd161287d4d5a6eb12f02e53b.zip
Add ‘emacs-oni-hy’
I just added a configuration for programming in Hy. This is the first step for moving more of my Emacs configuration into guix home. Instead of adding the autoload for ‘oni-hy’ in the ‘oni-core’ package, I've added it directly to my Guix configuration. In the future I'll want to change this so that each package gets its own configuration and also extends my Emacs configuration so that it automatically adds these autoloads when I add a package.
Diffstat (limited to 'oni/packages')
-rw-r--r--oni/packages/emacs-config.scm18
1 files changed, 16 insertions, 2 deletions
diff --git a/oni/packages/emacs-config.scm b/oni/packages/emacs-config.scm
index deb83ff..68c7384 100644
--- a/oni/packages/emacs-config.scm
+++ b/oni/packages/emacs-config.scm
@@ -13,7 +13,7 @@
#:use-module (oni packages go))
(define-public emacs-oni-config
- (let ((commit "e38bb344e4196aa2a1488e9611d1ccecdeb5acd6")
+ (let ((commit "23ff70c4ef428bf554b4448c860e9b61c2db84f4")
(revision "0"))
(package
(name "emacs-oni-config")
@@ -26,7 +26,7 @@
(commit commit)))
(file-name (git-file-name name version))
(sha256
- (base32 "15c7iyx8hisb07dpk6wi1dh8alirz0v7srca986a427b2h6002f1"))))
+ (base32 "04i2xham1zwip85zrx76f1mvkaicnkfyw1bp98wx999igg1vlivx"))))
(build-system emacs-build-system)
(home-page "https://code.ryuslash.org/ryuslash/emacs-config")
(synopsis "My Emacs configuration")
@@ -601,3 +601,17 @@ Emacs")))
emacs-ol-notmuch))
(synopsis "My notmuch configuration for Emacs.")
(description "This package provides my configuration for notmuch.")))
+
+(define-public emacs-oni-hy
+ (package
+ (inherit emacs-oni-config)
+ (name "emacs-oni-hy")
+ (arguments
+ '(#:include '("oni-hy\\.el$")))
+ (propagated-inputs
+ (list emacs-hy-mode
+ emacs-oni-paredit
+ emacs-oni-yasnippet
+ emacs-rainbow-delimiters))
+ (synopsis "My Hy configuration")
+ (description "This package provides my configuration for Hy.")))