From debbugs-submit-bounces@debbugs.gnu.org Sat Jan 05 07:07:46 2019 Received: (at submit) by debbugs.gnu.org; 5 Jan 2019 12:07:46 +0000 Received: from localhost ([127.0.0.1]:47326 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gfkjy-0008Ge-Hi for submit@debbugs.gnu.org; Sat, 05 Jan 2019 07:07:46 -0500 Received: from eggs.gnu.org ([208.118.235.92]:41950) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gfkjx-0008GX-IC for submit@debbugs.gnu.org; Sat, 05 Jan 2019 07:07:45 -0500 Received: from listsout.gnu.org ([208.118.235.17]:54551) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gfkjx-0004Dh-Bn for submit@debbugs.gnu.org; Sat, 05 Jan 2019 07:07:45 -0500 Received: from eggsout.gnu.org ([209.51.188.92]:56847 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gfkjw-0004pQ-5J for guix-patches@gnu.org; Sat, 05 Jan 2019 07:07:45 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=BAYES_40,FREEMAIL_FROM autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gfkjv-0004Cs-5g for guix-patches@gnu.org; Sat, 05 Jan 2019 07:07:43 -0500 Received: from mail-ed1-x544.google.com ([2a00:1450:4864:20::544]:39245) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gfkju-0004Cd-W0 for guix-patches@gnu.org; Sat, 05 Jan 2019 07:07:43 -0500 Received: by mail-ed1-x544.google.com with SMTP id b14so33900841edt.6 for ; Sat, 05 Jan 2019 04:07:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=user-agent:from:to:subject:date:message-id:mime-version; bh=r4ErMqF96gpcCeEXXNma0LbSe4qhqMISU7jyK1/9Ql8=; b=hczlkBQN7M5RTA5KiD6YZaL41rYNC0Db1HjuYBqNA/1fn7rnRdd3T8hdkm/1uP0mrv SWZWRv9jYKGdiXMo3mvTbaVF0G8mjCk+YGObVMjwlDDUDsJXec0YXYk8LfBjBLVVEUh0 EbJNQqBD2kLV2eWdCEaxOBT6w7VSGM8A54G8H8kvWF1o01LRwsUOsEcQnsi9aD47UoWO /PPzt3ZP42PIeH56/zTI2JIpuCVY0S84nTBVJCQnUO8nsgPQhNtYGjP5dcjAEx5C8A7O yjnvw5nsYLRBSu9YW6Gy30hDR2Fc1XOL/lIHXLPfHwuTll0nsceTW8LmuayLzz74anBz MIcQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:user-agent:from:to:subject:date:message-id :mime-version; bh=r4ErMqF96gpcCeEXXNma0LbSe4qhqMISU7jyK1/9Ql8=; b=hibw1t2Bb2uS/7446iqryv6R5MDN308efEdpIO5+o2M/b7MM6jVDQuwqhL8GOScF1b 39VpoYHoHjE99/BsA+cBsYAMDYzB2jUTuUjgu3uEblxvyUJN+CxMcbOpDS21m26L45TP edoMjs07nHCh+RsU9QkvjfzjVlVYpe07BW71w5HE2WVRzKKT1DeaDuCiHKe88SS0y752 yEhwkqw7vgjUcLtSl9Dz+DZpX2AZPrJ0ZPAxidZRtCy6x5+hFxz5xmAns1azGm0MFegs qHoxMpLZOeij5fQJELV9McCt2oabSpXQXY2qOjTED0Tn+3ro8wWut46WvKuPCeeCvoMt n2TA== X-Gm-Message-State: AJcUukd5G3w8jkrZnLv1SchD154J22umiIbp5M7oGdzNkTUYCihprJnz 8QzkKd4waBYXLmYmS+IpWWbKRd9H X-Google-Smtp-Source: ALg8bN7X6WKbBFwviiflx494diIYqmHlCyR6eHdZnAlHL0ospqQ7eEhhrwjk828GsvLf8wOWh2ShAg== X-Received: by 2002:a50:b0a4:: with SMTP id j33mr44197761edd.267.1546690061747; Sat, 05 Jan 2019 04:07:41 -0800 (PST) Received: from glht-x240.gmail.com (2a01cb04062c860044e3e8429e102378.ipv6.abo.wanadoo.fr. [2a01:cb04:62c:8600:44e3:e842:9e10:2378]) by smtp.gmail.com with ESMTPSA id j31sm26486198eda.46.2019.01.05.04.07.40 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sat, 05 Jan 2019 04:07:41 -0800 (PST) User-agent: mu4e 1.0; emacs 26.1 From: Gabriel Hondet To: guix-patches@gnu.org Subject: [PATCH] gnu: Add ghc-tldr. Date: Sat, 5 Jan 2019 13:05:06 +0100 Message-ID: <878szz8fzn.fsf@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::544 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Spam-Score: -4.0 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable * gnu/packages/haskell.scm (ghc-tldr): New variable. =2D-- gnu/packages/haskell.scm | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm index 8d0e2aef6..9a05f2a5c 100644 =2D-- a/gnu/packages/haskell.scm +++ b/gnu/packages/haskell.scm @@ -11365,4 +11365,37 @@ embedded in your Haskell code.") avoid the problem of partial intermediate files.") (license license:expat))) =20 +(define-public ghc-tldr + (package + (name "ghc-tldr") + (version "0.4.0.1") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/tldr/tldr-" + version + ".tar.gz")) + (sha256 + (base32 + "0nc581y9jjzwd8l88g48c72mla7k6q1w102akl7gl5jsk9ljamd3")))) + (build-system haskell-build-system) + (inputs + `(("ghc-cmark" ,ghc-cmark) + ("ghc-text" ,ghc-text) + ("ghc-ansi-terminal" ,ghc-ansi-terminal) + ("ghc-optparse-applicative" + ,ghc-optparse-applicative) + ("ghc-typed-process" ,ghc-typed-process) + ("ghc-semigroups" ,ghc-semigroups))) + (native-inputs + `(("ghc-tasty" ,ghc-tasty) + ("ghc-tasty-golden" ,ghc-tasty-golden))) + (home-page + "https://github.com/psibi/tldr-hs#readme") + (synopsis "Haskell tldr client") + (description + "Haskell tldr client with support for updating and viewing tldr pages= .") + (license license:bsd-3))) + ;;; haskell.scm ends here =2D-=20 2.20.1 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEE5ercJXBcjd3P1FcAMbyBBfZZ1CUFAlwwngwACgkQMbyBBfZZ 1CW1jg//eq3UxYHLkmuVpWNcyB57wlDmwY5zPYoZY86dtitGYCLl6E3iZp5xnoi3 +2EJ1oy6AaQ9YYiQiYuIVeMlx3Qhh3kYNSybCxDyovO2XnRX0pL6+HG9ThZ6bWtM x4AcuZj/1SwaaJ1cnmwHzmVZim15uD3Lo9jB0OGYrzEENFIqY06NzYXKBPtc8dhc CCEZ3jOEMTMGnsYycqziRS+QGX6HlE48oeE5fzPOf7ixsGPEnQPsoZGrVCqgLTfW mR1P4huyl5sc0Zai+SVN+5CdHnRl3CGpNpq6YqybHprMJjruJIhOjIyzl0OKCJYO vnPyZ0CjfqY37W392lzvnmNtjOPD6wEfqMXB+nDGXSStpRrvazPGK4EV/tciNFCE froBBgpoS+Q0vuxdtVi5GXzE2rPqhTKqT2+2U3pj6cNvQ9R/TC088eWWB2RcFxRR CIN5a3mvyCLwRe7w9hhT0cKZVMJe0+7sUXUes4Gpv7js6kFEzm7uXxLP7qWtfHxX tIGOZvYV4R1Foe05ddANKpImIU0SOCmyRZS40JMYd28iXHUM0PPKa+zBQZmmYz6p L4wmJiUppOtOoTey6v/hlPMo2RpbaCYWN3zbJCgrvje5kweYYuZNDZYvkxz1EXf1 +eA2FHCFWWqCVyoKrzh7owGyR49tn/QAOZ2xmRjvO6YmdRXxiYI= =X47P -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Mon Jan 14 17:13:45 2019 Received: (at 33987) by debbugs.gnu.org; 14 Jan 2019 22:13:45 +0000 Received: from localhost ([127.0.0.1]:59413 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gjAUK-0001rl-JD for submit@debbugs.gnu.org; Mon, 14 Jan 2019 17:13:45 -0500 Received: from hera.aquilenet.fr ([185.233.100.1]:33624) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gjAUH-0001rc-GF for 33987@debbugs.gnu.org; Mon, 14 Jan 2019 17:13:42 -0500 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id 1907E1B8B; Mon, 14 Jan 2019 23:13:40 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ctc_qQQTSDo8; Mon, 14 Jan 2019 23:13:39 +0100 (CET) Received: from ribbon (unknown [IPv6:2a01:e0a:1d:7270:af76:b9b:ca24:c465]) by hera.aquilenet.fr (Postfix) with ESMTPSA id 003F4130C; Mon, 14 Jan 2019 23:13:38 +0100 (CET) From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Gabriel Hondet Subject: Re: [bug#33987] [PATCH] gnu: Add ghc-tldr. References: <878szz8fzn.fsf@gmail.com> Date: Mon, 14 Jan 2019 23:13:38 +0100 In-Reply-To: <878szz8fzn.fsf@gmail.com> (Gabriel Hondet's message of "Sat, 5 Jan 2019 13:05:06 +0100") Message-ID: <87k1j6q44t.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 33987 Cc: 33987@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) Hi, Gabriel Hondet skribis: > * gnu/packages/haskell.scm (ghc-tldr): New variable. This fails to build for me on 64d25f0be214795050b058047133d11f1d5dcbf5: --8<---------------cut here---------------start------------->8--- [1 of 1] Compiling Tldr ( src/Tldr.hs, dist/build/Tldr.o ) src/Tldr.hs:60:61: error: =E2=80=A2 Couldn't match expected type =E2=80=98Text=E2=80=99 with actual type =E2=80=98text-1.2.3.0:Data.Text.Internal= .Text=E2=80=99 NB: =E2=80=98text-1.2.3.0:Data.Text.Internal.Text=E2=80=99 is defined in =E2=80=98Data.Text.Internal=E2=80=99 in package = =E2=80=98text-1.2.3.0=E2=80=99 =E2=80=98Text=E2=80=99 is defined in =E2=80=98Data.Text.Internal= =E2=80=99 in package =E2=80=98text-1.2.3.0=E2=80=99 =E2=80=A2 In the second argument of =E2=80=98TIO.hPutStrLn=E2=80=99, na= mely =E2=80=98txt=E2=80=99 In the expression: TIO.hPutStrLn handle txt In an equation for =E2=80=98renderNode=E2=80=99: renderNode (TEXT txt) handle =3D TIO.hPutStrLn handle txt | 60 | renderNode (TEXT txt) handle =3D TIO.hPutStrLn handle txt | ^^^ src/Tldr.hs:61:61: error: =E2=80=A2 Couldn't match expected type =E2=80=98Text=E2=80=99 with actual type =E2=80=98text-1.2.3.0:Data.Text.Internal= .Text=E2=80=99 NB: =E2=80=98text-1.2.3.0:Data.Text.Internal.Text=E2=80=99 is defined in =E2=80=98Data.Text.Internal=E2=80=99 in package = =E2=80=98text-1.2.3.0=E2=80=99 =E2=80=98Text=E2=80=99 is defined in =E2=80=98Data.Text.Internal= =E2=80=99 in package =E2=80=98text-1.2.3.0=E2=80=99 =E2=80=A2 In the second argument of =E2=80=98TIO.hPutStrLn=E2=80=99, na= mely =E2=80=98txt=E2=80=99 In the expression: TIO.hPutStrLn handle txt In an equation for =E2=80=98renderNode=E2=80=99: renderNode (HTML_BLOCK txt) handle =3D TIO.hPutStrLn handle txt | 61 | renderNode (HTML_BLOCK txt) handle =3D TIO.hPutStrLn handle txt | ^^^ src/Tldr.hs:62:61: error: =E2=80=A2 Couldn't match expected type =E2=80=98Text=E2=80=99 with actual type =E2=80=98text-1.2.3.0:Data.Text.Internal= .Text=E2=80=99 NB: =E2=80=98text-1.2.3.0:Data.Text.Internal.Text=E2=80=99 is defined in =E2=80=98Data.Text.Internal=E2=80=99 in package = =E2=80=98text-1.2.3.0=E2=80=99 =E2=80=98Text=E2=80=99 is defined in =E2=80=98Data.Text.Internal= =E2=80=99 in package =E2=80=98text-1.2.3.0=E2=80=99 =E2=80=A2 In the second argument of =E2=80=98TIO.hPutStrLn=E2=80=99, na= mely =E2=80=98txt=E2=80=99 In the expression: TIO.hPutStrLn handle txt In an equation for =E2=80=98renderNode=E2=80=99: renderNode (CODE_BLOCK _ txt) handle =3D TIO.hPutStrLn handle txt | 62 | renderNode (CODE_BLOCK _ txt) handle =3D TIO.hPutStrLn handle txt | ^^^ src/Tldr.hs:63:61: error: =E2=80=A2 Couldn't match expected type =E2=80=98Text=E2=80=99 with actual type =E2=80=98text-1.2.3.0:Data.Text.Internal= .Text=E2=80=99 NB: =E2=80=98text-1.2.3.0:Data.Text.Internal.Text=E2=80=99 is defined in =E2=80=98Data.Text.Internal=E2=80=99 in package = =E2=80=98text-1.2.3.0=E2=80=99 =E2=80=98Text=E2=80=99 is defined in =E2=80=98Data.Text.Internal= =E2=80=99 in package =E2=80=98text-1.2.3.0=E2=80=99 =E2=80=A2 In the second argument of =E2=80=98TIO.hPutStrLn=E2=80=99, na= mely =E2=80=98txt=E2=80=99 In the expression: TIO.hPutStrLn handle txt In an equation for =E2=80=98renderNode=E2=80=99: renderNode (HTML_INLINE txt) handle =3D TIO.hPutStrLn handle txt | 63 | renderNode (HTML_INLINE txt) handle =3D TIO.hPutStrLn handle txt | ^^^ src/Tldr.hs:64:62: error: =E2=80=A2 Couldn't match expected type =E2=80=98Text=E2=80=99 with actual type =E2=80=98text-1.2.3.0:Data.Text.Internal= .Text=E2=80=99 NB: =E2=80=98text-1.2.3.0:Data.Text.Internal.Text=E2=80=99 is defined in =E2=80=98Data.Text.Internal=E2=80=99 in package = =E2=80=98text-1.2.3.0=E2=80=99 =E2=80=98Text=E2=80=99 is defined in =E2=80=98Data.Text.Internal= =E2=80=99 in package =E2=80=98text-1.2.3.0=E2=80=99 =E2=80=A2 In the second argument of =E2=80=98TIO.hPutStrLn=E2=80=99, na= mely =E2=80=98(" " <> txt)=E2=80=99 In the expression: TIO.hPutStrLn handle (" " <> txt) In an equation for =E2=80=98renderNode=E2=80=99: renderNode (CODE txt) handle =3D TIO.hPutStrLn handle (" " <> t= xt) | 64 | renderNode (CODE txt) handle =3D TIO.hPutStrLn handle (" " <= > txt) | ^^^^^^^^^= ^^^ src/Tldr.hs:87:41: error: =E2=80=A2 Couldn't match expected type =E2=80=98Text=E2=80=99 with actual type =E2=80=98text-1.2.3.0:Data.Text.Internal= .Text=E2=80=99 NB: =E2=80=98text-1.2.3.0:Data.Text.Internal.Text=E2=80=99 is defined in =E2=80=98Data.Text.Internal=E2=80=99 in package = =E2=80=98text-1.2.3.0=E2=80=99 =E2=80=98Text=E2=80=99 is defined in =E2=80=98Data.Text.Internal= =E2=80=99 in package =E2=80=98text-1.2.3.0=E2=80=99 =E2=80=A2 In the expression: txt In an equation for =E2=80=98handleSubsetNodeType=E2=80=99: handleSubsetNodeType (HTML_BLOCK txt) =3D txt | 87 | handleSubsetNodeType (HTML_BLOCK txt) =3D txt | ^^^ src/Tldr.hs:88:43: error: =E2=80=A2 Couldn't match expected type =E2=80=98Text=E2=80=99 with actual type =E2=80=98text-1.2.3.0:Data.Text.Internal= .Text=E2=80=99 NB: =E2=80=98text-1.2.3.0:Data.Text.Internal.Text=E2=80=99 is defined in =E2=80=98Data.Text.Internal=E2=80=99 in package = =E2=80=98text-1.2.3.0=E2=80=99 =E2=80=98Text=E2=80=99 is defined in =E2=80=98Data.Text.Internal= =E2=80=99 in package =E2=80=98text-1.2.3.0=E2=80=99 =E2=80=A2 In the expression: txt In an equation for =E2=80=98handleSubsetNodeType=E2=80=99: handleSubsetNodeType (CODE_BLOCK _ txt) =3D txt | 88 | handleSubsetNodeType (CODE_BLOCK _ txt) =3D txt | ^^^ src/Tldr.hs:89:35: error: =E2=80=A2 Couldn't match expected type =E2=80=98Text=E2=80=99 with actual type =E2=80=98text-1.2.3.0:Data.Text.Internal= .Text=E2=80=99 NB: =E2=80=98text-1.2.3.0:Data.Text.Internal.Text=E2=80=99 is defined in =E2=80=98Data.Text.Internal=E2=80=99 in package = =E2=80=98text-1.2.3.0=E2=80=99 =E2=80=98Text=E2=80=99 is defined in =E2=80=98Data.Text.Internal= =E2=80=99 in package =E2=80=98text-1.2.3.0=E2=80=99 =E2=80=A2 In the expression: txt In an equation for =E2=80=98handleSubsetNodeType=E2=80=99: handleSubsetNodeType (TEXT txt) =3D txt | 89 | handleSubsetNodeType (TEXT txt) =3D txt | ^^^ src/Tldr.hs:90:42: error: =E2=80=A2 Couldn't match expected type =E2=80=98Text=E2=80=99 with actual type =E2=80=98text-1.2.3.0:Data.Text.Internal= .Text=E2=80=99 NB: =E2=80=98text-1.2.3.0:Data.Text.Internal.Text=E2=80=99 is defined in =E2=80=98Data.Text.Internal=E2=80=99 in package = =E2=80=98text-1.2.3.0=E2=80=99 =E2=80=98Text=E2=80=99 is defined in =E2=80=98Data.Text.Internal= =E2=80=99 in package =E2=80=98text-1.2.3.0=E2=80=99 =E2=80=A2 In the expression: txt In an equation for =E2=80=98handleSubsetNodeType=E2=80=99: handleSubsetNodeType (HTML_INLINE txt) =3D txt | 90 | handleSubsetNodeType (HTML_INLINE txt) =3D txt | ^^^ src/Tldr.hs:91:35: error: =E2=80=A2 Couldn't match expected type =E2=80=98Text=E2=80=99 with actual type =E2=80=98text-1.2.3.0:Data.Text.Internal= .Text=E2=80=99 NB: =E2=80=98text-1.2.3.0:Data.Text.Internal.Text=E2=80=99 is defined in =E2=80=98Data.Text.Internal=E2=80=99 in package = =E2=80=98text-1.2.3.0=E2=80=99 =E2=80=98Text=E2=80=99 is defined in =E2=80=98Data.Text.Internal= =E2=80=99 in package =E2=80=98text-1.2.3.0=E2=80=99 =E2=80=A2 In the expression: txt In an equation for =E2=80=98handleSubsetNodeType=E2=80=99: handleSubsetNodeType (CODE txt) =3D txt | 91 | handleSubsetNodeType (CODE txt) =3D txt | ^^^ src/Tldr.hs:114:34: error: =E2=80=A2 Couldn't match expected type =E2=80=98text-1.2.3.0:Data.Text.= Internal.Text=E2=80=99 with actual type =E2=80=98Text=E2=80=99 NB: =E2=80=98Text=E2=80=99 is defined in =E2=80=98Data.Text.Internal=E2=80=99 in package = =E2=80=98text-1.2.3.0=E2=80=99 =E2=80=98text-1.2.3.0:Data.Text.Internal.Text=E2=80=99 is defined in =E2=80=98Data.Text.Internal=E2=80=99 in package = =E2=80=98text-1.2.3.0=E2=80=99 =E2=80=A2 In the second argument of =E2=80=98commonmarkToNode=E2=80=99,= namely =E2=80=98page=E2=80=99 In the expression: commonmarkToNode [] page In an equation for =E2=80=98node=E2=80=99: node =3D commonmarkToNode = [] page | 114 | let node =3D commonmarkToNode [] page | ^^^^ --8<---------------cut here---------------end--------------->8--- Also, some minor issues: > + (home-page > + "https://github.com/psibi/tldr-hs#readme") > + (synopsis "Haskell tldr client") > + (description > + "Haskell tldr client with support for updating and viewing tldr pag= es.") Please write a full sentence for the description. It=E2=80=99s also a good= idea to write =E2=80=9Ca client library for the tldr foo bar service=E2=80=9D ra= ther than just =E2=80=9Ctldr client=E2=80=9D, to give a bit of context (replace =E2= =80=9Cfoo bar=E2=80=9D with whatever makes sense, of course :-)). Could you send an updated patch? Thanks, Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Tue Jan 15 10:16:40 2019 Received: (at 33987) by debbugs.gnu.org; 15 Jan 2019 15:16:40 +0000 Received: from localhost ([127.0.0.1]:60265 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gjQSF-0005gx-2T for submit@debbugs.gnu.org; Tue, 15 Jan 2019 10:16:39 -0500 Received: from mail-wm1-f67.google.com ([209.85.128.67]:35940) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gjQSC-0005gh-Lg for 33987@debbugs.gnu.org; Tue, 15 Jan 2019 10:16:37 -0500 Received: by mail-wm1-f67.google.com with SMTP id p6so3587557wmc.1 for <33987@debbugs.gnu.org>; Tue, 15 Jan 2019 07:16:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=references:user-agent:from:to:cc:subject:in-reply-to:date :message-id:mime-version; bh=8i3Zg+kXprq+nlkvUZimFlUGYH60fsaGC0PTIa2lQic=; b=hMg2wIdEvEqUvxgaYl5uvsHPZiGeva/G0ApRHszZjc8kHcSCm4uJPzPTCw94hgegfl Q3yMm78cutMR5sxd+OU1pHodiKdA6PQSyQwV8rkYNOC8jB2OWzYrSVO8VXT0nYkzUF2+ jfXFpzK6RkBWenJ6ebPDZ1SyTcukPGxAjWqSDwF1NMLTqj5Ugv5SSHBWukf062UFLTL4 9hLC7EvSVLpacWJvWU3iQuU/h5u/eyEJl9IYWZ7BdhD/ucwxEJBfDJa/YlxaceODlsRF k7bZrDqk01ZQePWFDBW3owzDwHgDvdrYHhF78Lhf/BbZuQ7Hk2w7bEChYJeULdD7lfEy Siig== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:references:user-agent:from:to:cc:subject :in-reply-to:date:message-id:mime-version; bh=8i3Zg+kXprq+nlkvUZimFlUGYH60fsaGC0PTIa2lQic=; b=XvoUaRvcfVLFShJG3NDgK8fY58DFZvLP2EnVj2SEXCDekNoOr2ljeXVDK+Jh7he43H 7RGaZ6HAJF+Ua5uN0WUfJmgJg8VnsbZsKIfWXwZB328ckPSGRU6M82SmkcjShMlDStSl 8aq0a0nlH/8nJCiO8Bdwz+Li0mIKEtw0E1aCJlc8lcFyov0d1EHj/giVGVD4nMFUhKFV vjU0Pr4bizOkuvMm1SP5vigM0O0Oo9aPhykrj8JLBs7Wfz4l4/j2zkmkkuPFVinVI/ck JP/j9c0aMG3yruAEAyMuPl3M6wcwpAlO8GxCgmLNVa/exVIhs5hlswxKuiiefOpAnG/V QcAQ== X-Gm-Message-State: AJcUukdqQCqp78vXsz26XSNSYxJ3JuWEmsWWrgzuc3YRNtwfB9KN0e9v HLJyuG8S1YmOqd6nBHlCFAsiSkmlCaI= X-Google-Smtp-Source: ALg8bN7JygrlOUfQUW3fTdDELChR/uLTg0UX/Y6lWfyp3MiVMrxgMLGsxZsw+vgb8V6BiDlz9mWlyg== X-Received: by 2002:a1c:bd86:: with SMTP id n128mr3787630wmf.22.1547565390446; Tue, 15 Jan 2019 07:16:30 -0800 (PST) Received: from glht-x240.gmail.com ([217.109.134.89]) by smtp.gmail.com with ESMTPSA id n82sm32121012wma.42.2019.01.15.07.16.28 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 15 Jan 2019 07:16:28 -0800 (PST) References: <878szz8fzn.fsf@gmail.com> <87k1j6q44t.fsf@gnu.org> User-agent: mu4e 1.0; emacs 26.1 From: Gabriel Hondet To: Ludovic =?utf-8?Q?Court=C3=A8s?= Subject: Re: [bug#33987] [PATCH] gnu: Add ghc-tldr. In-reply-to: <87k1j6q44t.fsf@gnu.org> Date: Tue, 15 Jan 2019 16:16:23 +0100 Message-ID: <87d0oydk8o.fsf@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 33987 Cc: 33987@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hello, On Mon 14 Jan 2019 at 23:13 Ludovic Court=C3=A8s wrote: > This fails to build for me on 64d25f0be214795050b058047133d11f1d5dcbf5: > > --8<---------------cut here---------------start------------->8--- > [1 of 1] Compiling Tldr ( src/Tldr.hs, dist/build/Tldr.o ) > > src/Tldr.hs:60:61: error: > =E2=80=A2 Couldn't match expected type =E2=80=98Text=E2=80=99 > with actual type =E2=80=98text-1.2.3.0:Data.Text.Intern= al.Text=E2=80=99 > NB: =E2=80=98text-1.2.3.0:Data.Text.Internal.Text=E2=80=99 > is defined in =E2=80=98Data.Text.Internal=E2=80=99 in package= =E2=80=98text-1.2.3.0=E2=80=99 > =E2=80=98Text=E2=80=99 is defined in =E2=80=98Data.Text.Interna= l=E2=80=99 in package =E2=80=98text-1.2.3.0=E2=80=99 > =E2=80=A2 In the second argument of =E2=80=98TIO.hPutStrLn=E2=80=99, = namely =E2=80=98txt=E2=80=99 > In the expression: TIO.hPutStrLn handle txt > In an equation for =E2=80=98renderNode=E2=80=99: > renderNode (TEXT txt) handle =3D TIO.hPutStrLn handle txt > | > 60 | renderNode (TEXT txt) handle =3D TIO.hPutStrLn handle txt > | ^^^ > > src/Tldr.hs:61:61: error: > =E2=80=A2 Couldn't match expected type =E2=80=98Text=E2=80=99 > with actual type =E2=80=98text-1.2.3.0:Data.Text.Intern= al.Text=E2=80=99 > NB: =E2=80=98text-1.2.3.0:Data.Text.Internal.Text=E2=80=99 > is defined in =E2=80=98Data.Text.Internal=E2=80=99 in package= =E2=80=98text-1.2.3.0=E2=80=99 > =E2=80=98Text=E2=80=99 is defined in =E2=80=98Data.Text.Interna= l=E2=80=99 in package =E2=80=98text-1.2.3.0=E2=80=99 > =E2=80=A2 In the second argument of =E2=80=98TIO.hPutStrLn=E2=80=99, = namely =E2=80=98txt=E2=80=99 > In the expression: TIO.hPutStrLn handle txt > In an equation for =E2=80=98renderNode=E2=80=99: > renderNode (HTML_BLOCK txt) handle =3D TIO.hPutStrLn handle txt > | > 61 | renderNode (HTML_BLOCK txt) handle =3D TIO.hPutStrLn handle txt > | ^^^ > > src/Tldr.hs:62:61: error: > =E2=80=A2 Couldn't match expected type =E2=80=98Text=E2=80=99 > with actual type =E2=80=98text-1.2.3.0:Data.Text.Intern= al.Text=E2=80=99 > NB: =E2=80=98text-1.2.3.0:Data.Text.Internal.Text=E2=80=99 > is defined in =E2=80=98Data.Text.Internal=E2=80=99 in package= =E2=80=98text-1.2.3.0=E2=80=99 > =E2=80=98Text=E2=80=99 is defined in =E2=80=98Data.Text.Interna= l=E2=80=99 in package =E2=80=98text-1.2.3.0=E2=80=99 > =E2=80=A2 In the second argument of =E2=80=98TIO.hPutStrLn=E2=80=99, = namely =E2=80=98txt=E2=80=99 > In the expression: TIO.hPutStrLn handle txt > In an equation for =E2=80=98renderNode=E2=80=99: > renderNode (CODE_BLOCK _ txt) handle =3D TIO.hPutStrLn handle t= xt > | > 62 | renderNode (CODE_BLOCK _ txt) handle =3D TIO.hPutStrLn handle txt > | ^^^ > > src/Tldr.hs:63:61: error: > =E2=80=A2 Couldn't match expected type =E2=80=98Text=E2=80=99 > with actual type =E2=80=98text-1.2.3.0:Data.Text.Intern= al.Text=E2=80=99 > NB: =E2=80=98text-1.2.3.0:Data.Text.Internal.Text=E2=80=99 > is defined in =E2=80=98Data.Text.Internal=E2=80=99 in package= =E2=80=98text-1.2.3.0=E2=80=99 > =E2=80=98Text=E2=80=99 is defined in =E2=80=98Data.Text.Interna= l=E2=80=99 in package =E2=80=98text-1.2.3.0=E2=80=99 > =E2=80=A2 In the second argument of =E2=80=98TIO.hPutStrLn=E2=80=99, = namely =E2=80=98txt=E2=80=99 > In the expression: TIO.hPutStrLn handle txt > In an equation for =E2=80=98renderNode=E2=80=99: > renderNode (HTML_INLINE txt) handle =3D TIO.hPutStrLn handle txt > | > 63 | renderNode (HTML_INLINE txt) handle =3D TIO.hPutStrLn handle txt > | ^^^ > > src/Tldr.hs:64:62: error: > =E2=80=A2 Couldn't match expected type =E2=80=98Text=E2=80=99 > with actual type =E2=80=98text-1.2.3.0:Data.Text.Intern= al.Text=E2=80=99 > NB: =E2=80=98text-1.2.3.0:Data.Text.Internal.Text=E2=80=99 > is defined in =E2=80=98Data.Text.Internal=E2=80=99 in package= =E2=80=98text-1.2.3.0=E2=80=99 > =E2=80=98Text=E2=80=99 is defined in =E2=80=98Data.Text.Interna= l=E2=80=99 in package =E2=80=98text-1.2.3.0=E2=80=99 > =E2=80=A2 In the second argument of =E2=80=98TIO.hPutStrLn=E2=80=99, = namely > =E2=80=98(" " <> txt)=E2=80=99 > In the expression: TIO.hPutStrLn handle (" " <> txt) > In an equation for =E2=80=98renderNode=E2=80=99: > renderNode (CODE txt) handle =3D TIO.hPutStrLn handle (" " <>= txt) > | > 64 | renderNode (CODE txt) handle =3D TIO.hPutStrLn handle (" "= <> txt) > | ^^^^^^^= ^^^^^ > > src/Tldr.hs:87:41: error: > =E2=80=A2 Couldn't match expected type =E2=80=98Text=E2=80=99 > with actual type =E2=80=98text-1.2.3.0:Data.Text.Intern= al.Text=E2=80=99 > NB: =E2=80=98text-1.2.3.0:Data.Text.Internal.Text=E2=80=99 > is defined in =E2=80=98Data.Text.Internal=E2=80=99 in package= =E2=80=98text-1.2.3.0=E2=80=99 > =E2=80=98Text=E2=80=99 is defined in =E2=80=98Data.Text.Interna= l=E2=80=99 in package =E2=80=98text-1.2.3.0=E2=80=99 > =E2=80=A2 In the expression: txt > In an equation for =E2=80=98handleSubsetNodeType=E2=80=99: > handleSubsetNodeType (HTML_BLOCK txt) =3D txt > | > 87 | handleSubsetNodeType (HTML_BLOCK txt) =3D txt > | ^^^ > > src/Tldr.hs:88:43: error: > =E2=80=A2 Couldn't match expected type =E2=80=98Text=E2=80=99 > with actual type =E2=80=98text-1.2.3.0:Data.Text.Intern= al.Text=E2=80=99 > NB: =E2=80=98text-1.2.3.0:Data.Text.Internal.Text=E2=80=99 > is defined in =E2=80=98Data.Text.Internal=E2=80=99 in package= =E2=80=98text-1.2.3.0=E2=80=99 > =E2=80=98Text=E2=80=99 is defined in =E2=80=98Data.Text.Interna= l=E2=80=99 in package =E2=80=98text-1.2.3.0=E2=80=99 > =E2=80=A2 In the expression: txt > In an equation for =E2=80=98handleSubsetNodeType=E2=80=99: > handleSubsetNodeType (CODE_BLOCK _ txt) =3D txt > | > 88 | handleSubsetNodeType (CODE_BLOCK _ txt) =3D txt > | ^^^ > > src/Tldr.hs:89:35: error: > =E2=80=A2 Couldn't match expected type =E2=80=98Text=E2=80=99 > with actual type =E2=80=98text-1.2.3.0:Data.Text.Intern= al.Text=E2=80=99 > NB: =E2=80=98text-1.2.3.0:Data.Text.Internal.Text=E2=80=99 > is defined in =E2=80=98Data.Text.Internal=E2=80=99 in package= =E2=80=98text-1.2.3.0=E2=80=99 > =E2=80=98Text=E2=80=99 is defined in =E2=80=98Data.Text.Interna= l=E2=80=99 in package =E2=80=98text-1.2.3.0=E2=80=99 > =E2=80=A2 In the expression: txt > In an equation for =E2=80=98handleSubsetNodeType=E2=80=99: > handleSubsetNodeType (TEXT txt) =3D txt > | > 89 | handleSubsetNodeType (TEXT txt) =3D txt > | ^^^ > > src/Tldr.hs:90:42: error: > =E2=80=A2 Couldn't match expected type =E2=80=98Text=E2=80=99 > with actual type =E2=80=98text-1.2.3.0:Data.Text.Intern= al.Text=E2=80=99 > NB: =E2=80=98text-1.2.3.0:Data.Text.Internal.Text=E2=80=99 > is defined in =E2=80=98Data.Text.Internal=E2=80=99 in package= =E2=80=98text-1.2.3.0=E2=80=99 > =E2=80=98Text=E2=80=99 is defined in =E2=80=98Data.Text.Interna= l=E2=80=99 in package =E2=80=98text-1.2.3.0=E2=80=99 > =E2=80=A2 In the expression: txt > In an equation for =E2=80=98handleSubsetNodeType=E2=80=99: > handleSubsetNodeType (HTML_INLINE txt) =3D txt > | > 90 | handleSubsetNodeType (HTML_INLINE txt) =3D txt > | ^^^ > > src/Tldr.hs:91:35: error: > =E2=80=A2 Couldn't match expected type =E2=80=98Text=E2=80=99 > with actual type =E2=80=98text-1.2.3.0:Data.Text.Intern= al.Text=E2=80=99 > NB: =E2=80=98text-1.2.3.0:Data.Text.Internal.Text=E2=80=99 > is defined in =E2=80=98Data.Text.Internal=E2=80=99 in package= =E2=80=98text-1.2.3.0=E2=80=99 > =E2=80=98Text=E2=80=99 is defined in =E2=80=98Data.Text.Interna= l=E2=80=99 in package =E2=80=98text-1.2.3.0=E2=80=99 > =E2=80=A2 In the expression: txt > In an equation for =E2=80=98handleSubsetNodeType=E2=80=99: > handleSubsetNodeType (CODE txt) =3D txt > | > 91 | handleSubsetNodeType (CODE txt) =3D txt > | ^^^ > > src/Tldr.hs:114:34: error: > =E2=80=A2 Couldn't match expected type =E2=80=98text-1.2.3.0:Data.Tex= t.Internal.Text=E2=80=99 > with actual type =E2=80=98Text=E2=80=99 > NB: =E2=80=98Text=E2=80=99 > is defined in =E2=80=98Data.Text.Internal=E2=80=99 in package= =E2=80=98text-1.2.3.0=E2=80=99 > =E2=80=98text-1.2.3.0:Data.Text.Internal.Text=E2=80=99 > is defined in =E2=80=98Data.Text.Internal=E2=80=99 in package= =E2=80=98text-1.2.3.0=E2=80=99 > =E2=80=A2 In the second argument of =E2=80=98commonmarkToNode=E2=80= =99, namely =E2=80=98page=E2=80=99 > In the expression: commonmarkToNode [] page > In an equation for =E2=80=98node=E2=80=99: node =3D commonmarkToNod= e [] page > | > 114 | let node =3D commonmarkToNode [] page > | ^^^^ > --8<---------------cut here---------------end--------------->8--- It builds correctly for me on 38f18309e1f13b1df9add9dafcbc634f0e15004c and on 64d25f0be214795050b058047133d11f1d5dcbf5 as well, so I don't know... But interestingly, I have already seen this error, with text-1.2.3.0 (when trying to build ghc-conduit-extra for instance). On the other hand I have removed two dependencies that were specified by the ~guix import~ command but seemed useless, as it works without them (ghc-text and ghc-ansi-terminal). * gnu/packages/haskell.scm (ghc-tldr): New variable. =2D-- gnu/packages/haskell.scm | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm index 8d0e2aef6..280d0150f 100644 =2D-- a/gnu/packages/haskell.scm +++ b/gnu/packages/haskell.scm @@ -16,6 +16,7 @@ ;;; Copyright =C2=A9 2018 Tonton ;;; Copyright =C2=A9 2018 Timothy Sample ;;; Copyright =C2=A9 2018 Arun Isaac +;;; Copyright =C2=A9 2018 Gabriel Hondet ;;; ;;; This file is part of GNU Guix. ;;; @@ -11365,4 +11366,36 @@ embedded in your Haskell code.") avoid the problem of partial intermediate files.") (license license:expat))) =20 +(define-public ghc-tldr + (package + (name "ghc-tldr") + (version "0.4.0.1") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/tldr/tldr-" + version + ".tar.gz")) + (sha256 + (base32 + "0nc581y9jjzwd8l88g48c72mla7k6q1w102akl7gl5jsk9ljamd3")))) + (build-system haskell-build-system) + (inputs + `(("ghc-cmark" ,ghc-cmark) + ("ghc-optparse-applicative" ,ghc-optparse-applicative) + ("ghc-typed-process" ,ghc-typed-process) + ("ghc-semigroups" ,ghc-semigroups))) + (native-inputs + `(("ghc-tasty" ,ghc-tasty) + ("ghc-tasty-golden" ,ghc-tasty-golden))) + (home-page + "https://github.com/psibi/tldr-hs#readme") + (synopsis "Haskell tldr client") + (description "Haskell client allowing the user to update and view +@code{tldr} pages from a shell. The @code{tldr} pages are a community eff= ort +to simplify the man pages with practical examples.") + (license license:bsd-3))) + ;;; haskell.scm ends here =2D-=20 2.20.1 Gabriel --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEE5ercJXBcjd3P1FcAMbyBBfZZ1CUFAlw9+UcACgkQMbyBBfZZ 1CWWrA/8DSYD9YKIEjMRjNwUBOnSPd0LfNFmXE/JgThuet83CGD3Dm2CavnQlqEu 1/DQoH9FT22qa0gNXFIKcbpmUlrKORF0vMtpSoxPnbbthPRRbYMk57li04sGjgt3 F06oUiZJ/Tip7XJ4LGkiBAuSJlCVY1UhbTogDDrEUEeD/71oL9UYqx+cnG3bfltT 3+i3S0SPkZyRBrUarge4LbSOA5np3FuWxMPMbI0w5kczrSrxfGcZR7WkWYaAkCiZ Oa3Xor1Z2Nt46IgZshgt5AkHTiOFJxUAyZipiv5OGfsIfnnORhWH84ohwOxcyGjv uUYibBM1oNLNAUEtg+rPjYgwZfsDwAI6ZAai4HU4+WB6fTQAAU2ntWee+DWbH7cm y3wbA0BuSnzXuE9B6/0Dl7K0zGq9+/cvb+xpgBUmilkf/YIwzc0ZxF9RmOHgujQ/ Cx1ruXXtpJ9oPUmqpTRRLE8OR9eHt+Ch/1FdT6J2l3o9iswkz/1YPdYq7IDKPw1I i4s9uigx8nWfSzQ1JsdmmJNG+wtqGXZ49nt3KPw0VoxBJ22hPn7UIeQ50wwDMlBR 2g2WywCkbbqHcePMc+QDAwBiEgzDzBHLlMHidGq6X/ivrVpj2oCtOTjIZf4zVGg4 ry9R89yV+snQQORbqe+NoHPSFHOS0A1RJS2q8z+dYH4NsduWayk= =nyw8 -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Thu Jan 17 04:05:41 2019 Received: (at 33987-done) by debbugs.gnu.org; 17 Jan 2019 09:05:42 +0000 Received: from localhost ([127.0.0.1]:34140 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gk3cL-0006Lh-Jf for submit@debbugs.gnu.org; Thu, 17 Jan 2019 04:05:41 -0500 Received: from hera.aquilenet.fr ([185.233.100.1]:53486) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gk3cH-0006LW-9U for 33987-done@debbugs.gnu.org; Thu, 17 Jan 2019 04:05:37 -0500 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id CFB2312C1; Thu, 17 Jan 2019 10:05:35 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Hr4Z3oRElmnw; Thu, 17 Jan 2019 10:05:34 +0100 (CET) Received: from ribbon (unknown [IPv6:2001:660:6102:320:e120:2c8f:8909:cdfe]) by hera.aquilenet.fr (Postfix) with ESMTPSA id 5BF5BBBE; Thu, 17 Jan 2019 10:05:34 +0100 (CET) From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Gabriel Hondet Subject: Re: [bug#33987] [PATCH] gnu: Add ghc-tldr. References: <878szz8fzn.fsf@gmail.com> <87k1j6q44t.fsf@gnu.org> <87d0oydk8o.fsf@gmail.com> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 28 =?utf-8?Q?Niv=C3=B4se?= an 227 de la =?utf-8?Q?R?= =?utf-8?Q?=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Thu, 17 Jan 2019 10:05:33 +0100 In-Reply-To: <87d0oydk8o.fsf@gmail.com> (Gabriel Hondet's message of "Tue, 15 Jan 2019 16:16:23 +0100") Message-ID: <87fttry7qa.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 33987-done Cc: 33987-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi, Gabriel Hondet skribis: > It builds correctly for me on 38f18309e1f13b1df9add9dafcbc634f0e15004c > and on 64d25f0be214795050b058047133d11f1d5dcbf5 as well, so I don't > know... But interestingly, I have already seen this error, with > text-1.2.3.0 (when trying to build ghc-conduit-extra for instance). > > On the other hand I have removed two dependencies that were specified by > the ~guix import~ command but seemed useless, as it works without them > (ghc-text and ghc-ansi-terminal). > > * gnu/packages/haskell.scm (ghc-tldr): New variable. Well, it works for me this time. Applied with the minor changes below. The =E2=80=98tldr=E2=80=99 command looks pretty handy! Thanks, Ludo=E2=80=99. --=-=-= Content-Type: text/x-patch Content-Disposition: inline diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm index 9db23be01e..b40a5d05da 100644 --- a/gnu/packages/haskell.scm +++ b/gnu/packages/haskell.scm @@ -11389,12 +11389,12 @@ avoid the problem of partial intermediate files.") (native-inputs `(("ghc-tasty" ,ghc-tasty) ("ghc-tasty-golden" ,ghc-tasty-golden))) - (home-page - "https://github.com/psibi/tldr-hs#readme") + (home-page "https://github.com/psibi/tldr-hs#readme") (synopsis "Haskell tldr client") - (description "Haskell client allowing the user to update and view -@code{tldr} pages from a shell. The @code{tldr} pages are a community effort -to simplify the man pages with practical examples.") + (description "This package provides the @command{tldr} command and a +Haskell client library allowing users to update and view @code{tldr} pages +from a shell. The @code{tldr} pages are a community effort to simplify the +man pages with practical examples.") (license license:bsd-3))) ;;; haskell.scm ends here --=-=-=-- From unknown Mon Aug 18 15:39:15 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Thu, 14 Feb 2019 12:24:05 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator