From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:c151::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id 6PUwFK0VUWDaNQAA0tVLHw (envelope-from ) for ; Tue, 16 Mar 2021 20:31:41 +0000 Received: from aspmx2.migadu.com ([2001:41d0:2:c151::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id YLz7D60VUWASWQAA1q6Kng (envelope-from ) for ; Tue, 16 Mar 2021 20:31:41 +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 aspmx2.migadu.com (Postfix) with ESMTPS id ABD0B12364 for ; Tue, 16 Mar 2021 21:31:40 +0100 (CET) Received: from localhost ([::1]:54196 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lMGLr-0003Wq-78 for larch@yhetil.org; Tue, 16 Mar 2021 16:31:39 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:40042) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lMGLg-0003VB-42 for help-guix@gnu.org; Tue, 16 Mar 2021 16:31:28 -0400 Received: from ciao.gmane.io ([116.202.254.214]:36584) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lMGLe-0007bG-DK for help-guix@gnu.org; Tue, 16 Mar 2021 16:31:27 -0400 Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1lMGLa-0008aU-CG for help-guix@gnu.org; Tue, 16 Mar 2021 21:31:22 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: help-guix@gnu.org From: Garjola Dindi Subject: Packages don't get installed in the correct path Date: Tue, 16 Mar 2021 21:31:16 +0100 Message-ID: <87blbig7sb.fsf@pc-117-162.ovh.com> Mime-Version: 1.0 Content-Type: text/plain User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cancel-Lock: sha1:jF7ZdToyw0vNZMbVNRcMpR/Cn1I= Received-SPF: pass client-ip=116.202.254.214; envelope-from=gcggh-help-guix@m.gmane-mx.org; helo=ciao.gmane.io X-Spam_score_int: -15 X-Spam_score: -1.6 X-Spam_bar: - X-Spam_report: (-1.6 / 5.0 requ) BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.25, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no 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: , 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=1615926700; 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; bh=5RPpyUrG8wUV1snx6xhpbpkoaEYjKZgFdIETy/TCBOk=; b=eLctv1OMev3bFs6wemyUrLw0g5rbRbX6gog3iSA1iL5kso6Z31r9OnK297qLB7ro1NIcLa onEJuYp0qq0gcLITNv6FnNTh6plkW8JNWBXQ4nvzmcUdXMGJkPiTF52Zhc1FH7uPb60xVk Y13/1+xYZty3w7R/eOzPmFLzasOXqwy3l4pzXZVVxKZKgIn15SdqEGxMxirYOpPprUUFgQ oA01chZYCP07L/I/UULqGvseNh4alR4vXDMI5WGXxe4+yJslgkj2RYHUK/tZAveHD749db XQkgA7rFXFGkSuaWVu66GDLAB6QeZBhB20PaOCaLM2dUsAhmSVd0bsidP9LeLw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1615926700; a=rsa-sha256; cv=none; b=WgrbwuaTC5E95qByfvbx3OZEA5j9VjRhG8WopX5Vvg+48ygO3pgPNZ7IxrNw5U+S6jWRUe FSotRRTn98WdJo/bJoGh79zSMmnJsPxph3o0zMSF8IMcKhgFeBN28UXIZMIqKmX9SVd/2v vpRKbrzOG8qbKqjMFT8HkcBYd2dN4ZiYTSvaKuFXFBJpNvNak+Z52QnQR1qX8i5JP4GzHb 8JYEUVnoI6rFm6wZQb3F45iJzQ6le1vWfKnUSBnqH4LOx9GGXEzANnBXHIJc27xriN+wgB Y0sqflnOn2wfqLLwFV8MM4hmdmdt/15hmhQ753DxTo2a0+qyl3VvZr1f+fVlFQ== ARC-Authentication-Results: i=1; aspmx2.migadu.com; dkim=none; spf=pass (aspmx2.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: -1.90 Authentication-Results: aspmx2.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx2.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: ABD0B12364 X-Spam-Score: -1.90 X-Migadu-Scanner: scn0.migadu.com X-TUID: JUpy3r2uHrl9 Hi, I have installed the Guix package manager on Debian stable using the instructions in the manual: ,----[ elisp ] | (info "guix#Binary Installation") `---- I have added the following to my ~/.basrhc as indicated in the manual: ,----[ bash ] | export PATH="/home/garjola/.config/guix/current/bin${PATH:+:}$PATH" | export GUIX_PROFILE="$HOME/.guix-profile" | export GUIX_LOCPATH=$HOME/.guix-profile/lib/locale | source "$HOME/.guix-profile/etc/profile" `---- When I install a package, I get the following message: ,---- | hint: Consider setting the necessary environment variables by running: | | GUIX_PROFILE="/var/guix/profiles/per-user/garjola/guix-profile" | . "$GUIX_PROFILE/etc/profile" | | Alternately, see `guix package --search-paths -p | "/var/guix/profiles/per-user/garjola/guix-profile"'. `---- Note that the message makes reference to /var/..../per-user/ instead of ~/.config/guix/current. Is that correct? Actually, despite the configuration in .bashrc, the packages do not get installed in the $HOME tree, but in /var/..../per-user/. The $HOME tree only contains the guix binaries: ,----[ bash ] | $ ls ${HOME}/.config/guix/current/bin | guix guix-daemon `---- The most annoying thing is that the programs are not in the path, but what puzzles me is that I don't understand this behaviour. I can of course change the environment vars in .bashrc to point to /var, but this is not what the manual says. Can anybody help me figure things out? Thanks in advance. Garjola --