[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
230/285: gnu: emacs-haskell-mode: Adjust indentation.
From: |
guix-commits |
Subject: |
230/285: gnu: emacs-haskell-mode: Adjust indentation. |
Date: |
Sun, 29 Dec 2019 20:44:36 -0500 (EST) |
kkebreau pushed a commit to branch wip-gnome3.34
in repository guix.
commit 7841534c3ed594bd68097e8f224961651cf6b27d
Author: Brett Gilio <address@hidden>
Date: Fri Dec 27 19:29:52 2019 -0600
gnu: emacs-haskell-mode: Adjust indentation.
* gnu/packages/emacs-xyz.scm (emacs-haskell-mode): Adjust indentation.
---
gnu/packages/emacs-xyz.scm | 84 +++++++++++++++++++++++-----------------------
1 file changed, 42 insertions(+), 42 deletions(-)
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index b6df55c..e0b6e9c 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -711,8 +711,8 @@ replacement.")
(source (origin
(method git-fetch)
(uri (git-reference
- (url "https://github.com/haskell/haskell-mode")
- (commit (string-append "v" version))))
+ (url "https://github.com/haskell/haskell-mode")
+ (commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "1qk36y0v9fzass6785il65c6wb5cfj4ihhwkvgnzmbafpa8p4dvq"))
@@ -740,47 +740,47 @@ replacement.")
(modify-phases %standard-phases
(delete 'configure)
(add-before
- 'build 'pre-build
- (lambda* (#:key inputs #:allow-other-keys)
- (define (el-dir store-dir)
- (match (find-files store-dir "\\.el$")
- ((f1 f2 ...) (dirname f1))
- (_ "")))
-
- (let ((sh (string-append (assoc-ref inputs "bash") "/bin/sh")))
- (define emacs-prefix? (cut string-prefix? "emacs-" <>))
-
- (setenv "SHELL" "sh")
- (setenv "EMACSLOADPATH"
- (string-concatenate
- (map (match-lambda
- (((? emacs-prefix? name) . dir)
- (string-append (el-dir dir) ":"))
- (_ ""))
- inputs)))
- (substitute* (find-files "." "\\.el") (("/bin/sh") sh))
- ;; embed filename to fix test failure
- (let ((file "tests/haskell-cabal-tests.el"))
- (substitute* file
- (("\\(buffer-file-name\\)")
- (format #f "(or (buffer-file-name) ~s)" file))))
- #t)))
+ 'build 'pre-build
+ (lambda* (#:key inputs #:allow-other-keys)
+ (define (el-dir store-dir)
+ (match (find-files store-dir "\\.el$")
+ ((f1 f2 ...) (dirname f1))
+ (_ "")))
+
+ (let ((sh (string-append (assoc-ref inputs "bash") "/bin/sh")))
+ (define emacs-prefix? (cut string-prefix? "emacs-" <>))
+
+ (setenv "SHELL" "sh")
+ (setenv "EMACSLOADPATH"
+ (string-concatenate
+ (map (match-lambda
+ (((? emacs-prefix? name) . dir)
+ (string-append (el-dir dir) ":"))
+ (_ ""))
+ inputs)))
+ (substitute* (find-files "." "\\.el") (("/bin/sh") sh))
+ ;; embed filename to fix test failure
+ (let ((file "tests/haskell-cabal-tests.el"))
+ (substitute* file
+ (("\\(buffer-file-name\\)")
+ (format #f "(or (buffer-file-name) ~s)" file))))
+ #t)))
(replace
- 'install
- (lambda* (#:key outputs #:allow-other-keys)
- (let* ((out (assoc-ref outputs "out"))
- (el-dir (string-append out "/share/emacs/site-lisp"))
- (doc (string-append
- out "/share/doc/haskell-mode-" ,version))
- (info (string-append out "/share/info")))
- (define (copy-to-dir dir files)
- (for-each (lambda (f)
- (install-file f dir))
- files))
-
- (with-directory-excursion "doc"
- (invoke "makeinfo" "haskell-mode.texi")
- (install-file "haskell-mode.info" info))
+ 'install
+ (lambda* (#:key outputs #:allow-other-keys)
+ (let* ((out (assoc-ref outputs "out"))
+ (el-dir (string-append out "/share/emacs/site-lisp"))
+ (doc (string-append
+ out "/share/doc/haskell-mode-" ,version))
+ (info (string-append out "/share/info")))
+ (define (copy-to-dir dir files)
+ (for-each (lambda (f)
+ (install-file f dir))
+ files))
+
+ (with-directory-excursion "doc"
+ (invoke "makeinfo" "haskell-mode.texi")
+ (install-file "haskell-mode.info" info))
(copy-to-dir doc '("CONTRIBUTING.md" "NEWS" "README.md"))
(copy-to-dir el-dir (find-files "." "\\.elc?"))
;; These are part of other packages.
- 83/285: gnu: python-sphinxcontrib-svg2pdfconverter: Fix home-page., (continued)
- 83/285: gnu: python-sphinxcontrib-svg2pdfconverter: Fix home-page., guix-commits, 2019/12/29
- 87/285: gnu: python-eventlet: Use HTTPS home page URI., guix-commits, 2019/12/29
- 88/285: gnu: Add python-umap-learn., guix-commits, 2019/12/29
- 89/285: gnu: python-llvmlite: Update to 0.30.0., guix-commits, 2019/12/29
- 93/285: gnu: python-bbknn: Update to 1.3.6., guix-commits, 2019/12/29
- 94/285: gnu: emacs-howm: Modify installation directory in site-lisp., guix-commits, 2019/12/29
- 124/285: gnu: qutebrowser: Add comment about tests., guix-commits, 2019/12/29
- 226/285: gnu: emacs-doom-themes: Update to 2.1.6-3., guix-commits, 2019/12/29
- 229/285: gnu: emacs-graphql: Adjust indentation., guix-commits, 2019/12/29
- 232/285: gnu: emacs-reformatter: Adjust indentation., guix-commits, 2019/12/29
- 230/285: gnu: emacs-haskell-mode: Adjust indentation.,
guix-commits <=
- 234/285: gnu: emacs-emms-mode-line-cycle: Adjust indentation., guix-commits, 2019/12/29
- 238/285: gnu: emacs-direnv: Adjust indentation., guix-commits, 2019/12/29
- 241/285: gnu: emacs-mmm-mode: Adjust indentation., guix-commits, 2019/12/29
- 236/285: gnu: emacs-autothemer: Adjust indentation., guix-commits, 2019/12/29
- 239/285: gnu: emacs-google-maps: Adjust indentation., guix-commits, 2019/12/29
- 242/285: gnu: emacs-tablist: Adjust indentation., guix-commits, 2019/12/29
- 244/285: gnu: emacs-keyfreq: Adjust indentation., guix-commits, 2019/12/29
- 243/285: gnu: emacs-d-mode: Update to 2.0.10., guix-commits, 2019/12/29
- 245/285: gnu: emacs-paren-face: Update to 1.0.5., guix-commits, 2019/12/29
- 247/285: gnu: emacs-ccls: Revise license., guix-commits, 2019/12/29