From patchwork Thu Jan 17 09:05:33 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Ludovic_Court=C3=A8s?= X-Patchwork-Id: 757 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 494E116A5B; Thu, 17 Jan 2019 09:10:07 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id D2C1216A3B for ; Thu, 17 Jan 2019 09:10:06 +0000 (GMT) Received: from localhost ([127.0.0.1]:39181 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gk3gc-0008A4-5q for patchwork@mira.cbaines.net; Thu, 17 Jan 2019 04:10:06 -0500 Received: from eggs.gnu.org ([209.51.188.92]:37351) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gk3cx-0005EE-Op for guix-patches@gnu.org; Thu, 17 Jan 2019 04:06:23 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gk3cq-0000TQ-Ca for guix-patches@gnu.org; Thu, 17 Jan 2019 04:06:15 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:34861) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gk3ch-0000Hq-TT for guix-patches@gnu.org; Thu, 17 Jan 2019 04:06:07 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gk3cg-0006ML-Mw for guix-patches@gnu.org; Thu, 17 Jan 2019 04:06:02 -0500 Subject: bug#33987: [PATCH] gnu: Add ghc-tldr. Resent-From: Ludovic =?utf-8?q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-To: guix-patches@gnu.org Resent-Date: Thu, 17 Jan 2019 09:06:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 33987 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Gabriel Hondet Mail-Followup-To: 33987@debbugs.gnu.org, ludo@gnu.org, gabrielhondet@gmail.com Received: via spool by 33987-done@debbugs.gnu.org id=D33987.154771594224413 (code D ref 33987); Thu, 17 Jan 2019 09:06:02 +0000 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: Ludovic =?utf-8?q?Court=C3=A8s?= 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 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: 33987-done@debbugs.gnu.org Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches 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 ‘tldr’ command looks pretty handy! Thanks, Ludo’. 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