From: Taiju HIGASHI <higashi@taiju.info>
To: Liliana Marie Prikler <liliana.prikler@gmail.com>
Cc: 55495@debbugs.gnu.org
Subject: bug#55495: [PATCH] gnu: emacs-haskell-mode: Fix build.
Date: Fri, 20 May 2022 11:29:48 +0900 [thread overview]
Message-ID: <87bkvtszqb.fsf@taiju.info> (raw)
In-Reply-To: <bd9e0aa3d659f561a245203a1a17e5125ddcd7c6.camel@gmail.com> (Liliana Marie Prikler's message of "Thu, 19 May 2022 21:09:14 +0200")
Hi Liliana,
Thank you for reviewing!
>> index 529e9329d6..9d9669f383 100644
>> --- a/gnu/packages/emacs-xyz.scm
>> +++ b/gnu/packages/emacs-xyz.scm
>> @@ -1553,11 +1553,16 @@ (define-public emacs-haskell-mode
>> (commit version)))
>> (file-name (git-file-name name version))
>> (sha256
>> - (base32
>> "0zxbacqzr84krmhqpvzndnvlcjh1gs1x20ys0dykgd7chyhci5j5"))))
>> + (base32
>> "0zxbacqzr84krmhqpvzndnvlcjh1gs1x20ys0dykgd7chyhci5j5"))
>> + ;; Submitted for inclusion upstream.
>> + ;; Not identical patches due to different target versions.
>> + ;; (see: https://github.com/haskell/haskell-mode/pull/1780)
>> + (patches
>> + (search-patches "emacs-haskell-mode-fix-tests.patch"))))
>> (propagated-inputs
>> (list emacs-dash))
>> (native-inputs
>> - (list emacs-minimal emacs-el-search emacs-stream texinfo))
>> + (list emacs-minimal emacs-el-search emacs-stream texinfo git))
> There are other ways of suppressing errors caused by git. One of them
> would be to set vc-handled-backends to nil for the tests.
I have tried, but it does not work.
Is the following patch wrong?
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 9d9669f383..1edfe2e754 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -1562,7 +1562,7 @@ (define-public emacs-haskell-mode
(propagated-inputs
(list emacs-dash))
(native-inputs
- (list emacs-minimal emacs-el-search emacs-stream texinfo git))
+ (list emacs-minimal emacs-el-search emacs-stream texinfo))
(build-system gnu-build-system)
(arguments
(list
@@ -1577,6 +1577,11 @@ (define-public emacs-haskell-mode
(guix build emacs-utils))
#:phases
#~(modify-phases %standard-phases
+ (add-after 'unpack 'disable-vc-handled-backends
+ (lambda _
+ (substitute* "Makefile"
+ (("\\(setq byte-compile-error-on-warn t\\)")
+ "(setq byte-compile-error-on-warn t) (setq vc-handled-backends nil)"))))
(delete 'configure)
(add-before 'build 'pre-build
(lambda* (#:key inputs #:allow-other-keys)
next prev parent reply other threads:[~2022-05-20 2:31 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-05-18 8:30 bug#55495: emacs-haskell-mode build fails Taiju HIGASHI
2022-05-18 13:16 ` Liliana Marie Prikler
2022-05-18 14:39 ` Taiju HIGASHI
2022-05-18 14:31 ` bug#55495: [PATCH] gnu: emacs-haskell-mode: Fix build Taiju HIGASHI
2022-05-19 19:09 ` Liliana Marie Prikler
2022-05-20 2:29 ` Taiju HIGASHI [this message]
2022-05-20 8:49 ` Taiju HIGASHI
2022-05-19 15:14 ` bug#55495: Re: emacs-haskell-mode build fails Luis Henrique Gomes Higino
2022-05-20 9:49 ` Taiju HIGASHI
2022-05-20 9:54 ` bug#55495: [PATCH] gnu: emacs-haskell-mode: Fix build Taiju HIGASHI
2022-05-20 20:59 ` Taiju HIGASHI
2022-05-20 21:57 ` Liliana Marie Prikler
2022-05-20 22:52 ` Taiju HIGASHI
2022-05-20 9:59 ` bug#55495: [PATCH v2] " Taiju HIGASHI
2022-05-21 5:23 ` bug#55495: [PATCH v3] " Taiju HIGASHI
2022-05-31 19:29 ` bug#55495: (no subject) Luis Henrique Gomes Higino
2022-06-01 3:52 ` Taiju HIGASHI
2022-06-01 14:56 ` Luis Henrique Gomes Higino
2022-06-01 15:36 ` Taiju HIGASHI
2022-06-02 3:57 ` bug#55495: [PATCH v3] gnu: emacs-haskell-mode: Fix build Taiju HIGASHI
2022-06-02 4:01 ` Taiju HIGASHI
2022-06-17 21:41 ` bug#55495: About v3 Luis Henrique Gomes Higino
2022-06-18 14:09 ` Taiju HIGASHI
2022-06-22 0:33 ` bug#55495: resolved by bug#56120 Taiju HIGASHI
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87bkvtszqb.fsf@taiju.info \
--to=higashi@taiju.info \
--cc=55495@debbugs.gnu.org \
--cc=liliana.prikler@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).