[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#66562] [PATCH] gnu: emacs-haskell-snippets: Fix haskell-snippets-di
From: |
Rostislav Svoboda |
Subject: |
[bug#66562] [PATCH] gnu: emacs-haskell-snippets: Fix haskell-snippets-dir value. |
Date: |
Sun, 15 Oct 2023 17:17:30 +0200 |
* gnu/packages/emacs-xyz.scm (emacs-haskell-snippets): Fix
haskell-snippets-dir value
The value of haskell-snippets-dir was:
/gnu/store/*-emacs-haskell-snippets-*/share/emacs/site-lisp/haskell-snippets-*/
It needs to be:
/gnu/store/*-emacs-haskell-snippets-*/share/emacs/site-lisp/
The error was (abbreviated):
No such file or directory,
/gnu/store/*-emacs-haskell-snippets-*/share/emacs/site-lisp/haskell-snippets-*/snippets
---
gnu/packages/emacs-xyz.scm | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index bb8c25f9b5..8bb0d6d43a 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -35545,6 +35545,12 @@ (define-public emacs-haskell-snippets
(list
#:phases
#~(modify-phases %standard-phases
+ (add-after 'unpack 'patch-haskell-snippets-dir
+ (lambda* (#:key outputs #:allow-other-keys)
+ (emacs-substitute-sexps "haskell-snippets.el"
+ ("setq haskell-snippets-dir"
+ '(file-name-parent-directory
+ (file-name-directory load-file-name))))))
(add-after 'install 'install-snippets
(lambda _
(let ((snippets
base-commit: a0d2ecde943bd1854ddbb7c0cad35a1fc64dc5ab
--
2.41.0
- [bug#66562] [PATCH] gnu: emacs-haskell-snippets: Fix haskell-snippets-dir value.,
Rostislav Svoboda <=
- [bug#66562] [PATCH] gnu: emacs-haskell-snippets: Fix haskell-snippets-dir value., Liliana Marie Prikler, 2023/10/15
- [bug#66562] [PATCH v3] gnu: emacs-haskell-snippets: Use correct directory for snippets., Liliana Marie Prikler, 2023/10/15
- [bug#66562] [PATCH v3] gnu: emacs-haskell-snippets: Use correct directory for snippets., Rostislav Svoboda, 2023/10/16
- [bug#66562] [PATCH v3] gnu: emacs-haskell-snippets: Use correct directory for snippets., Liliana Marie Prikler, 2023/10/16
- [bug#66562] [PATCH v3] gnu: emacs-haskell-snippets: Use correct directory for snippets., Rostislav Svoboda, 2023/10/17
- [bug#66562] [PATCH v3] gnu: emacs-haskell-snippets: Use correct directory for snippets., Liliana Marie Prikler, 2023/10/17
- [bug#66562] [PATCH v3] gnu: emacs-haskell-snippets: Use correct directory for snippets., Rostislav Svoboda, 2023/10/18
- [bug#66562] [PATCH v3] gnu: emacs-haskell-snippets: Use correct directory for snippets., Liliana Marie Prikler, 2023/10/18
bug#66562: [PATCH v3] gnu: emacs-haskell-snippets: Use correct directory for snippets., Liliana Marie Prikler, 2023/10/23