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 ms5.migadu.com with LMTPS id yIwmDLtPg2KDXAAAbAwnHQ (envelope-from ) for ; Tue, 17 May 2022 09:33:15 +0200 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 MG88C7tPg2JBAAEAG6o9tA (envelope-from ) for ; Tue, 17 May 2022 09:33:15 +0200 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 B6C592B1D1 for ; Tue, 17 May 2022 09:33:14 +0200 (CEST) Received: from localhost ([::1]:57864 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nqrhh-0007PV-Ok for larch@yhetil.org; Tue, 17 May 2022 03:33:13 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39352) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nqrbt-0004pw-F6 for help-guix@gnu.org; Tue, 17 May 2022 03:27:13 -0400 Received: from out1.mail.ruhr-uni-bochum.de ([2a05:3e00:8:1001::8693:3595]:60353) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nqrbq-0007yF-RT for help-guix@gnu.org; Tue, 17 May 2022 03:27:13 -0400 Received: from mx1.mail.ruhr-uni-bochum.de (localhost [127.0.0.1]) by out1.mail.ruhr-uni-bochum.de (Postfix mo-ext) with ESMTP id 4L2SNy0C8Hz8YHB; Tue, 17 May 2022 09:26:58 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ruhr-uni-bochum.de; s=mail-2017; t=1652772418; bh=9mOKrBn1w1xTVJ51PLFQPAXwfV5LK9HliJGw8g1u73Y=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=yGzAoZ5iiW6PC5bVV7kUM7len0yQVOM8YS25xdgKmRDlZU10jq+lorsC/aoM558YH 5a0c1w6CEPTmD/aFSOXWaC6Gfa9ZDryhbOF4IddYW6fxCik4T/MzvIkZnU2qEgDylQ 7cXqA0+OipRs+vzj668ZhkmRwiqYydZK89Ab3C30= Received: from out1.mail.ruhr-uni-bochum.de (localhost [127.0.0.1]) by mx1.mail.ruhr-uni-bochum.de (Postfix idis) with ESMTP id 4L2SNx6Xqzz8YFY; Tue, 17 May 2022 09:26:57 +0200 (CEST) X-Envelope-Sender: X-RUB-Notes: Internal origin=134.147.42.236 Received: from mail2.mail.ruhr-uni-bochum.de (mail2.mail.ruhr-uni-bochum.de [134.147.42.236]) by out1.mail.ruhr-uni-bochum.de (Postfix mi-int) with ESMTP id 4L2SNx4M6gz8YB4; Tue, 17 May 2022 09:26:57 +0200 (CEST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.104.1 at mx1.mail.ruhr-uni-bochum.de Received: from xii-04 (pm26.mg07.ruhr-uni-bochum.de [10.150.49.41]) by mail2.mail.ruhr-uni-bochum.de (Postfix) with ESMTPSA id 4L2SNw430yzDh1H; Tue, 17 May 2022 09:26:56 +0200 (CEST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.104.2 at mail2.mail.ruhr-uni-bochum.de From: =?utf-8?Q?Daniel_Mei=C3=9Fner?= To: =?utf-8?Q?S=C3=A9bastien?= Rey-Coyrehourcq Cc: Julien Lepiller , help-guix@gnu.org Subject: Re: Guix home, guix system, channels, some noob questions References: <05b8334e-8ecb-1373-97b3-10b8617ed3c8@univ-rouen.fr> <490A4062-75F7-4919-803D-47E98DF9421C@lepiller.eu> <85258fe5-a220-41c6-d153-86de8c6bd57e@univ-rouen.fr> <34587fa7-652f-19a0-3006-aa3e707b13fb@univ-rouen.fr> <357B4763-2DA0-4255-9E58-B882E8ED1A9A@lepiller.eu> <36a809b0-6d5a-2f29-4c5f-07a418e05cbd@univ-rouen.fr> <441E1AD5-DFC9-4BBD-A45C-8328B51BE8D6@lepiller.eu> <635b0475-0134-acb4-8245-afcb571327a0@univ-rouen.fr> Date: Tue, 17 May 2022 09:26:56 +0200 In-Reply-To: <635b0475-0134-acb4-8245-afcb571327a0@univ-rouen.fr> (=?utf-8?Q?=22S=C3=A9bastien?= Rey-Coyrehourcq"'s message of "Thu, 12 May 2022 14:32:15 +0200") Message-ID: <87ee0s62m7.fsf@ruhr-uni-bochum.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2a05:3e00:8:1001::8693:3595; envelope-from=daniel.meissner-i4k@ruhr-uni-bochum.de; helo=out1.mail.ruhr-uni-bochum.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.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, RCVD_IN_DNSWL_MED=-2.3, 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: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" 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=1652772794; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=w7f4K3aG0OHBykOMX2nk+aD1W4k9KJPQRJm6MtQ0/NM=; b=hAtnIIXWJmfj6gsUD5ZlkLDl1NTYqPGjFp74IRrmDeD5vEHJezAxhSE+sUm977UM3Niw20 Si3xDTy1RIWjSrZwnBf8kV9Iap1pP5KTB0C5K2KTi2TQBY4CZUZEhX7irVZnIVv//hmtLm vZCZ3O/ZEtuCATklVcycHsmzFZpqNn8yfNeQyUIKIETroMlA1RJH79Hb/uey1TJ1c59h0O aCbalK23ebfOSopT2A5wVg6dInbiHKWwYeR9mU9gwPpB61pHsm7t4vnpDLUATuT9U27mQf aP1UlBlD6FVlqg31rPlmhbF3dKwvvLDMgWUWyyhdfhxBT1cFyeyN6k0bgbGMaQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1652772794; a=rsa-sha256; cv=none; b=V+yvBrP7NRexgFWk7BKTuAPMDlHnMb/F3qHr9/MTQOn8bsdPvY9I+qX5G+Smv+4TqIFYGl WtKBRmp8t8AXyP0kBkY+cHYL9uWsSeZxzR2Ky1IfH5yrpznrXC2bbTaa2BMh50jVQpF44w 2vXLK5z2aaoyYgseGq53q+aMYmr/QuO/4V8OoHjAy67aA2/d9sJX+wmvQuUVUg1gkb32j3 PKOhXiVA8wd4neziDZG7GOZ48G3SVOLLdbXDqAjno/suMa+AM/sYgQQ4YlmB9n16QoYaaY YnsShR8mNGRx5tzGfGUqBd9wWf+NbYMEXYQoUZBaq66+S+DvCuJ51o2Ir/vX0Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=ruhr-uni-bochum.de header.s=mail-2017 header.b=yGzAoZ5i; dmarc=pass (policy=quarantine) header.from=ruhr-uni-bochum.de; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -5.33 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=ruhr-uni-bochum.de header.s=mail-2017 header.b=yGzAoZ5i; dmarc=pass (policy=quarantine) header.from=ruhr-uni-bochum.de; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: B6C592B1D1 X-Spam-Score: -5.33 X-Migadu-Scanner: scn1.migadu.com X-TUID: st43T8zfUlbK Hi Guix, S=C3=A9bastien Rey-Coyrehourcq writes: > Thanks, > > I made some test on my own to understand : > > 1 - Like you say, installing things with *guix install* is for current > user (for example *firefox* and *sshpass*) > > 2 - Adding a package that don't exist to * myhome.scm* and reconfigure > it with *guix home reconfigure* file will download a package (ex=20 > "ncdu"), but this package doesn't appear into "guix package > --list-installed" > > 3 - Adding a package that already exist for user (ex : firefox already > installed with guix install) to *myhome.scm* doesn't reinstall > package, that's normal. > > I don't understand the step 2, why *guix home* installed package > (*ncdu* here) are not listed with *guix install --list-installed*, is > there a difference ? =E2=80=98guix install=E2=80=99 installs into the current user=E2=80=99s pro= file which can be found at ~/.guix-profile whereas =E2=80=98guix home=E2=80=99 creates an imm= utable profile under ~/.guix-home/profile.=C2=B9 You can install the same package= to different profiles but of course they will be built only once (provided you use the same Guix revision). You can list the packages which are installed in your Guix home profile via: guix package --profile=3D"$HOME/.guix-home/profile" --list-installed Best =C2=B9 IIUC the profile under ~/.guix-profile is also immutable (as are all profiles). =E2=80=98guix install icecat=E2=80=99, for example, would cre= ate a new profile that contains all packages from the previous generation of ~/.guix-profile plus the packages icecat and then it would link the new profile to ~/.guix-profile. In contrast you cannot do the same with =E2=80=98guix install=E2=80=99 for ~/.guix-home/profile. Invoking guix install --profile=3D"$HOME/.guix-home/profile" icecat to try to install icecat to the profile ~/.guix-home/profile yields: guix install: error: open-file: Read-only file system: "/home/daniel/.g= uix-home/profile.lock" -- Daniel