From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id II9tLptlh2L8cgEAbAwnHQ (envelope-from ) for ; Fri, 20 May 2022 11:55:39 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id 8HhyLptlh2KZAQEAauVa8A (envelope-from ) for ; Fri, 20 May 2022 11:55:39 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 74911EC12 for ; Fri, 20 May 2022 11:55:39 +0200 (CEST) Received: from localhost ([::1]:32812 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nrzMA-0002XH-5S for larch@yhetil.org; Fri, 20 May 2022 05:55:38 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:33930) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nrzLa-0002Wu-ES for bug-guix@gnu.org; Fri, 20 May 2022 05:55:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:43710) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nrzLa-0002cU-6A for bug-guix@gnu.org; Fri, 20 May 2022 05:55:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nrzLa-0006iB-38 for bug-guix@gnu.org; Fri, 20 May 2022 05:55:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#55495: [PATCH] gnu: emacs-haskell-mode: Fix build. In-Reply-To: <87o7zvtf8z.fsf@taiju.info> Resent-From: Taiju HIGASHI Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Fri, 20 May 2022 09:55:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 55495 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Liliana Marie Prikler Cc: 55495@debbugs.gnu.org Received: via spool by 55495-submit@debbugs.gnu.org id=B55495.165304045925740 (code B ref 55495); Fri, 20 May 2022 09:55:02 +0000 Received: (at 55495) by debbugs.gnu.org; 20 May 2022 09:54:19 +0000 Received: from localhost ([127.0.0.1]:37607 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nrzKt-0006h6-CX for submit@debbugs.gnu.org; Fri, 20 May 2022 05:54:19 -0400 Received: from mail-pg1-f176.google.com ([209.85.215.176]:33574) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nrzKr-0006gr-QR for 55495@debbugs.gnu.org; Fri, 20 May 2022 05:54:18 -0400 Received: by mail-pg1-f176.google.com with SMTP id r71so7360400pgr.0 for <55495@debbugs.gnu.org>; Fri, 20 May 2022 02:54:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=taiju-info.20210112.gappssmtp.com; s=20210112; h=from:to:cc:subject:references:date:message-id:user-agent :mime-version:content-transfer-encoding; bh=5PLhdQh+k5XQIiEcgpwf0pZGbfAe9pzjQrTH3qy0RvY=; b=7Ink7dKn4t3nyheirJyOt0tT1ny5g801ZIwYABRmg7G66DEzu0iX7vzzpWGpNq4PBq 1NAe7VsadRfh0cUV/dyYIdzb8oGSFCvoPjnUOfPFMii2KzzfzpN2iI4qVqMFhYoVtBIl Y7kpT0rP+BLZ15DKkohjMAg7URUZq2nc+hA0v0PesH4LDPEj0nji4EL084KjdFMdwlY6 Vm4X8dw2+W8VXbAmVE61l9XmwgGq4xXe8iqY5xXJ5e5cdWmbLchqS0K9BPibXW9JL0uq +wfm26uAvlObCxyYbDTfQ482/Z4BQeg6n60zk0ZGIGxRTjIMCzj1OZnJEdhG+MQKS4cv GYCA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:references:date:message-id :user-agent:mime-version:content-transfer-encoding; bh=5PLhdQh+k5XQIiEcgpwf0pZGbfAe9pzjQrTH3qy0RvY=; b=ulClkVQP7Mh8jnNVRVK9TsdWb03zeCmaCGU7rqstonhSAZegqMotVSbR5mZbxc7n0P ySbbTyu5MqkxEWglyBYv+aQZZyq9JPebIReqOLOfljaYWguN4ukDiLZhBnTtsoV+S0vh L8evf4M8uqaSnY85hlkHGYGDfnHhGJbSynEu/NYKKLXENLEDqg2F7VKRmFne8cXF7P51 DxH1xuiCnBI0POj8nFstqRYMZi4+pSjqQRiChRpNROz4ZOVb0/r4Ssw43Afe8TZGgWi/ pEDxTcs7rONrBIhzA/fEzThGrQvNuewlMRyf5o0G+VJkNwAYqrpzVdom+J/R3etIfMS1 aBeA== X-Gm-Message-State: AOAM532lFJ33dLag7vtKqmsA/nM3Z30clnERm8dHP4jCvQij39AZ7cT8 MoPgGyhZbm4OSeIt9UlNMDjBAVDcvMQ60HAr X-Google-Smtp-Source: ABdhPJzhkfxLupWbUGuCAFgI8AjDnkTXPZp6zAuv96tAKLCy26f2dAnagc3XLu8aw3saE/vQgTTXkQ== X-Received: by 2002:a65:5c05:0:b0:3db:7729:88e1 with SMTP id u5-20020a655c05000000b003db772988e1mr7751476pgr.577.1653040451836; Fri, 20 May 2022 02:54:11 -0700 (PDT) Received: from Taix ([240b:253:ec40:2400:b7d1:436e:2d61:e925]) by smtp.gmail.com with ESMTPSA id c11-20020a170902d48b00b001618b70dcc9sm5336838plg.101.2022.05.20.02.54.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 20 May 2022 02:54:11 -0700 (PDT) From: Taiju HIGASHI References: <20220518143129.10357-1-higashi@taiju.info> Date: Fri, 20 May 2022 18:54:09 +0900 Message-ID: <87mtfcr0la.fsf@taiju.info> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1653040539; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=5PLhdQh+k5XQIiEcgpwf0pZGbfAe9pzjQrTH3qy0RvY=; b=jHSnGYnNyilMpfxjMVgbk7db0w44Y3vbckNiFQll7X0+MF2mW6QXKQpqQgrdrmx0KACM45 OBX9zOHdiOVkcuEEvcEeQMP7kIAMqKso+JQgbeQEHUgNsfr+gHNLE/9FurXWwDMbkqJPz/ lk7WNFJaffxhoD6oWx9W4RyYCWXklTappUbFUsLJ6zRDkaia64p2q0rH/bIc91TRe4WhT9 6H+YQcfk7WHicWQGkCU5dgR6Jw9zuAk11kiWDTF+XvsHDx7T/ltE5eL6O0H6OPidDoUzan 5NWKC+GfcqYmnYgwXZVVHc/o5tO9cyVpku6sSklRtmVZgL2OVA5Rq9/ERr3LRg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1653040539; a=rsa-sha256; cv=none; b=U2MYyeFoAnUnat6s7dO9xGYEhY28Q09kpYXlfn8mAT3QIIlt+mV7poJ71aumbsYmfb2QZf BXjTnAZBTj2HnxFmG2GkTtZXsVLZwNI2IWakmuGhXw6k9eQXSppWFHUOWRYdRnxSnBZODO EbiMKYNX+vyiT7I0XTZMTdca1pN56jKZZV9inYb4gmluRU6t20EqycfBEjUcDkNOAxVibW 3jW1fKgt329roj14D6PoOvv6K51eOt39t/Vv/1WpZLukYfRxW5lSk+2NWzJfqQffp681Ga nm8EphMYvXFx27/UVBgeakWp0YQnMXwgLYN3KVpPsALV6JAYurGW4kZIz45yGw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=taiju-info.20210112.gappssmtp.com header.s=20210112 header.b=7Ink7dKn; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: 0.46 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=taiju-info.20210112.gappssmtp.com header.s=20210112 header.b=7Ink7dKn; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 74911EC12 X-Spam-Score: 0.46 X-Migadu-Scanner: scn0.migadu.com X-TUID: jtbHWy8WV9G6 Hi Liliana, >> * gnu/packages/emacs-xyz.scm (emacs-haskell-mode): Fix build. >> --- >> =A0gnu/packages/emacs-xyz.scm=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0=A0=A0 |=A0=A0 9 +- >> =A0.../emacs-haskell-mode-fix-tests.patch=A0=A0=A0=A0=A0=A0=A0 | 282 >> ++++++++++++++++++ >> =A02 files changed, 289 insertions(+), 2 deletions(-) >> =A0create mode 100644 gnu/packages/patches/emacs-haskell-mode-fix- >> tests.patch >> >> diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm >> 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 >> =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 (commit version))) >> =A0=A0=A0=A0=A0=A0=A0 (file-name (git-file-name name version)) >> =A0=A0=A0=A0=A0=A0=A0 (sha256 >> -=A0=A0=A0=A0=A0=A0=A0 (base32 >> "0zxbacqzr84krmhqpvzndnvlcjh1gs1x20ys0dykgd7chyhci5j5")))) >> +=A0=A0=A0=A0=A0=A0=A0 (base32 >> "0zxbacqzr84krmhqpvzndnvlcjh1gs1x20ys0dykgd7chyhci5j5")) >> +=A0=A0=A0=A0=A0=A0=A0 ;; Submitted for inclusion upstream. >> +=A0=A0=A0=A0=A0=A0=A0 ;; Not identical patches due to different target = versions. >> +=A0=A0=A0=A0=A0=A0=A0 ;; (see: https://github.com/haskell/haskell-mode/= pull/1780) >> +=A0=A0=A0=A0=A0=A0 (patches >> +=A0=A0=A0=A0=A0=A0=A0 (search-patches "emacs-haskell-mode-fix-tests.pat= ch")))) >> =A0=A0=A0=A0 (propagated-inputs >> =A0=A0=A0=A0=A0 (list emacs-dash)) >> =A0=A0=A0=A0 (native-inputs >> -=A0=A0=A0=A0 (list emacs-minimal emacs-el-search emacs-stream texinfo)) >> +=A0=A0=A0=A0 (list emacs-minimal emacs-el-search emacs-stream texinfo g= it)) > 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 apologize for my earlier email. I will modify it in the way you suggested. >> +-=A0 "Default build command to use for `haskell-stack-build' when a >> stack file is detected. >> ++=A0 "Default build command to use for `haskell-stack-build' when a >> stack >> ++file is detected.x > Additional x. >> +-=A0 (let (htype dir) >> ++=A0 (let (htype dir) > Indentation change? Suppress those, you want to make the diff as small > as possible. Thank you for pointing. I will fix these. >> +-=A0 "Generate a regex for searching for any occurrence of the prompt\ >> ++=A0 "Generate a regex for searching for any occurrence of the prompt > LGTM, but you might want to shorten the docstring so that the first > line is a synopsis. This would make it easier for upstream to accept. >> +-=A0 "Run a loading-ish COMMAND that wants to pick up type errors\ >> ++=A0 "Run a loading-ish COMMAND that wants to pick up type errors > As above, what is "loading-ish", are "things like that" relevant, etc. I decided not to make these corrections. Because I am not familiar with Haskell and am just one learner, and am not good at English. >> +-=A0=A0=A0 ((haskell-mode . ((haskell-w3m-haddock-dirs . >> (\"/home/chris/Projects/foobar/.hsenv/cabal/share/doc\"))))) >> ++=A0=A0=A0 ((haskell-mode . >> ++=A0=A0=A0=A0=A0 ((haskell-w3m-haddock-dirs . >> ++=A0=A0=A0=A0=A0=A0 (\"/home/chris/Projects/foobar/.hsenv/cabal/share/d= oc\"))))) > Who is chris? But fair enough, the indentation should be right. In all seriousness, that is the name of the author probably. see: https://github.com/haskell/haskell-mode/blob/fe3a8046aa1e1767ddc11a74e= 3d45bd9c614e655/haskell.el#L3 I will submit a patch v2 soon after this. Cheers