From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id mPdCD0iXZl/TUwAA0tVLHw (envelope-from ) for ; Sat, 19 Sep 2020 23:42:00 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id oBU6C0iXZl85MwAA1q6Kng (envelope-from ) for ; Sat, 19 Sep 2020 23:42:00 +0000 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 7BD299401D8 for ; Sat, 19 Sep 2020 23:41:59 +0000 (UTC) Received: from localhost ([::1]:43418 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kJmUO-0002MB-Oe for larch@yhetil.org; Sat, 19 Sep 2020 19:41:56 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:38504) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kJmU7-0002M1-JU for help-guix@gnu.org; Sat, 19 Sep 2020 19:41:40 -0400 Received: from lepiller.eu ([2a00:5884:8208::1]:39606) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kJmU4-0008WT-TR for help-guix@gnu.org; Sat, 19 Sep 2020 19:41:39 -0400 Received: from lepiller.eu (localhost [127.0.0.1]) by lepiller.eu (OpenSMTPD) with ESMTP id 20121b57; Sat, 19 Sep 2020 23:41:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=lepiller.eu; h=date :in-reply-to:references:mime-version:content-type :content-transfer-encoding:subject:to:cc:from:message-id; s= dkim; bh=1EqUINGuh/Fq664RGBY/Ei6WZXMi7gfxQKl1rQv8pfY=; b=P6O5Lm6 adtMXMYDJkx1XId0udaIROwdSk//kIf3DXk8OLTB6FJMir7QRuLheJSmOgyJJl26 pGoXKqE0fp7GU+poLg5KT0AsQN2z+BGnbVR6/8OdXJN2ROao1XAi7D5j3OYZQ2cm dUVzEJVQiN4FRdx2UMKbpfhnxR31yaHLC7GDH35ZPBxAlHiLt75iNsD+u1qB1x7L /88m22PEh+tLWF3LJ9hZcmyb3/Ge8OvOwV2kRSHTkksq6nGq0FPi+yjMeMP0TG25 369FdYwIIv9sw82aTAkdRfH30swqtxD8VlDAev0DfIO6Mz3coBdDO1YGGqabE7// fGUJMZzfBDzm5Kw== Received: by lepiller.eu (OpenSMTPD) with ESMTPSA id 37190857 (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO); Sat, 19 Sep 2020 23:41:28 +0000 (UTC) Date: Sat, 19 Sep 2020 19:41:19 -0400 User-Agent: K-9 Mail for Android In-Reply-To: <3cd347998081391e3d1666ad12889e9a@yasuaki.com> References: <8EB5EC3D-9898-4D99-85A8-DB76A4C7A005@yasuaki.com> <86F22527-F130-4907-8091-702F18DEDACF@lepiller.eu> <3cd347998081391e3d1666ad12889e9a@yasuaki.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: Re: How do I install neovim plugins? To: yasu@yasuaki.com From: Julien Lepiller Message-ID: Received-SPF: pass client-ip=2a00:5884:8208::1; envelope-from=julien@lepiller.eu; helo=lepiller.eu X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. 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_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: help-guix@gnu.org Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=lepiller.eu header.s=dkim header.b=P6O5Lm6 ; dmarc=pass (policy=none) header.from=lepiller.eu; spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Spam-Score: -0.71 X-TUID: BIri0xkEIgrl Le 19 septembre 2020 19:18:14 GMT-04:00, yasu@yasuaki=2Ecom a =C3=A9crit : >Hi Julien, > >Thank you for the pointer, here is what I did to make it work: > > set runtimepath+=3D/home/yasu/=2Eguix-profile/share/vim/vimfiles > >The plugin and neovim were installed as below: > >guix package --install=3Dvim-airline >guix package --install=3Dnvim Great! Glad I could help :) > >But this seems rather "imperative" and is not what I expected to do, >after spending many weeks trying home-manager from NixOS :-) > >excerpt from =2Econfig/nixpkgs/home=2Enix >=2E=2E=2E > programs=2Eneovim =3D { > enable =3D true; > plugins =3D [ > pkgs=2EvimPlugins=2Evim-airline > pkgs=2EvimPlugins=2Evim-nix > ]; >=2E=2E=2E > >In the Nix world, I think people were not seeing much point of: > > nix-env -i > >which seems to be their equivalent of: > > guix package --install=3D > >As an alternative, 'home-manger' seemed popular=2E > >Would you say the same for Guix as well? I agree, this is very imperative, but since we don't have an equivalent of= the home manager (except for my channel which is not very popular because = I don't recommend it for everyday use), this the kind of thing we usually d= o=2E Actually, the most popular in guix is rather to set some *PATH environment= variable, sometimes even patching the software to honor them=2E But we don= 't have any for neovim=2E The equivalent of your home=2Enix example would be: (user-home neovim-home-type (neovim-confiquration (plugins (list neovim-airline neovim-nix)))) (Assuming we actually have these packages) The guix home manager follows the spirit of functionnal management closer = than the nix home manager, because itqmakes your entire home a symlink to a= store path, whereas nix home only overwrites some files that can later be = modified imperatively (by you or a software)=2E That makes it harder to use= and breaks many software, but is much more satisfying :) > >-Yasu > > > >On 19=2E09=2E2020 23:40, Julien Lepiller wrote: >> If you install plugins in your profile, you can add: >>=20 >> set runpath+=3D/home/user/=2Eguix-profile/share/nvim/site >>=20 >> In your =2Econfig/nvem/init=2Evim >>=20 >> I also have a guix-home-manager at >> https://framagit=2Eorg/tyreunom/guix-home-manager but it's more >> involved=2E >>=20 >> Le 19 septembre 2020 10:04:45 GMT-04:00, Yasuaki Kudo >> a =C3=A9crit : >>=20 >>> I see some vim plugin packages for guix but I have no idea how I >>> enable them in the neovim (nvim) that I installed in Guix=2E >>>=20 >>> In NixOS I just used "home manager" and modified some existing >>> template I found to add more plugins=2E