From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id ULeaOlDr3F55IAAA0tVLHw (envelope-from ) for ; Sun, 07 Jun 2020 13:27:44 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id YJ9+NlDr3F5FAgAAbx9fmQ (envelope-from ) for ; Sun, 07 Jun 2020 13:27:44 +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 5E74394066A for ; Sun, 7 Jun 2020 13:27:43 +0000 (UTC) Received: from localhost ([::1]:57400 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jhvKu-00043S-Kr for larch@yhetil.org; Sun, 07 Jun 2020 09:27:40 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52730) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jhvKj-00043G-7g for help-guix@gnu.org; Sun, 07 Jun 2020 09:27:29 -0400 Received: from mout02.posteo.de ([185.67.36.66]:44589) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jhvKh-0002Bi-Kv for help-guix@gnu.org; Sun, 07 Jun 2020 09:27:28 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id 508C02400FC for ; Sun, 7 Jun 2020 15:27:25 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.de; s=2017; t=1591536445; bh=ubETAn4aCfvgqcWlXJb0g6leehlS/rTQbSctiYKdyZw=; h=Subject:To:From:Openpgp:Cc:Date:From; b=U4h+37LOlWjUrNkaQ7WNtK1tP2/2Gj9DcHaZNfzH4WXe/KoS5iNZSGbxMsZF14rJ4 YPb2R76wnZA+6CX5xahvCQY1nEBG9D/KzPBjN1C9jz/tr29lwtbVU9LQuNO6gnhsbY 8bZ1x8KayD0VsZJetS23AGc+XHam+stmQ2uWBPo1mBecwAyt4V5evzptu0AI85RIAf 4V9Q6DafbLy1X9WpN5HwIVS5eFwIVe5fb+AxYHSOxjV3AmefT5Rciqkxpa/cKHQ71u cbmRHUi3FkMDG6H1vnkX2TmbaFQzOgTJUIB7gtKunUG/b+77l22/MymrK1HzPVlWdW QRi4XV7wPfGyg== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 49fxy45GbTz9rxD; Sun, 7 Jun 2020 15:27:24 +0200 (CEST) Subject: Re: Creating environments using Guix package manager To: Julien Lepiller References: <00896e50-8030-c1ae-be42-6cb5128ff6e7@posteo.de> <3A6D6672-6B43-4EF5-9F5F-AE89F20F5A2C@lepiller.eu> From: Zelphir Kaltstahl Openpgp: preference=signencrypt Message-ID: <76a84e1c-798b-eaf0-725f-a6fea5bd76bf@posteo.de> Date: Sun, 7 Jun 2020 15:27:23 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Icedove/60.9.0 MIME-Version: 1.0 In-Reply-To: <3A6D6672-6B43-4EF5-9F5F-AE89F20F5A2C@lepiller.eu> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Content-Language: en-US Received-SPF: pass client-ip=185.67.36.66; envelope-from=zelphirkaltstahl@posteo.de; helo=mout02.posteo.de X-detected-operating-system: by eggs.gnu.org: First seen = 2020/06/07 07:35:00 X-ACL-Warn: Detected OS = Linux 3.11 and newer 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, DKIMWL_WL_MED=0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN 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=posteo.de header.s=2017 header.b=U4h+37LO; dmarc=pass (policy=none) header.from=posteo.de; 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: -1.71 X-TUID: j/gTdehBXKGl Hi Julien! Yes, I did see this before, but it is not a self-contained tutorial. For example: * https://guix.gnu.org/cookbook/en/html_node/Basic-setup-with-manifests.html states how a manifest file should look like. Looks like Scheme code, that's fine. But no `use-modules` or anything? Is this correct? And then what is the file name? I named it `manifest.scm`. Is this correct? * Quote: "We can create a manifest specification per profile and install them this way: […]" – A few questions come up immediately: 1. Is this literally, what I type into a terminal emulator? 2. Or does this go into my `.profile`? 3. Does `.guix-extra-profiles` already need to exist? 4. Did I do something wrong with my Guix installation, if it does not exist yet? 5. Do I need to input those 4 lines every time to create an environment? All these things need clarification and make me unsure about whether I am doing anything correctly. Silly me forgot to mention, that I installed Guix package manager on a foreign distro (Trisquel 8), not using it in a Guix distro. I'll try to go with best guesses and see how it goes. Thanks so far! Regards, Zelphir On 07.06.20 14:37, Julien Lepiller wrote: > Le 7 juin 2020 08:28:16 GMT-04:00, Zelphir Kaltstahl a écrit : >> Hi Guix Users! >> >> For some time now I would like to create Guix environments for separate >> projects. >> >> I've tried finding the way to do it at >> https://guix.gnu.org/manual/en/html_node/Invoking-guix-environment.html >> but have been unable to read out of it, how to do it. >> > Have you read http://guix.gnu.org/cookbook/en/html_node/Guix-Profiles-in-Practice.html#Guix-Profiles-in-Practice yet? I think it's relevant to what you want to do (a persistant env is a profile).