From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id MAzqEOxQVGEATgAAgWs5BA (envelope-from ) for ; Wed, 29 Sep 2021 13:41:32 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id 3EyxDOxQVGFYUQAA1q6Kng (envelope-from ) for ; Wed, 29 Sep 2021 11:41:32 +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 DA67725230 for ; Wed, 29 Sep 2021 13:41:30 +0200 (CEST) Received: from localhost ([::1]:43384 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mVXxo-0008MV-62 for larch@yhetil.org; Wed, 29 Sep 2021 07:41:29 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:45546) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mVXwH-0008LZ-PH for guix-devel@gnu.org; Wed, 29 Sep 2021 07:39:54 -0400 Received: from h87-96-130-155.cust.a3fiber.se ([87.96.130.155]:47202 helo=mail.yoctocell.xyz) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mVXwE-0002EC-FS for guix-devel@gnu.org; Wed, 29 Sep 2021 07:39:53 -0400 From: Xinglu Chen DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=yoctocell.xyz; s=mail; t=1632915581; bh=fzSAZrcszq6loLH9roM/QQdUpb0n8cvH80155Um2VD8=; h=From:To:Cc:Subject:In-Reply-To:References:Date; b=U7KijJihzKuJLdNCFrgSgKMp0fveVb/Z/ogtRQJnJ5768uLL6OzO5g0urWfRdG8fF oHhrM+DRmmNa/LejSaWTK9qCHTYabQN32JFdabNnjDNhejsvGzRFxcb3KoVEBl0u8m MytiXh0p7lZiD6DSKarmFlIH9kh26y0AfH1oXXH4= To: Andrew Tropin , Oleg Pykhalov Subject: Re: Merging wip-guix-home to master In-Reply-To: <8735ppgg6d.fsf@trop.in> References: <87sfxvehyf.fsf@trop.in> <87sfxujdp2.fsf@yoctocell.xyz> <8735ppgg6d.fsf@trop.in> Date: Wed, 29 Sep 2021 13:39:37 +0200 Message-ID: <87y27f1uh2.fsf@yoctocell.xyz> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Received-SPF: pass client-ip=87.96.130.155; envelope-from=public@yoctocell.xyz; helo=mail.yoctocell.xyz X-Spam_score_int: 14 X-Spam_score: 1.4 X-Spam_bar: + X-Spam_report: (1.4 / 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, FROM_SUSPICIOUS_NTLD=0.499, PDS_OTHER_BAD_TLD=1.999, PDS_RDNS_DYNAMIC_FP=0.001, RDNS_DYNAMIC=0.982, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no 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=1632915692; 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=aQFFX0BXjU3LWWFGJSk6y23nkrO4n4GvJ/zoKQQdcOQ=; b=tg67B2MsVgIF6UU15Dh5XhGFrdR/30uAr8jm9r2AhtDeYRhQ3Z2y2QPenBuD0dQobFd5qk etNzPmX6XThqOz1Di4LmpzadCzhRl6QkhkQetZ9lRXsIr84sxhJn8gyiv97xG3b1pAyzau nsnzDhdwxagXK6XBQZokcFnr9Gh2chVwUjlJPi0hs6eWfpA/xKPhjpXpBGj/ImKRUfAkQU 01c/qUIh4JxzPhkldjCA2IxK3qnvnfy7HI9fwfzv9VrpYNGKMe8kLeebBf51RnCCDGWD5L dImdf+ixO6qOjvXWb2iIVI247VvsdtUC4fSbvSSM+u1xp7Nstf51Oe7z/aeopg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1632915692; a=rsa-sha256; cv=none; b=HL1BFVqClKqBevsvDqL/FEt23lyrFcEEKaWUYqGqkRC+Onb3aq53gkw3xN9kLgy/7kQQqx +33/HCcgL2/j8YFFRJgxn7LhbcHDJE6lfL2zUlsrXNbdaRkwDgec8BoRZeKu1RvqZ8ueti sGFs1BxS/h2IiuP3n3gl3Z/cH2mQzWpERs/8kd7fwRUHyyhtrZa4TOxxqZCncGax5WT2cc TfqV/3FrhRi3YHg3e6PazrSV2f8G1Zufn6Sc7M/K7wDeVIfQnNhBg1ZhJSHOR+eEb6rN8d bBCp1xQKynpXknu60wrG7+Ju+pQF1Z6ADPbyDIxh/1ks/7P9VqzraaGHySLBjw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=yoctocell.xyz header.s=mail header.b=U7KijJih; dmarc=pass (policy=none) header.from=yoctocell.xyz; 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: -5.20 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=yoctocell.xyz header.s=mail header.b=U7KijJih; dmarc=pass (policy=none) header.from=yoctocell.xyz; 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: DA67725230 X-Spam-Score: -5.20 X-Migadu-Scanner: scn0.migadu.com X-TUID: qM4Kv+tWkzfO --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On Tue, Sep 28 2021, Andrew Tropin wrote: > 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 incl= uded, 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 = file will be >> moved, so when running =E2=80=98guix home reconfigure=E2=80=99 for the s= econd 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 sta= te 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, I disagree, I think it=E2=80=99s OK for things like (guix git), which are m= ainly used by developers, to not be documented in the manual. Ideally, the all the modules would be documented. :-) However, =E2=80=98guix home import=E2=80=99 will be used by developers and = regular users, and documenting the command should be a requirement. > but I agree that it's not yet complete, if you wish I'll disable it in > cli. I have sent a few patches to fix it and document it[1], so it should probably left as-is for now. > Just an idea for the future: it's probably better to copy .bashrc to the > current directory and do (local-file "./bashrc"). This wouldn=E2=80=99t work if the user doesn=E2=80=99t have write-access to= the current directory, nor if the current directory is $HOME. I think it=E2=80=99s bet= ter for the user to specify the directory themselves. [1]: --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQJJBAEBCAAzFiEEAVhh4yyK5+SEykIzrPUJmaL7XHkFAmFUUHkVHHB1YmxpY0B5 b2N0b2NlbGwueHl6AAoJEKz1CZmi+1x5G40P/jbvgxzcBmQlcWWVrKJOZZZJPcuo hHN2kqWErklKRnQdJTjAsNOJxyOnNpbfYciEUI4xGBz62wx0apwwZl3h5mWmA3wo Vx5/OrjqfFUcSq4kCXNu8u0IBmTJhh7aBi3nMdRM9LSdQuUjcHETvLv/oyW0JlZ5 WR4Zmx7F/RBfsoXeXfu4sS5gNVjAmmnqrdpI+OvkkLBNjcKaMRvHNuvuTOudr7jU 2sCJOGQobZf1cg96CAYOJIje200QfSc8s+gcMVZaq1+CMGT4BFMqmYFAIRu3NSSC GfoGjd76VwTGgPm6ZhmuYbpb/sYDlbGazVr25g4cInQrtg2COQEIyL94nhXpnabY pQC3Ur4Pw2Xz5J4SgLbpHYzDVMEUB4+4FlHavcu+agwaB3iJtoG9VambkbC5FjVF M+4FLJ+XnF6Y/bntwlSE+rYKG2ZrZB6K6Rg22Wbtomcpm8wPw5W2f6R1RnF29wE2 3qI5iRhyM1O+zzG3pX0bSGXL67aBAyYbvAfOQZXEzMnb5KQfbqLmIsrBYKk9RwTU bXwJ+uAFuAhvjJyAnmE05UMrbWn5i3LkPddUX566fP9puTd6K9lk/GUJQjbGXnMg oDwW39dzClIv2nZuITmAsofS3CgsDsGuySRgM3jftIW3GyFbDUHfWAWikpJeSVL4 mMjQN+uYcNNZ/A2z =dWo6 -----END PGP SIGNATURE----- --=-=-=--