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 ms0.migadu.com with LMTPS id gEMOAZ5DXGHkdgEAgWs5BA (envelope-from ) for ; Tue, 05 Oct 2021 14:22:54 +0200 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 YG0nOJ1DXGF6dwAAbx9fmQ (envelope-from ) for ; Tue, 05 Oct 2021 12:22:53 +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 9A0D8A2EB for ; Tue, 5 Oct 2021 14:22:53 +0200 (CEST) Received: from localhost ([::1]:44710 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mXjTA-0006mc-O5 for larch@yhetil.org; Tue, 05 Oct 2021 08:22:52 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:57656) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mXboP-0007mZ-4B for help-guix@gnu.org; Tue, 05 Oct 2021 00:12:17 -0400 Received: from mail-pj1-x102c.google.com ([2607:f8b0:4864:20::102c]:35595) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mXboN-0005UU-HL for help-guix@gnu.org; Tue, 05 Oct 2021 00:12:16 -0400 Received: by mail-pj1-x102c.google.com with SMTP id d13-20020a17090ad3cd00b0019e746f7bd4so991242pjw.0 for ; Mon, 04 Oct 2021 21:12:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=date:from:to:subject:message-id:mail-followup-to:mime-version :content-disposition; bh=Ivg87CNb1QaN8go2MnmIZUc26196I3hzlvbu//s3lQs=; b=OFx3YnNCjvqvEmh72WPAsJImNCEEIQ1PZxNwHVxPrzNMFD5n4vGQy6lLcVaGyIi/5u P6P/3YjsCny2i+9vk13+8Lt9MF1QtqcWsBsAB89EZF5kJRo/8uublPyaqfvuxuuC/IvH X1l441V4kvoKZ3eXaGu4lO0CfWnERfxIUBxF90fj1ficiFn0i5kRtxJ2izRXXpHJCo+9 XxJrbTCTZFNlO0JuA9Cysb/D5enfsltH1bdBNHnySJLVt5X0Gk2N05HBjhmK3wb86awV W7hh2TySvIZ2yKVYSaWfXfRJsA6q431G4XIqDMyvdyg10xuoh8ulNyF+8if7GIc/Ji4H GqSA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:subject:message-id:mail-followup-to :mime-version:content-disposition; bh=Ivg87CNb1QaN8go2MnmIZUc26196I3hzlvbu//s3lQs=; b=pR6Jbt0Pjhad16msr/uqBRSYZNQ7pLTR/+XwnrvGvebuc/v/LFcPE/zZJDvtNQu7Lt hTUQqOEAzBpepOTaAJ8nj3Fx/oDEop4sYQjLmb1zW1D5nsOOiKChXhSQtk61pIFXPRJc 5kEF/GmWtLblOWiZJdkrKn7kitGoyEft+6dHee8r206hxS3r5btg5Uuk4eU+iNTETPMN GbuSAAy330PINo9/+Hel0G/uY6tNtw55BbVfou/Db3RgIHr8H3KcVZZhDbUSY/PzmWlx swtkXecfMlrqgFVb/PicDQYMeuHEZ0TgSUPPffNaRoTtd/2JG+0GS6/+AM6LFKIHJV/9 W4hA== X-Gm-Message-State: AOAM530/WuQ5UeKsKclnlZ+5W0Zj158V6OJZ9rG+9lH8Wj8rYdiXYBMz rO02UcG4alB5x3+sunihbq4EZe3+LdA= X-Google-Smtp-Source: ABdhPJwRTy/SxEN9lF1ZOHq7oKrjGv/R5l8iWgg+Vj0uwSJTy7St9gvkBC6tsNoz5n/8yzl67iCY8w== X-Received: by 2002:a17:902:6804:b0:13e:38d2:cdd8 with SMTP id h4-20020a170902680400b0013e38d2cdd8mr3222827plk.54.1633407133445; Mon, 04 Oct 2021 21:12:13 -0700 (PDT) Received: from localhost ([202.160.36.65]) by smtp.gmail.com with ESMTPSA id w9sm354326pjk.28.2021.10.04.21.12.11 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 Oct 2021 21:12:13 -0700 (PDT) Date: Tue, 5 Oct 2021 12:12:08 +0800 From: Tim Lee To: help-guix@gnu.org Subject: What should ~/.profile look like after running "guix pull"? Message-ID: <20211005041208.tjkxvomzi36vquvx@localhost> Mail-Followup-To: help-guix@gnu.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Received-SPF: pass client-ip=2607:f8b0:4864:20::102c; envelope-from=progscriptclone@gmail.com; helo=mail-pj1-x102c.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Tue, 05 Oct 2021 08:21:16 -0400 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-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1633436573; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=Ivg87CNb1QaN8go2MnmIZUc26196I3hzlvbu//s3lQs=; b=o0ubXuAkBq8zmf4N5kQ7JqACDOEX+XD9xHL/wsrwBYjhSU9g11voNT7Vx8DBm1MyZ5VqeF rCyf56QV9EC3z8yqW5f1IhUoQIJQPbXn3o1/4B3jwGghCsDetk8H3TritF8xAlFoFUkJro Dld3vvqQ+3Fp8Bz/TGyvEewZE9Qhqd1syEQ5V4w81F1RakXdsy/vf6VBcr6AS+yfktY0aJ Gx3fzh0t4XzVwT72UgRBMLkXMOhdtC7jnzabtnINBuYXkbnSHx89ciDo7lEe4NAxWSpamq u0cB6d556zTJuojJjN5cMPafrh4arRAioQc2AGAAP8C4yb9n76Lbk5ISwFqvJA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1633436573; a=rsa-sha256; cv=none; b=WTFDdNknbbS4+Bfu1LcCJ2kiHda3Hu/GM1TMoGFnNncNaAgGXaKG5D+eY7ReqrDx8B7zdo 4U08OqQgwMMWC0sH06gFA/X19f8S+D837HvSY/oIGeoIvzQEFR1zuTsV9LOC6mziG5Zu1+ hJJK2mzsPw9KQw/jGyXx/nu0QgvPRlNXAHGSP+OeAvDYMo9VHnNvf+MArPtEJLNtoYk9cn rZ/JMm4x34mOG9s85ZQZi57tBSQ+jx75ITYoUu/XeskkKXWCBf8iI9VbyUWlMIfhVafnzm yl4d5RjwfDnOW/Av8xSXBf9KIU0ay+8bnijXlXGRpaz4HGEtnj3SkSF6Ov8jbQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=OFx3YnNC; dmarc=pass (policy=none) header.from=gmail.com; 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-Migadu-Spam-Score: -2.51 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=OFx3YnNC; dmarc=pass (policy=none) header.from=gmail.com; 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-Migadu-Queue-Id: 9A0D8A2EB X-Spam-Score: -2.51 X-Migadu-Scanner: scn1.migadu.com X-TUID: SSIfjmJC34wO I installed GNU Guix 1.3.0 binary using the tarball downloaded from https://guix.gnu.org/download/ After the installation process, I added these lines to my ~/.profile: GUIX_PROFILE="$HOME/.guix-profile" [ -d "$GUIX_PROFILE" ] && \ . "$GUIX_PROFILE/etc/profile" I recently ran "guix pull" to upgrade my packages. At the end of "guix pull", there is an informative message that asks me to run something like: GUIX_PROFILE="/home/myusername/.config/guix/current" . "$GUIX_PROFILE/etc/profile" However, the documentation about "guix pull" in the Guix manual (https://guix.gnu.org/manual/en/html_node/Invoking-guix-pull.html) says that I should add this to ~/.profile: export PATH="$HOME/.config/guix/current/bin:$PATH" export INFOPATH="$HOME/.config/guix/current/share/info:$INFOPATH" I have some questions: 1. What exactly should I place in ~/.profile to accommodate Guix? 2. Is the answer to question (1) the same before and after running "guix pull"? (By "before", I mean a version of Guix binary downloaded from https://guix.gnu.org/download/. By "after", I mean the latest version of Guix obtained by running "guix pull").