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 yP4vMW/d3F44DwAA0tVLHw (envelope-from ) for ; Sun, 07 Jun 2020 12:28:31 +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 QHjyLG/d3F7fTwAAbx9fmQ (envelope-from ) for ; Sun, 07 Jun 2020 12:28:31 +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 2773194051C for ; Sun, 7 Jun 2020 12:28:31 +0000 (UTC) Received: from localhost ([::1]:35734 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jhuPc-0006LK-Os for larch@yhetil.org; Sun, 07 Jun 2020 08:28:28 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:49082) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jhuPV-0006LC-Uf for help-guix@gnu.org; Sun, 07 Jun 2020 08:28:21 -0400 Received: from mout02.posteo.de ([185.67.36.66]:44839) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jhuPU-0000To-57 for help-guix@gnu.org; Sun, 07 Jun 2020 08:28:21 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id 1306B2400FE for ; Sun, 7 Jun 2020 14:28:17 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.de; s=2017; t=1591532898; bh=OnTGj+h2ljDfpAZ1Xsqvet8PrcdjMJCuhGPmZ535yLk=; h=To:From:Subject:Openpgp:Date:From; b=XPheTp8Vs3lAWjpiYJJmlby+JlvnEjeAvRca3g40uriRE+t1zTm1F+UK/eJW7Htyy txNjSXdufgb0Aa4pVqooro0dvGoRmhYDJMO3cjgeyNuAIu4aRxICHdbdfwumTb+eYY ct2TvhEzmPtaJAp85Q+u0Y4Q3i90TluJr0aHIKSetCFywG2VPL6Bcp+bMSsjCldFoG xH2KTp3/L0CA3CXRcQAa12gt7Yqmb8J+Fofgx786RuYbbQx/xrFN4QJPJl9j1IiJeo clIdTeLt/Q+HWLEJTtHApmM12UkP2m/j+qbRLPxLgtOiDnAokw+MD+veTyRnw9nuxQ rlpro7h8vWkEw== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 49fwds3GGmz9rxM for ; Sun, 7 Jun 2020 14:28:17 +0200 (CEST) To: help-guix From: Zelphir Kaltstahl Subject: Creating environments using Guix package manager Openpgp: preference=signencrypt Message-ID: <00896e50-8030-c1ae-be42-6cb5128ff6e7@posteo.de> Date: Sun, 7 Jun 2020 14:28:16 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Icedove/60.9.0 MIME-Version: 1.0 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, HTML_MESSAGE=0.001, 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 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Content-Filtered-By: Mailman/MimeDel 2.1.23 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: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=fail (body hash did not verify) header.d=posteo.de header.s=2017 header.b=XPheTp8V; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.de (policy=none); 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.09 X-TUID: RpAf1KPcXzoa 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. I would like environments that have the following: + persistent (something with the --root argument?) + activate-able / deactivate-able (something like Python's environments: source env_name/bin/activate) + their own dependencies, not mixed with anything in my base guix profile + Not only temporary + one time install (do not want to reinstall all packages every time I want to use the environment) + simply use the environment to run programs in the environment Today I had a conflict of versions of packages, which brought up this issue again for me: ~~~~ building /gnu/store/yniz1rh5cih92i72flj1x2cmlwv1nngk-keepassxc-2.5.4.drv... guix package: error: profile contains conflicting entries for gmp guix package: error:   first entry: gmp@6.2.0 /gnu/store/35afkywncrr5xsb4cxcljf6rpjcb7f61-gmp-6.2.0 guix package: error:    ... propagated from guile@3.0.2 guix package: error:   second entry: gmp@6.1.2 /gnu/store/y7qk8raalgvdnxcglvxa320cfxrjk1x6-gmp-6.1.2 guix package: error:    ... propagated from nettle@3.5.1 guix package: error:    ... propagated from gnutls@3.6.A hint: Try upgrading both `guile' and `gnutls', or remove one of them from the profile. ~~~~ So I cannot complete `guix package -u`. I guess some of those packages in my base profile are not even needed for most things I do and would be better contained in project-specific environments, so that they do not cause conflicts. Is it possible to create such kind of environments using Guix? I feel like it should probably be an easy thing to do, once I know how to do it, but I could not find a tutorial, which tells me how to do this. Perhaps my idea about how Guix is used usually is wrong? Regards, Zelphir