From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.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 AK+cMUq6L2J3OQAAgWs5BA (envelope-from ) for ; Mon, 14 Mar 2022 22:57:30 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id IGhNKkq6L2LY4AAAG6o9tA (envelope-from ) for ; Mon, 14 Mar 2022 22:57:30 +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 4FFAA47B78 for ; Mon, 14 Mar 2022 22:57:30 +0100 (CET) Received: from localhost ([::1]:35278 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nTsgz-0007jm-GD for larch@yhetil.org; Mon, 14 Mar 2022 17:57:29 -0400 Received: from eggs.gnu.org ([209.51.188.92]:55410) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nTsgZ-0007Cf-D0 for guix-patches@gnu.org; Mon, 14 Mar 2022 17:57:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:52775) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nTsgZ-0002J8-3r for guix-patches@gnu.org; Mon, 14 Mar 2022 17:57:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nTsgZ-0003Dq-2b for guix-patches@gnu.org; Mon, 14 Mar 2022 17:57:03 -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: Mon, 14 Mar 2022 21:57:03 +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.164729502012357 (code B ref 54357); Mon, 14 Mar 2022 21:57:03 +0000 Received: (at 54357) by debbugs.gnu.org; 14 Mar 2022 21:57:00 +0000 Received: from localhost ([127.0.0.1]:46668 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nTsgV-0003DE-RC for submit@debbugs.gnu.org; Mon, 14 Mar 2022 17:57:00 -0400 Received: from knopi.disroot.org ([178.21.23.139]:57902) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nTsgU-0003D6-3M for 54357@debbugs.gnu.org; Mon, 14 Mar 2022 17:56:58 -0400 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 5CC324009E; Mon, 14 Mar 2022 22:56:57 +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 PTrqxLaJUUUE; Mon, 14 Mar 2022 22:56:56 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1647295014; bh=uKgjxcpF7cxUcuorQTHki48h1uu4WspQTbXNxyTB18M=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=RkPUE5il1m/VxpIv2VYCYr8d00jel4rD3ACtr5NbAGIP4kcRd64cxVAh0rj1p0QRm xFMaXcA96ZyaWH/+ES8cORaLSo9wTmObsxZiIm8UORecYd8lTzVxr8DgGB8cLKxBt6 ASCJlKImigZQ1+f9OeJwW75jTfJveMQNlt77x0Aovxzg4TvCxwIwvPkzor0cQr3DE9 5cVEGyZM0JgRWTZzSN1aORQs/inX32wuBiHFbMx/OOHI0hC8AsjFPV+J/oH9DobIcS 2KDL1J27BpVBBjYqNzo7eN/b55pWRFp2petBzXCt/Zb/8k67yGr3vj1kZCoVDEZ2Dp 3aY6FTC2szpdQ== Date: Mon, 14 Mar 2022 21:56:38 +0000 Message-Id: <20220314215640.22822-2-paren@disroot.org> In-Reply-To: <20220314215640.22822-1-paren@disroot.org> References: <20220314215640.22822-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=1647295050; 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=RN3jTbY8BPcFqn8MbLMhInJ+6b8vOSgSR38jX52iD9c=; b=HoGRX5TuWZBlph+bLnOxzzKkT95F1EwuKuHIwnQ0cSpNertuzt+DjPSB0GyWmxL5ZJL3p3 8qqj5pZVSkzZnJFc/09SfII9YwTVbsWk6vulzPJGAOuOnendOMCzXlXfXQfVvvPO09/2J/ 2gB2yQY3imqFkxIInIXEAO1HgeewnRcAcqmSWThUyf72v/2GDtV9fT2wHnYlyo0QA1GH7x mlikOOAlix8VGqu6Jdshani+uo9vFRDq3nyRXi7D7sUJhB9KbjrSfkhI8kLrzvESIlX+ff I1kgAgU3TTdcN3K6LjaPtq0l2LsKiWVCliI9MtgSF71DFrwxg8MkRXD3TfSFIw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1647295050; a=rsa-sha256; cv=none; b=jnlzJ8xeiaqD0uni6Bm/VkVSGL2+vsB4wPqlRsoO4IRqlEPHClRkAtM/8pljhOCOKZd730 ZRV54wmdv8vzTR4R2Ddb51KABJg3KNWEA/Iptd74eaIo8XIATlUromuGAZ3IpMni9WIrBl k38L4OXVUdgKNeLD2SqzL3HLktFB1+Y9rvlekBl4MrGgQpY5J3Lt0gBpL97RF0sif4hJuy uBgTzujWrvENUCtz2rZcH3QjLNScXfx/pcsbcK2NxgKMcx0gJ8r4zt7VIL+86Y4tejoriC qLlHIKMBoVnehq+YrgmRuBZNPr9iqZn/+XtSTqxDRSSWu8GMPpqfIGZbv4GbcA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=disroot.org header.s=mail header.b=RkPUE5il; 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.58 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=disroot.org header.s=mail header.b=RkPUE5il; 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: 4FFAA47B78 X-Spam-Score: -2.58 X-Migadu-Scanner: scn1.migadu.com X-TUID: 5WTVM7ep9x0x * 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 aff8bab9b0..1d2f5c7062 100644 --- a/gnu/packages/text-editors.scm +++ b/gnu/packages/text-editors.scm @@ -277,7 +277,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