From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id zvVGDHttLmIUbQEAgWs5BA (envelope-from ) for ; Sun, 13 Mar 2022 23:17:31 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id gIiaB3ttLmKxAgEAauVa8A (envelope-from ) for ; Sun, 13 Mar 2022 23:17:31 +0100 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 9C08547DD3 for ; Sun, 13 Mar 2022 23:17:30 +0100 (CET) Received: from localhost ([::1]:51148 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nTWWn-00079u-Ph for larch@yhetil.org; Sun, 13 Mar 2022 18:17:29 -0400 Received: from eggs.gnu.org ([209.51.188.92]:39260) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nTWWN-0006iy-8F for guix-patches@gnu.org; Sun, 13 Mar 2022 18:17:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:49610) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nTWWM-0001sK-Tr for guix-patches@gnu.org; Sun, 13 Mar 2022 18:17:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nTWWM-0008P4-P4 for guix-patches@gnu.org; Sun, 13 Mar 2022 18:17:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#54357] [PATCH 2/4] gnu: rust-parinfer: add phases to install the bundled Vim and Kakoune plugins Resent-From: "(unmatched-parenthesis" Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 13 Mar 2022 22:17:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 54357 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 54357@debbugs.gnu.org Cc: "\(unmatched-parenthesis" Received: via spool by 54357-submit@debbugs.gnu.org id=B54357.164720978632199 (code B ref 54357); Sun, 13 Mar 2022 22:17:02 +0000 Received: (at 54357) by debbugs.gnu.org; 13 Mar 2022 22:16:26 +0000 Received: from localhost ([127.0.0.1]:43495 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nTWVl-0008NH-Sb for submit@debbugs.gnu.org; Sun, 13 Mar 2022 18:16:26 -0400 Received: from knopi.disroot.org ([178.21.23.139]:50780) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nTWVj-0008N8-Vz for 54357@debbugs.gnu.org; Sun, 13 Mar 2022 18:16:24 -0400 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 58B154009B; Sun, 13 Mar 2022 23:16:22 +0100 (CET) X-Virus-Scanned: SPAM Filter at disroot.org Received: from knopi.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id reE_A_8rW2K3; Sun, 13 Mar 2022 23:16:21 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1647209780; bh=e9gvc0t99NjzSTmy14f66ytOKntxOXnjaKvTJTaW8LU=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=jCakYGeN0hsbuYnTLq1kcRINV9btKUexlXtAsclPpwRB5URB4WIImusabCOtGAXgJ kbD17zDGybYbDuNyqLVlVYjqylkXNqtyUvUEzSvhtsh7uAtqFFHOJ08f0FtHITUs1r gAu2Vn/jlRwPk+AJQpVENo4Ui8EP91nX8DQvMq2l/JBVU9Lidec6CLPlbabfqV1qVC gQmBUaOE/Pw0NJoiffb3RhkqEFNhyH0BVQlAnHnB+MalUixcuvpi4MF8ap8WOvvJAm 2U9ddbwu2fpv84V00gtdYr+EDkdPLfizkc8XTVSCKT3UUPX1P/xCZvGES0VRslnLbg 6X0IOhsaDMEtw== Date: Sun, 13 Mar 2022 22:16:02 +0000 Message-Id: <20220313221604.7686-2-paren@disroot.org> In-Reply-To: <20220313221604.7686-1-paren@disroot.org> References: <20220313221604.7686-1-paren@disroot.org> Mime-Version: 1.0 Content-Transfer-Encoding: 8bit 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: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" Reply-to: "\(unmatched-parenthesis" X-ACL-Warn: , "\(unmatched-parenthesis via Guix-patches" From: "\(unmatched-parenthesis via Guix-patches" via 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=1647209850; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: 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=SRZeKMH/IgEuV/vMHrsLy1sk21IRNC4qadsV+HfA9jI=; b=BhI5d7RtQLyI6AtoAfLTxT6ZYfFvuX3t96R3gwqYJxVR365J+K8RTaO49tKK5jaG5VF0po JnU3obMlFV5RrMoPz8c7fSPDPc9g9vsgTOs6Gc3WDmRNSWPKVlWxe8mLF37Fq/GqNjzrSt 27P64AQ7y0j0eVOydcEQ5IsubxYx8HYmZgPzRPHojdp8DoCUt7NxffVZjrMtU/sPB56s8b IHfIBJZz7PheMlLyOFXq5NFokgM0qpXkDmhgC2esQghxNsrX2cMCbKWXLtI4Ki3o2EZYRi q7cYF1xyZnJLNstkvto9zC6hKDxzr/JfQHpB1YHuc7zspjdog4tVtCNvVTqgMQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1647209850; a=rsa-sha256; cv=none; b=HLYyEN5s8tznurm9McMY2XIpu9HCVRxA3Q911N3iS/1e6eLCaTdiuSKhYBZ98JIWVtbAUE 3yXXVg9j14Ev6uZhUzvy6NQOiff3PuWdqBqRYemReNaT8mpG8C1ZmGcDlVCqPHeE1yQVjT jCMVrq4SjKoDGyDKqqZgZff1sCJwV5p9dctS7TxIDGMrQO9XYSDVkQlBM/MeA5HJJrIded utSyaQ53/Vssdca04zhQ6xUiAgyPYrz3MV7mwDyPQmDXUypRysXMbZiFRfAFReO73FWxXC hkNJoj6GwUdkqgGJ+reepNODlfzhCXBhpljBVWB0To5KsvIAYuCjAroPYvX87A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=disroot.org header.s=mail header.b=jCakYGeN; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -2.57 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=disroot.org header.s=mail header.b=jCakYGeN; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 9C08547DD3 X-Spam-Score: -2.57 X-Migadu-Scanner: scn1.migadu.com X-TUID: Fy2mnLzYohvr * gnu/packages/text-editors.scm (rust-parinfer)[arguments]: Install the bundled Vim and Kak plugins to the correct directories. --- gnu/packages/text-editors.scm | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/gnu/packages/text-editors.scm b/gnu/packages/text-editors.scm index 96e070807d..229e9f9112 100644 --- a/gnu/packages/text-editors.scm +++ b/gnu/packages/text-editors.scm @@ -292,7 +292,18 @@ (define-public parinfer-rust ("rust-serde-json" ,rust-serde-json-1) ("rust-serde-derive" ,rust-serde-derive-1) ("rust-unicode-segmentation" ,rust-unicode-segmentation-1) - ("rust-unicode-width" ,rust-unicode-width-0.1)))) + ("rust-unicode-width" ,rust-unicode-width-0.1)) + #:phases + (modify-phases %standard-phases + (add-after 'install 'install-vim-plugin + (lambda* (#:key outputs #:allow-other-keys) + (let ((out (assoc-ref outputs "out"))) + (copy-recursively "doc" (string-append out "/share/vim/vimfiles/doc")) + (copy-recursively "plugin" (string-append out "/share/vim/vimfiles/plugin"))))) + (add-after 'install-vim-plugin 'install-kak-plugin + (lambda* (#:key outputs #:allow-other-keys) + (let ((out (assoc-ref outputs "out"))) + (copy-recursively "rc" (string-append out "/share/kak/autoload")))))))) (inputs (list clang)) (home-page "https://github.com/justinbarclay/parinfer-rust") -- 2.34.0