From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id O72wCTo6TmFP+wAAgWs5BA (envelope-from ) for ; Fri, 24 Sep 2021 22:51:06 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id UPnZBDo6TmHRDQAA1q6Kng (envelope-from ) for ; Fri, 24 Sep 2021 20:51:06 +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 19FB33F6FC for ; Fri, 24 Sep 2021 22:51:05 +0200 (CEST) Received: from localhost ([::1]:47038 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mTs9w-0003EM-2S for larch@yhetil.org; Fri, 24 Sep 2021 16:51:04 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:56938) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mTs70-0001SC-7V for bug-guix@gnu.org; Fri, 24 Sep 2021 16:48:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:47785) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mTs6z-00024z-T2 for bug-guix@gnu.org; Fri, 24 Sep 2021 16:48:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mTs6z-0005Fb-LG for bug-guix@gnu.org; Fri, 24 Sep 2021 16:48:01 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#48796: Guix on Debian 11 - Cant run or find applications from Guix Resent-From: bo0od Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Fri, 24 Sep 2021 20:48:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48796 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Maxim Cournoyer Received: via spool by 48796-submit@debbugs.gnu.org id=B48796.163251643320000 (code B ref 48796); Fri, 24 Sep 2021 20:48:01 +0000 Received: (at 48796) by debbugs.gnu.org; 24 Sep 2021 20:47:13 +0000 Received: from localhost ([127.0.0.1]:59331 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mTs6C-0005CV-S6 for submit@debbugs.gnu.org; Fri, 24 Sep 2021 16:47:13 -0400 Received: from mx1.riseup.net ([198.252.153.129]:38670) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mTs6A-0005CC-L7 for 48796@debbugs.gnu.org; Fri, 24 Sep 2021 16:47:11 -0400 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 "fews1.riseup.net", Issuer "R3" (not verified)) by mx1.riseup.net (Postfix) with ESMTPS id 4HGPGc5QdZzDrj3; Fri, 24 Sep 2021 13:47:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1632516424; bh=zsA1/Lwz8dqxEI18a6sbG6CgKXU3fjnDRrRroE/Ta64=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From; b=BncWgHbCOZFbjZDWaDh8yNG3vr9S9H2xEPJqVHO/qB+oRc0iS0yuqsC2SiCAHwVKs p5IWnkeT5NbsYi29lxhdgPZuLcwKsyMJNz2FfmtKHctI0bNFQuGvItOAVoynfhRwy5 kpmsaZMWZto+8plSIspRaoLh5rSFlrMYEydV0bfA= X-Riseup-User-ID: 59642B73558F91D7D582CD0D2E964D18027CB9215D7FE4FBA2B027EF3A26D6D8 Received: from [127.0.0.1] (localhost [127.0.0.1]) by fews1.riseup.net (Postfix) with ESMTPSA id 4HGPGY6bC6z5vNL; Fri, 24 Sep 2021 13:47:01 -0700 (PDT) References: <87zgs3jxvr.fsf@gmail.com> From: bo0od Message-ID: <288d3c24-39fe-d6bc-5dae-dcff1018c921@riseup.net> Date: Fri, 24 Sep 2021 20:46:54 +0000 MIME-Version: 1.0 In-Reply-To: <87zgs3jxvr.fsf@gmail.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: 48796@debbugs.gnu.org Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1632516665; 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:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=CDDt0ughHvyVA7ZO7+yObTjyJjAcLDYyiq2yxjJcCUI=; b=my6POGFVL6OYGBE4DVtwlNiOxnurIHMPS6QRGeTvAG63lugwgV3fOAdM15AHZWb8W7RAz0 D2Fn62+FJF2AEf6x4bB3gYICUcvBMwpFRFTj1267tZD1dGfkdUe71lebpzIYHE9pmY2q9A FeTY/KZ5/PIPcM0mXEQtbLjMHAMlJnjcMhhZ40HMCvZA4+EDhU0x5RAvHzhtbxr4JfVG0+ aMPaX8PpfLQVyksM3yMkMJH4Rp9BceWIir7tw/iK7+Z8o9gkXXYu7cXnDKUXqjWbeLbx1U Sb3LrZ9Q3m7gEeKPiecPsqykuZL5E/w+vYm5QW57nwheycO1fHa5ZETYUgOgCw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1632516665; a=rsa-sha256; cv=none; b=DNSs9qBLGaLE0lH1GpOnNkiTHn2lIOK2ChD2UUHYZgyrq5oYsajJhgPpmcmvjqWlgpMm8G PubqYGF4lhJTUuaMD+0m+qfoEqan29jUgiO9Ap2oWbMl291RkYpxYOudyW6v0kKNgRFzdE JRww7RpxL7IgKqC2k8ZfZShj65Uhewz6RebWiiwgn/lxJIZSdB4JLb0zoVOZbxKYZ3w+PY 2tT7KXEUMlqT0MfZzbic/5x7yU+WiLtRuk3UAA8WSCFZTxDSzFV4mPUyo+oV54sE6rNJX1 xUN8oH8Q/eorPDeoE7bYEeZzh2270MEcaoFDKecULZE7CahgN7gfB79/2w1woQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=riseup.net header.s=squak header.b=BncWgHbC; spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Spam-Score: -1.29 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=riseup.net header.s=squak header.b=BncWgHbC; dmarc=fail reason="SPF not aligned (relaxed)" header.from=riseup.net (policy=none); spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Queue-Id: 19FB33F6FC X-Spam-Score: -1.29 X-Migadu-Scanner: scn0.migadu.com X-TUID: U+LJveHQFWlF > I suspect you didn't install Guix via this script? If so, could you try > creating the above file, closing relogin in your graphical session and > report if it fixed things for you? Its already answered how to fix it after installation, Thats not the only issue, The real issue is guix isnt doing this by default after installing it, You dont expect users to make crazy steps after installation just to make guix works properly. Solution to this must developed in a way that when user install guix package then he type guix install x then it should work without further configs. Otherwise we have snap and flatpak which both are better than guix not just with lower complexity but even more security. (snap use lxc(container)+apparmor(mac), flatpak use bubblerap (namespace/seccomp), while guix doesnt use anything by default). Maxim Cournoyer: > Hello, > > bo0od writes: > >> Hi There, >> >> I have installed Guix package manager over debian bullseye 11 then i >> installed a package using guix (after running guix pull) with two >> ways: (x package i tried is icecat) >> >> guix install x >> >> sudo -i guix install x >> >> both of the commands worked but the x package has no icon nor i can >> run it using terminal. > > There are two things that Guix does to help users correctly configure > their system so that Guix installed applications appear on PATH. > > 1. The guix-install.sh installation script installs a > /etc/profile.d/guix.sh script that configures the PATH when logging in: > > --8<---------------cut here---------------start------------->8--- > # cat /etc/profile.d/guix.sh > # _GUIX_PROFILE: `guix pull` profile > _GUIX_PROFILE="$HOME/.config/guix/current" > export PATH="$_GUIX_PROFILE/bin${PATH:+:}$PATH" > # Export INFOPATH so that the updated info pages can be found > # and read by both /usr/bin/info and/or $GUIX_PROFILE/bin/info > # When INFOPATH is unset, add a trailing colon so that Emacs > # searches 'Info-default-directory-list'. > export INFOPATH="$_GUIX_PROFILE/share/info:$INFOPATH" > > # GUIX_PROFILE: User's default profile > GUIX_PROFILE="$HOME/.guix-profile" > [ -L $GUIX_PROFILE ] || return > GUIX_LOCPATH="$GUIX_PROFILE/lib/locale" > export GUIX_LOCPATH > > [ -f "$GUIX_PROFILE/etc/profile" ] && . "$GUIX_PROFILE/etc/profile" > > # set XDG_DATA_DIRS to include Guix installations > export XDG_DATA_DIRS="$GUIX_PROFILE/share:${XDG_DATA_DIRS:-/usr/local/share/:/usr/share/}" > --8<---------------cut here---------------end--------------->8--- > > It even set XDG_DATA_DIRS, which should allow integration with the GNOME > Shell and other graphical dashboards. > > I suspect you didn't install Guix via this script? If so, could you try > creating the above file, closing relogin in your graphical session and > report if it fixed things for you? > > Perhaps we should more strongly recommend using this installation script > and/or augment the manual installation procedure to cover for the above > configuration. > > A second thing that Guix does to help users configure their environ Guix > is to hinted at sourcing the profile, if the user ~/.guix-profile/bin > was not already in PATH, like so: > > > --8<---------------cut here---------------start------------->8--- > # env PATH=/usr/local/bin:/bin guix install zile > guix install: warning: Consider running 'guix pull' followed by > 'guix package -u' to get up-to-date packages and security updates. > > The following package will be installed: > zile 2.4.15 > > substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0% > The following derivation will be built: > /gnu/store/015zpn0xl8fn2ff1l0vf69w127frp76a-profile.drv > > 0.1 MB will be downloaded > zile-2.4.15 108KiB 97KiB/s 00:01 [##################] 100.0% > building CA certificate bundle... > building fonts directory... > building directory of Info manuals... > building database for manual pages... > building profile with 6 packages... > hint: Consider setting the necessary environment variables by running: > > GUIX_PROFILE="/root/.guix-profile" > . "$GUIX_PROFILE/etc/profile" > > Alternately, see `guix package --search-paths -p "/root/.guix-profile"'. > --8<---------------cut here---------------end--------------->8--- > > Didn't you see this on your terminal after installing the Guix > applications? > > Thanks, > > Maxim >