From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id oBaWDRJK5WOQRAEAbAwnHQ (envelope-from ) for ; Thu, 09 Feb 2023 20:31:30 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id SE6dDRJK5WMmVgEA9RJhRA (envelope-from ) for ; Thu, 09 Feb 2023 20:31:30 +0100 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 5DA12F4BF for ; Thu, 9 Feb 2023 20:31:29 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pQCdE-0006wZ-HU; Thu, 09 Feb 2023 14:30:56 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pQCd5-0006sk-9s for help-guix@gnu.org; Thu, 09 Feb 2023 14:30:54 -0500 Received: from mx0.riseup.net ([198.252.153.6]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pQCd2-0007pk-WF for help-guix@gnu.org; Thu, 09 Feb 2023 14:30:47 -0500 Received: from fews1.riseup.net (fews1-pn.riseup.net [10.0.1.83]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mail.riseup.net", Issuer "R3" (not verified)) by mx0.riseup.net (Postfix) with ESMTPS id 4PCRmK06khz9snf; Thu, 9 Feb 2023 19:30:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1675971041; bh=JeH/GI7+UUQUPpNzpsn2fECSpCWhq2P+NwSKoqX7cqo=; h=References:From:To:Cc:Subject:Date:In-reply-to:From; b=qr0sNl6E0RitTnwuCQXGUNOAqz9NVy9unORegqmcTIyuuT9O6zkI4dwFXU1WxiH/T PozpXeecNQVoKHOvVH2prs18DOy+nX5jFrwCVzbcv/HJPd2NHPLQ1l1QzSc4TavBet IcHZjpBsFPadR+vsHRG1tsSibM1tg8dAapOawNN8= X-Riseup-User-ID: 3D8A0E51D4A288BE41BF42700DF842C17F5F324AC5BB697F534428CABF87BA46 Received: from [127.0.0.1] (localhost [127.0.0.1]) by fews1.riseup.net (Postfix) with ESMTPSA id 4PCRmJ1x1zz5xVb; Thu, 9 Feb 2023 19:30:40 +0000 (UTC) References: <00645283-6540-ea05-aba2-8997d32b16c1@posteo.de> <87fscnis4q.fsf@gmail.com> <877cwx6kdh.fsf@posteo.net> <87357ik8ur.fsf@gmail.com> <7295d41b-9ee2-41ce-56ac-3ebbf6963378@posteo.de> <867cwtohyp.fsf@gmail.com> <87bkm53pv8.fsf@riseup.net> <1cec888b-8d3e-65f7-502a-ae96d85e8149@posteo.de> From: Csepp To: Gottfried Cc: Csepp , zimoun , help-guix@gnu.org Subject: Re: attempt to create a profile Date: Thu, 09 Feb 2023 20:20:32 +0100 In-reply-to: <1cec888b-8d3e-65f7-502a-ae96d85e8149@posteo.de> Message-ID: <877cwqzleq.fsf@riseup.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=198.252.153.6; envelope-from=raingloom@riseup.net; helo=mx0.riseup.net X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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_LOW=-0.7, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1675971090; 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=B6JSG2x9XIPkaYfDJNQ6GKdIroONo5R5cxTaQ5tYxJg=; b=YYwsTY2LH78ylXzIcVZ7iMql57/MZ+Hlwb9yAeChgcx/WvptgyIcDQzHJ4CFa3jf5Sh8yJ N7SZRbFnBPm/Jl4DlMrABfw1i4qbkauqHPDgpniks2sFq262Q0GETHUmV901apOQOJ/urG OMEdaZQnt0Zq/PAJIAgGSPAyS51sQj2zjsCNf6rjuk9jtn6JMRJEUamT8A6Q0GE1lFxeXw qWzsf9JL5Wu3TMa90+s35McrsfYq+RPahyeJvjnse4lw3LQtjcI/WYmT5mfJXJninS/aXU bCuHVIheyhB6zZ3SLB3eU/sDV280TU8tsnnx/VHQyXrveCFL8tluqkWPwF3k5w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=riseup.net header.s=squak header.b=qr0sNl6E; 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"; dmarc=pass (policy=none) header.from=riseup.net ARC-Seal: i=1; s=key1; d=yhetil.org; t=1675971090; a=rsa-sha256; cv=none; b=q76WB8Mf6bIXTlgLk84eXaXrG4nFqAB1/xQ3hRrDfApVdJaqiu/LL+YaEtdacpOEgb2kU+ DlI+txDvGIWfMzTIZWm4tzBtPoSXni3u8q2Lw0uGAyDlh+0pC3gHYpXtfO6RJANhSZHnYW 2HcQ9FfmwcVFxxl+il0Jr2Xj+kTz9iMcrNpXykxzRyIqFi58Ew7/MbHvxioPgYQjr0v4PI XuusdTymFXbAIMqUMkyiN4S5/3pd3LSebWCwsISrX2gSA2TIfU4dCz6BUb0c5wktMLTwA5 xRqMtqfJPGip98QqIwn1l7eJtvhUqPLTs5bOCvEbNIqy4LcGnPv2bzP9wcK++w== X-Migadu-Spam-Score: -6.65 X-Migadu-Scanner: scn0.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=riseup.net header.s=squak header.b=qr0sNl6E; 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"; dmarc=pass (policy=none) header.from=riseup.net X-Spam-Score: -6.65 X-Migadu-Queue-Id: 5DA12F4BF X-TUID: qZPcUHjKP2jm Gottfried writes: > [[PGP Signed Part:Undecided]] > Hi, > > thanks for your help. > > I tried to open this profile, > > by > >> gfp@Tuxedo ~$ source /home/gfp/Projekte/Musescore/guix-profil/etc/profi= le >>=20 > or > >> gfp@Tuxedo ~$ guix shell -p /home/gfp/Projekte/Musescore/guix-profil > > but it didn=E2=80=99t happen anything. It's normal, it normally doesn't show anything. > How can I know, that I am now in this profile? > > Shouldn=E2=80=99t bash show me something? If you directly source the etc/profile script, GUIX_PROFILE does not get defined, so bash doesn't know you loaded a profile. Which is actually "correct", since sourcing it is not the same as entering it using guix shell/environment. Sourcing directly modifies the running process's environment variables, so exiting bash would not get you back to a default environment, it would most likely just close the terminal emulator. But if you are in a genuine `guix shell`, running the exit builtin command gets you back to the process where guix shell was run from. If you used guix shell then I'm pretty sure it should show someting. Running `guix shell -p ~/.guix-profile -- bash` does show the [env] prompt for me, so either your bash is configured differently or your login shell is not bash. For example, my login shell is Zsh, which doesn't have the same customization, I had to add a similar prompt hack myself. > And when I opened the package "musescore" it opened the package > musescore in my other profile. > So I guess I am not in this profile. Did you open it from bash or from a desktop app launcher? The environment variables are only changed locally in the bash process you ran source from, or the bash process that guix shell spawned. If you did run it from there and it launched the wrong one, then could you post the output of guix package -p /home/gfp/Projekte/Musescore/guix-profil --list-installed ? Maybe you accidentally mixed up which version is installed in which profile, it happens.