From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id OMH5KigYLWKYegEAgWs5BA (envelope-from ) for ; Sat, 12 Mar 2022 23:01:12 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id gYOUIygYLWJtBQEAG6o9tA (envelope-from ) for ; Sat, 12 Mar 2022 23:01:12 +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 25DF6287F7 for ; Sat, 12 Mar 2022 23:01:12 +0100 (CET) Received: from localhost ([::1]:43030 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nT9nS-00007c-SG for larch@yhetil.org; Sat, 12 Mar 2022 17:01:10 -0500 Received: from eggs.gnu.org ([209.51.188.92]:43582) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nT9nK-00006O-DG for guix-patches@gnu.org; Sat, 12 Mar 2022 17:01:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:47088) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nT9nK-0003gF-43 for guix-patches@gnu.org; Sat, 12 Mar 2022 17:01:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nT9nK-0006PY-2X for guix-patches@gnu.org; Sat, 12 Mar 2022 17:01:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#54358] [PATCH] 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: Sat, 12 Mar 2022 22:01:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 54358 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 54358@debbugs.gnu.org Cc: "\(unmatched-parenthesis" X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.164712244824616 (code B ref -1); Sat, 12 Mar 2022 22:01:01 +0000 Received: (at submit) by debbugs.gnu.org; 12 Mar 2022 22:00:48 +0000 Received: from localhost ([127.0.0.1]:40985 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nT9n5-0006Ow-VC for submit@debbugs.gnu.org; Sat, 12 Mar 2022 17:00:48 -0500 Received: from lists.gnu.org ([209.51.188.17]:33412) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nT9n4-0006Op-L8 for submit@debbugs.gnu.org; Sat, 12 Mar 2022 17:00:46 -0500 Received: from eggs.gnu.org ([209.51.188.92]:43378) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nT9n4-0008Tt-6B for guix-patches@gnu.org; Sat, 12 Mar 2022 17:00:46 -0500 Received: from knopi.disroot.org ([178.21.23.139]:37284) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nT9n1-0003Wu-HP for guix-patches@gnu.org; Sat, 12 Mar 2022 17:00:45 -0500 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 508CB400D7; Sat, 12 Mar 2022 23:00:41 +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 h85MF2H89aVO; Sat, 12 Mar 2022 23:00:39 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1647122439; bh=O7ZDfmoMr0bgOor9GFv5K/QTMtaVwdyKPLkVqPOz1Ws=; h=From:To:Cc:Subject:Date; b=f5TF7xfAwtf41KmX8zYbUcRDncB+KuKbX+nq/65rJnbSPIkiW25f1YsTe4alrqVqK w5LXBRVrDagCRiJsToYm2MAarNpBn+e2wtDqxRXht3UcMNLt8MrA4ewsdpE66Pi76r q9BPwFQ0Kp2qhq8o58bXtKEKawVdxpOo0Ui8MO/5E8RCPu7yQ/+B51zm2bB7XnKGok fvEEIJBVNisd5dFINR7jW2fl2aSLd3LxfpnzPwlB9ge9URqq42JXVWDnR2EeZjz4zH kLsDiz8Sqm1bWotEDXtwVwgGJUHYYDSY9ZswdnPYyOh0QyLQffIfoIwn2/upTvGwhc krDsZzEO57pWQ== Date: Sat, 12 Mar 2022 22:00:30 +0000 Message-Id: <20220312220030.17172-1-paren@disroot.org> Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=178.21.23.139; envelope-from=paren@disroot.org; helo=knopi.disroot.org X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action 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=1647122472; 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:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=VatDmO3KjdVqVwbpWKnDnLnSCThdYw9YRfHDM5/jBIc=; b=HHBlXdqogCWs0mO0cYs95Lk713EdnD8VS9B5WlFT2cFGeZGJP1XwseAwCLpRBwreu559ff WZh/vHuJ+4Eo5zhaEB6dhyCu2xK9ge30KwoVCB7+ppki+TH4ZyqTctMJxgHSAiVjTOSjiA 9QOWugIz+25JK3/z65fn/85fvOIIUICVb1VWAo4hm10wE68TRAaL0Mk0W1mPjVAN09bpwr M3XQW+5pRH2tRJojvD29+N9B//Zv0AwyETNY49DxuZt2dZ+L3tqO/4fR19eqsROF78okDT b616X5u7YCDj+Eaafb82/eBE1g+NSSUsup6TmWz+/I20zy1HwfXyaxoGpNoHrA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1647122472; a=rsa-sha256; cv=none; b=bDE1nZRLd7qkaJJwBPfUsvsDfShrtP9UvNkynnCPraSbTnWSt+k0j2f4VSXoRRMmjFlAKN qUwSbFxe12AT1hJ023Mv55gLrHViAGd116hPFQytDYPc+O9vuijy0tKfLoGvTaphqWgXdz rSXy1pJCEgh6KM1iNKDnesXfWBYQNFcvHjRNgEfhKf24eJkh2cshHgSXkA1Fuo1g5FURkd Mog6upr2S0Hyd2ugs3OAksroE9pmAPJMKygfvORxAJbeI0I8SSW3+0z/9QaB1hvt64zNsd B4z0+P5EdLG42eVerOl+C/+LkNxAHlTnHN3LjuuaQd+/DYRtA1+uTWCxzzYb8g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=disroot.org header.s=mail header.b=f5TF7xfA; 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: -3.28 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=disroot.org header.s=mail header.b=f5TF7xfA; 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: 25DF6287F7 X-Spam-Score: -3.28 X-Migadu-Scanner: scn0.migadu.com X-TUID: ZgnYsASmR/VY * gnu/packages/text-editors.scm (rust-parinfer)[arguments]: Install the bundled Vim and Kak plugins to the correct directories. This does not _technically_ depend on #54357, but the kakoune plugin will be essentially unusable without it. --- 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 6d562d0e4a..bbfbcdd226 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