From patchwork Fri Sep 8 10:34:21 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jean-Pierre De Jesus DIAZ X-Patchwork-Id: 53673 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 0AD0F27BBE9; Fri, 8 Sep 2023 11:35:13 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 6F75A27BBE2 for ; Fri, 8 Sep 2023 11:35:11 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qeYpL-0005Qc-I2; Fri, 08 Sep 2023 06:35:03 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qeYpJ-0005PA-2H for guix-patches@gnu.org; Fri, 08 Sep 2023 06:35:01 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qeYpI-0000kT-PF for guix-patches@gnu.org; Fri, 08 Sep 2023 06:35:00 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qeYpK-0003Yx-UM for guix-patches@gnu.org; Fri, 08 Sep 2023 06:35:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#65820] [PATCH 2/3] gnu: Add coq-for-coqtail. Resent-From: Jean-Pierre De Jesus DIAZ Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 08 Sep 2023 10:35:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 65820 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 65820@debbugs.gnu.org Cc: Jean-Pierre De Jesus DIAZ Received: via spool by 65820-submit@debbugs.gnu.org id=B65820.169416929913676 (code B ref 65820); Fri, 08 Sep 2023 10:35:02 +0000 Received: (at 65820) by debbugs.gnu.org; 8 Sep 2023 10:34:59 +0000 Received: from localhost ([127.0.0.1]:42277 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qeYpH-0003YV-CT for submit@debbugs.gnu.org; Fri, 08 Sep 2023 06:34:59 -0400 Received: from mail-wm1-x32c.google.com ([2a00:1450:4864:20::32c]:46177) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qeYpE-0003YI-P4 for 65820@debbugs.gnu.org; Fri, 08 Sep 2023 06:34:57 -0400 Received: by mail-wm1-x32c.google.com with SMTP id 5b1f17b1804b1-40037db2fe7so20313755e9.0 for <65820@debbugs.gnu.org>; Fri, 08 Sep 2023 03:34:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foundationdevices.com; s=google; t=1694169288; x=1694774088; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=likTLAVy4m2thwcPyzFS2S3Fmviwvjj+nKuqok3GFqg=; b=LF0OrIhu7RYYGIYpJAMVTSx0VeRU/hJWP/UySlnF0ag2fVkFFjLRQIPvrCD0S82QUq ZUctTAuYwlMiPs/rPA7bn8nvliU7x/GTFz4c3LzLF33+ET00PgNFEYK9M8H3MrgnDn1R wn+unTU8g70acvounz7fC243CX+fqEWpmxKMdoVVHtjPI1NzTsp2blzJMc5Uff4RdZc+ nmuU+RM7u5CHjPoBBu1Xie9WtguPYl5ZrEzxOfAd8r31qj5d/bcAxxocYLbtISrrdfyn wO/n74ug9XVEXwV23GpJHuQ6OhGwAqlYWCQewYPOSHD7FFzYCv5hBacyOj90+XpiWa5F 8dkA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694169288; x=1694774088; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=likTLAVy4m2thwcPyzFS2S3Fmviwvjj+nKuqok3GFqg=; b=mWeO4VlBnGizlsNtEgINi0UthTdyWfCjiotRNZoS8qwlLvrT3qyAvn9A1ALDUh3f/p 1jvbrOHKsoT6EmZ0KG8pDKAfDkzeKXaM8/oFwqVfGxxn9y1NkYztS1ddCmZEahNKxJhU qPz1UQsCHxnxa823zjRTdvJSWxO/WJo/PIbNN1WClNPQOeMROdVfo1vnVsiBr+2STNA6 8WnEEuQv+VlJMqPiaLZkz0va2r6R/pCOmqQoxgRNH4OcyKZr59+xq6tvKkGK8eIampR1 OCNW0SR/dbQktUHLLZ7yI2vmk493Yu0K8OCtwjnz2/lQLCsvXkSlacvzO2XzfG44W23T RP7g== X-Gm-Message-State: AOJu0Yxji0kdL2NjEvayHLKi8UfhYbYA/Gpm2nJbAGOqXnpOiRea9tH2 whFuZl+l7GtWB3IKNz6P9MsO3Iz18O2FLN9LQ5dTDA== X-Google-Smtp-Source: AGHT+IHbhL4AjrFZc7dQW6OkcvrqK/cy3PPwWkWwsBQheHCXPlzzE4kBPqnTIagmiTyXwz7faFwTEw== X-Received: by 2002:a05:600c:2295:b0:401:aa8f:7562 with SMTP id 21-20020a05600c229500b00401aa8f7562mr1791528wmf.11.1694169288553; Fri, 08 Sep 2023 03:34:48 -0700 (PDT) Received: from omen15.home ([89.131.29.87]) by smtp.gmail.com with ESMTPSA id l40-20020a05600c1d2800b00402f7b50517sm1442102wms.40.2023.09.08.03.34.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 08 Sep 2023 03:34:48 -0700 (PDT) Date: Fri, 8 Sep 2023 12:34:21 +0200 Message-Id: <20230908103419.21662-2-jean@foundationdevices.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230908103419.21662-1-jean@foundationdevices.com> References: <20230908103419.21662-1-jean@foundationdevices.com> MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: Jean-Pierre De Jesus DIAZ X-ACL-Warn: , Jean-Pierre De Jesus DIAZ via Guix-patches X-Patchwork-Original-From: Jean-Pierre De Jesus DIAZ via Guix-patches via From: Jean-Pierre De Jesus DIAZ Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/coq.scm (coq-for-coqtaill): New variable. Signed-off-by: Jean-Pierre De Jesus DIAZ --- gnu/packages/coq.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/gnu/packages/coq.scm b/gnu/packages/coq.scm index 09ca4030ea..f30f231f3b 100644 --- a/gnu/packages/coq.scm +++ b/gnu/packages/coq.scm @@ -42,6 +42,7 @@ (define-module (gnu packages coq) #:use-module (gnu packages texinfo) #:use-module (guix build-system dune) #:use-module (guix build-system gnu) + #:use-module (guix build-system trivial) #:use-module (guix download) #:use-module (guix gexp) #:use-module (guix git-download) @@ -285,6 +286,32 @@ (define-public coq-flocq inside Coq.") (license license:lgpl3+))) +;; Union of coq and coq-ide-server as vim-coqtail expects coqc and coqidetop +;; to be in the same bin folder, when vim-coqtail is installed coqc and +;; coqidetop will be in the "same" bin folder in the profile, so this is only +;; required for testing the package. +;; +;; This is deeply ingrained in the internals of vim-coqtail so this is why +;; it's necessary. +(define-public coq-for-coqtail + (hidden-package + (package + (inherit coq) + (name "coq-for-coqtail") + (source #f) + (build-system trivial-build-system) + (arguments + '(#:modules ((guix build union)) + #:builder + (begin + (use-modules (ice-9 match) + (guix build union)) + (match %build-inputs + (((names . directories) ...) + (union-build (assoc-ref %outputs "out") + directories)))))) + (inputs (list coq coq-ide-server))))) + (define-public coq-gappa (package (name "coq-gappa")