From patchwork Fri May 24 16:23:29 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: 14067 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 B27DC17016; Fri, 24 May 2019 17:28:59 +0100 (BST) 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 autolearn=ham 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 665F316FFA for ; Fri, 24 May 2019 17:28:59 +0100 (BST) Received: from localhost ([127.0.0.1]:57329 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hUD3z-0002hY-0W for patchwork@mira.cbaines.net; Fri, 24 May 2019 12:28:59 -0400 Received: from eggs.gnu.org ([209.51.188.92]:43347) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hUCzD-0006dV-Dm for guix-patches@gnu.org; Fri, 24 May 2019 12:24:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hUCzC-0006kg-FR for guix-patches@gnu.org; Fri, 24 May 2019 12:24:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:33611) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hUCzC-0006k7-C0 for guix-patches@gnu.org; Fri, 24 May 2019 12:24:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hUCzC-00018O-4N for guix-patches@gnu.org; Fri, 24 May 2019 12:24:02 -0400 Subject: bug#35855: [PATCH] gnu: Add coq-stdpp. Resent-From: Ludovic =?utf-8?q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-To: guix-patches@gnu.org Resent-Date: Fri, 24 May 2019 16:24:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 35855 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Dan Frumin Mail-Followup-To: 35855@debbugs.gnu.org, ludo@gnu.org, dfrumin@cs.ru.nl Received: via spool by 35855-done@debbugs.gnu.org id=D35855.15587150244326 (code D ref 35855); Fri, 24 May 2019 16:24:01 +0000 Received: (at 35855-done) by debbugs.gnu.org; 24 May 2019 16:23:44 +0000 Received: from localhost ([127.0.0.1]:47154 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hUCyr-00017f-Id for submit@debbugs.gnu.org; Fri, 24 May 2019 12:23:43 -0400 Received: from eggs.gnu.org ([209.51.188.92]:57090) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hUCyp-00017Q-TI for 35855-done@debbugs.gnu.org; Fri, 24 May 2019 12:23:40 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:41975) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hUCyi-0006Fs-4c; Fri, 24 May 2019 12:23:33 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=37080 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1hUCyh-0004dn-G2; Fri, 24 May 2019 12:23:31 -0400 From: Ludovic =?utf-8?q?Court=C3=A8s?= References: <20190522113323.3880-1-dfrumin@cs.ru.nl> Date: Fri, 24 May 2019 18:23:29 +0200 In-Reply-To: <20190522113323.3880-1-dfrumin@cs.ru.nl> (Dan Frumin's message of "Wed, 22 May 2019 13:33:23 +0200") Message-ID: <87lfyvstxa.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux) MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] 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: 35855-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 Dan, I took the liberty to apply the minor changes below and applied the patch (grep, diffutils, etc. are implicit inputs of ‘gnu-build-system’, so you don’t need to list them; as for ‘invoke’, it’s now the preferred way to invoke programs.) Thank you! Ludo’. diff --git a/gnu/packages/coq.scm b/gnu/packages/coq.scm index 15a7e791f9..6c48af4fc9 100644 --- a/gnu/packages/coq.scm +++ b/gnu/packages/coq.scm @@ -551,11 +551,6 @@ kernel.") (sha256 (base32 "11m7kqxsbxygk41v2wsi3npdzwin9fcnzc1gn0gq0rd57wnqk83i")))) (build-system gnu-build-system) - (native-inputs - `(("grep" ,grep) ;; need egrep for tests - ("gawk" ,gawk) - ;; need diff for tests - ("diffutils" ,diffutils))) (inputs `(("coq" ,coq))) (arguments @@ -566,10 +561,10 @@ kernel.") (replace 'install (lambda* (#:key outputs #:allow-other-keys) (setenv "COQLIB" (string-append (assoc-ref outputs "out") "/lib/coq/")) - (zero? (system* "make" - (string-append "COQLIB=" (assoc-ref outputs "out") - "/lib/coq/") - "install"))))))) + (invoke "make" + (string-append "COQLIB=" (assoc-ref outputs "out") + "/lib/coq/") + "install")))))) (description "This project contains an extended \"Standard Library\" for Coq called coq-std++. The key features are: @itemize