From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id EF+DNWLrUmH3gAAAgWs5BA (envelope-from ) for ; Tue, 28 Sep 2021 12:16:02 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id kPpNMWLrUmEPYQAAB5/wlQ (envelope-from ) for ; Tue, 28 Sep 2021 10:16:02 +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 4D9AE2F0CB for ; Tue, 28 Sep 2021 12:16:02 +0200 (CEST) Received: from localhost ([::1]:58634 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mVA9Z-0001fL-FK for larch@yhetil.org; Tue, 28 Sep 2021 06:16:01 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:54984) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mVA8Y-0001dO-L4 for guix-devel@gnu.org; Tue, 28 Sep 2021 06:14:58 -0400 Received: from mail-lf1-x12a.google.com ([2a00:1450:4864:20::12a]:43750) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mVA8V-0005SR-TM for guix-devel@gnu.org; Tue, 28 Sep 2021 06:14:58 -0400 Received: by mail-lf1-x12a.google.com with SMTP id e15so90579606lfr.10 for ; Tue, 28 Sep 2021 03:14:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=trop-in.20210112.gappssmtp.com; s=20210112; h=from:to:cc:subject:in-reply-to:references:date:message-id :mime-version; bh=jjVH6NVf8lG1pQIn9s40nmpAlnDCnv6qKAxu3O9o1Y0=; b=PVp5KctjOo2lgSS0CeUAHZGtKRCsi9a+lfz2WBtFTCH2ozwIETZZeRpy6Y/ALjTNSw ResBQjGlVZLQ89rSF8ZO1XFQLK2oVzsdoDDPflbRLW5B9TIxkhpLyDqorNw9hBlmFkru WXe16qD7erkSgKk8dHXJ/iWym0fHzIokWB1dSttBAPHK30izDTm+tw9ztpdCjc1eJigV ++4j87AaffKWy4WM4islpJldGzxm1HgZqbs7xQXAGobHJYBMsCB0WGFjDHZoEbuz4K4D 1CIVSYfmx8BjyKe/00usO83ywX047sKaOFCTP734ZxeIgTOE3uELCj2SDR8K1V2qITSv EVpw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references:date :message-id:mime-version; bh=jjVH6NVf8lG1pQIn9s40nmpAlnDCnv6qKAxu3O9o1Y0=; b=rEC5nPp968jrxyki2yKnXJrylTb66zwRGcVG7sv4IeEiPQfrGpaq+ChllnsEqHRFRz KOnMr1Ct1t+f59agrbUniiNlq6QmZJvBRepxoo9fjUqVxssU0OdTPIrEGA+1rnDU1Cdi vNz0610Edx8LwimeGM8+iE/Jl/U5Q0St/lHYWWGsQWMOg+xzQP8dEwuuetEZqlXNBiq9 4/Psp9ppT1j2vHzR5TiQa1AunZtoV7NJ+TFDLvqDO/A+/5lpXqtJWKxxuUn7MpvWER84 EGVz82ujj/9DE4mVZajorxmyEHb9ht+4pM0/dNIAShsoJEpv+GjzhN4fjHf0qx9Tmkd8 lYfw== X-Gm-Message-State: AOAM530o/H5ZFeObJ6hnPP7snxWoWXVFzGL0hUesJknuh4oVwqIr9XuK D603EQMrn2JeYJJZCx8xTS+p5A== X-Google-Smtp-Source: ABdhPJxvySKSbGtVzi8bU7rbbBWeufUBgWOCrzqVRNKDN5c/ogq+YvI+zWTinVusmadZEWHWpjdAFg== X-Received: by 2002:a2e:80d6:: with SMTP id r22mr4875541ljg.127.1632824093767; Tue, 28 Sep 2021 03:14:53 -0700 (PDT) Received: from localhost (109-252-93-92.nat.spd-mgts.ru. [109.252.93.92]) by smtp.gmail.com with ESMTPSA id c15sm1871911lfm.293.2021.09.28.03.14.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 Sep 2021 03:14:53 -0700 (PDT) From: Andrew Tropin To: Xinglu Chen , Oleg Pykhalov Subject: Re: Merging wip-guix-home to master In-Reply-To: <87sfxujdp2.fsf@yoctocell.xyz> References: <87sfxvehyf.fsf@trop.in> <87sfxujdp2.fsf@yoctocell.xyz> Date: Tue, 28 Sep 2021 13:14:50 +0300 Message-ID: <8735ppgg6d.fsf@trop.in> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Received-SPF: none client-ip=2a00:1450:4864:20::12a; envelope-from=andrew@trop.in; helo=mail-lf1-x12a.google.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: guix-devel@gnu.org Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1632824162; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=jjVH6NVf8lG1pQIn9s40nmpAlnDCnv6qKAxu3O9o1Y0=; b=MG16PKsYvHJM8Y3qrOJ481mdp8uJX6asxiQHivIwerG3UHw61KfUVvYzMjjyKnP8j83Wfv g7cOaR9qZ0tCBQeo46ftFEItYCxLzO6C6IyOy2SxP3waxaxqZQx3duCF4hHgjepsepS7Ja pto5+h2z2I5TpVHvnk8mBuU0sIdWXGmSoYmCNnLqL76P+b/Pqsg9xvR+Fa5m5kXxnRsLxZ QlTf34Fb6BWApHf+dtEwmalC3+02ysMZ61/0a8/XlONYR7Bojf19nmzwI7I43h6LqGnIyN pesuNpyIaBjJ+8YLnqgeiCq++giDdcAg26N08SJ/rsZ66Cskz6Ixg5fgv3CEHw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1632824162; a=rsa-sha256; cv=none; b=u628EDr35XaTpOWWFzydtKyzq1QrGa+PwTX9Laa63OBumUm0/KXj/lX0e96QvQmYWw9JhZ jLutmL7lOie4zroo1aqioJNKNqDJonAXXheyfLtw1PsCDEOAcO/hdeiVg1IAarWCyxaU4T bk5i3nUC55hPv9dhuwhcy1ZSnk8gI3I0+67E+aXV5GvmBGqjmy8efcEOfp8XlnZgFwTV1c otFPYe2Ru7/SBB+F9vnbl2TmJa5MkTZeWBL52Jdw8qWzBo800COJdm1DTatMAoW/uU9R/+ pKemvu7jS1XQxwVHMJQzGqbWnR/CbP17N9vvxsCM5uxp84eBJ1FN89s2fE8i6Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=trop-in.20210112.gappssmtp.com header.s=20210112 header.b=PVp5Kctj; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-devel-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Migadu-Spam-Score: -4.70 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=trop-in.20210112.gappssmtp.com header.s=20210112 header.b=PVp5Kctj; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-devel-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Migadu-Queue-Id: 4D9AE2F0CB X-Spam-Score: -4.70 X-Migadu-Scanner: scn0.migadu.com X-TUID: tt1DK7Heiv95 --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 2021-09-24 15:38, Xinglu Chen wrote: > On Thu, Sep 23 2021, Andrew Tropin wrote: > >> The core part of Guix Home project has been moved from rde >> repository[fn:1] to wip-guix-home branch of guix repository. >> >> I'm about a week on wip-guix-home branch completely and Guix Home works >> fine. There are no any major issues on rde-devel and guix-devel mailing >> lists and it seems that branch is ready to be merged. >> >> My guix describe looks like: >> --8<---------------cut here---------------start------------->8--- >> Generation 114 Sep 17 2021 13:33:55 (current) >> rde 31f8003 >> repository URL: https://git.sr.ht/~abcdw/rde >> branch: without-guix-home >> commit: 31f800353a781cef25fc80c05ad824a068a049c8 >> guix a2324d8 >> repository URL: https://git.savannah.gnu.org/git/guix.git >> branch: wip-guix-home >> commit: a2324d8b56eabf8117bca220a507cc791edffd2e >> --8<---------------cut here---------------end--------------->8--- >> >> >> There is a discussion[fn:2] on moving home services to (gnu services >> ...) modules, which is likely to happen, but it's possible to do the >> migration relatively painless by re-exporting necessary symbols in >> (gnu home-services ...) at first and removing them completely later. >> >> Another important part of the work related to Guix Home project is >> covering related modules and cli with tests, but it can be done in >> parallel and is not a blocker for merging. > > I noticed that the =E2=80=98guix home import=E2=80=99 subcommand is inclu= ded, but I > think it needs more thought and feedback from people before it makes its > way into =E2=80=98master=E2=80=99; it also seems to lack documentation. > > I just realized that it generates the following service declaration > > --8<---------------cut here---------------start------------->8--- > (service > home-bash-service-type > (home-bash-configuration > (bashrc > (list (slurp-file-gexp > (local-file "/home/yoctocell/.bashrc")))))) > --8<---------------cut here---------------end--------------->8--- > > but when running =E2=80=98guix home reconfigure=E2=80=99, the ~/.bashrc f= ile will be > moved, so when running =E2=80=98guix home reconfigure=E2=80=99 for the se= cond time, it > would read the ~/.bashrc which is itself a symlink to a file the store. > =E2=80=98guix home import=E2=80=99 clearly isn=E2=80=99t in a usable stat= e as of right now=E2=80=A6 Yep, I remember that it is not documented. I think it's ok for generating a simple sample configuration, but I agree that it's not yet complete, if you wish I'll disable it in cli. Just an idea for the future: it's probably better to copy .bashrc to the current directory and do (local-file "./bashrc"). --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEKEGaxlA4dEDH6S/6IgjSCVjB3rAFAmFS6xoACgkQIgjSCVjB 3rA6XQ//cERjRnyrgKrvkqIiF9Ii92kn3WWYlXd++XTCwhNRPGDecn9jYshmku/Y Hx2GbH10jhr4h8fdXX2SI0YXvIzYRrGmHc8UTY+u8BpJQGbGlUF44DxTX8ZYvv2a 2XF5r8WJFfjIOT9L/vle6AYYjvqWIzuHi0/U8h0/+JGIpEH6cuIia198kScM3A/S tLFQvyhRB7ZmzEN2b0ATG/lTn8guVtcTet0KGMTnNJIwvxjTLfYJ0KeG+Ct/QSx5 Lo/cTpVqilJ7Pl9SooR4gbrbvk4ZDi1WK7MM2TaEAiyR+0FDuH1/nt5a11hbOpdb mRZXOe8uTBpmvHJrD6hUizhu+tOEnZbvBQZd4vKukHAml95ZoUzR05lqhOPLjCEI cYE5TpjGP0bleBfTkM6X0IxPD6Ode4B7fhHFoOdCAJhliYNAQs0dVylIxO9LFjk4 QIONK8K0wfBbYZfWVHGFXKIlXjs9X3x9Ps6Q7IbhJdrvgfe/UfmfjeZK7fSGWLOu 9BlKkCZandh3OdXrtUbcl2FeiUAcE7FpjvusBU4CAwJ4tCO9YPEO73+gQYDMCo9L 5ewZY42jQ//imJRmRb6HUetHy0JR64Ctn0u8WCVTEgvKDCKwKnuHLOBS5tZmHpt3 2OZeK06I52QgV3lYsQrDoqXsvz+KcAPfAnF5Of+tL5WDwklhgU0= =eZhK -----END PGP SIGNATURE----- --=-=-=--