From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 0MAeI+9uTGFTigAAgWs5BA (envelope-from ) for ; Thu, 23 Sep 2021 14:11:27 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id oA3tHu9uTGH+KAAA1q6Kng (envelope-from ) for ; Thu, 23 Sep 2021 12:11:27 +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 B6DE9DB8E for ; Thu, 23 Sep 2021 14:11:26 +0200 (CEST) Received: from localhost ([::1]:55972 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mTNZV-0007kG-RP for larch@yhetil.org; Thu, 23 Sep 2021 08:11:25 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:47856) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mTNZ8-0007hh-Ke for bug-guix@gnu.org; Thu, 23 Sep 2021 08:11:06 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:41341) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mTNZ8-0007ky-D2 for bug-guix@gnu.org; Thu, 23 Sep 2021 08:11:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mTNZ8-0002QW-5o for bug-guix@gnu.org; Thu, 23 Sep 2021 08:11:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#48796: Guix on Debian 11 - Cant run or find applications from Guix Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Thu, 23 Sep 2021 12:11:02 +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: bo0od Received: via spool by 48796-submit@debbugs.gnu.org id=B48796.16323990419292 (code B ref 48796); Thu, 23 Sep 2021 12:11:02 +0000 Received: (at 48796) by debbugs.gnu.org; 23 Sep 2021 12:10:41 +0000 Received: from localhost ([127.0.0.1]:52887 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mTNYn-0002Po-2J for submit@debbugs.gnu.org; Thu, 23 Sep 2021 08:10:41 -0400 Received: from mail-qt1-f171.google.com ([209.85.160.171]:43726) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mTNYl-0002Pc-Al for 48796@debbugs.gnu.org; Thu, 23 Sep 2021 08:10:39 -0400 Received: by mail-qt1-f171.google.com with SMTP id a13so5876690qtw.10 for <48796@debbugs.gnu.org>; Thu, 23 Sep 2021 05:10:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=Dzo7Ek1sIII73cqqIw74qkffRdeg71TCOOAN3o/NESk=; b=F/rynzroKG18WRBrsErZ9US+N08xZ981Ro0bdFO3qH35egfqbGUiTrNS0Xkp4EIYi4 gLRuM2nUdcZrmcZJiBq1J4nvQ96WwIuJwsa54tEVDYHkL0nucdgs1cjxFgSpUJgjOcUH t57ig9xwna32FeOEm8M+iKZvR/W5h5AN2JivFpeKI3CzkbKNI3Y6o/QqLp6usY9k+KLR L4ji27R5i52JLDBdxAofkfc+Y0z56YeiSAh+pIFlANw9WUA1JBoKSpHpgv31YEmDLBtZ RUUVAky5vloiEFboKfs7wSUiFLUISU3DjjUGFbcQf1lUdA9HVRMu5ZtD52SWHUIiTClA 0SBA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=Dzo7Ek1sIII73cqqIw74qkffRdeg71TCOOAN3o/NESk=; b=Bi3Eysw+nCNrnAD3Sw1T6O9UyZSaBAQmq/gahsYEHwSd/FAhzNx6clZ/vWPtlwZJ7S 14jjQVe2o+DQGUqFsi8ZZnpiU6gm1auRJWYy1lapBvRtPcctpjHhiFOhVBkYj7ydw1Q+ oee6XT2yuEDupwSJdBx1hZa2JDwrW59k9u+h6+PkJcGHLwvW+WSijn2jNyLheR7qUZf5 rpF1ymnv0Qkby57ukxKooe2+wf6psL+EkT4xum0bxjWdIrsnR1aVoC7fRZdm31/Jjj7f Xb9D3ougo7Iy2aveya8ri1EtoXBwI2F6w8jswFL36v+hGCY8Y5A2UEpNOPsUQGSnJRR9 L10A== X-Gm-Message-State: AOAM532RNr2UV5y2Er9+MhtWh94kQYGibdG+zX31IJuvihWDPb5OrKHW TjmsXA5soH7HoV816oafFa2TmHwlabw= X-Google-Smtp-Source: ABdhPJwC0XpPbkWgttE7lvO8EVUXZoTEzFwDAP5JSrS5BloQBm6reUSvR3VrZUdEeOAHnLFLiEPPXQ== X-Received: by 2002:ac8:434d:: with SMTP id a13mr4292283qtn.91.1632399033624; Thu, 23 Sep 2021 05:10:33 -0700 (PDT) Received: from hurd (dsl-10-149-91.b2b2c.ca. [72.10.149.91]) by smtp.gmail.com with ESMTPSA id f5sm2191223qtp.44.2021.09.23.05.10.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 23 Sep 2021 05:10:33 -0700 (PDT) From: Maxim Cournoyer References: Date: Thu, 23 Sep 2021 08:10:32 -0400 In-Reply-To: (bo0od@riseup.net's message of "Wed, 2 Jun 2021 18:56:33 +0000") Message-ID: <87zgs3jxvr.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain 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=1632399086; 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: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=Dzo7Ek1sIII73cqqIw74qkffRdeg71TCOOAN3o/NESk=; b=dqkG6Hhvi8/u37NZmPqGJCnnBOu4W2w/rCspSvFNeRD88BXTw1cs+OjLFA/pU5QW+b0I/G 5eWJ3n/0QJjc4wxZ85EzKtFwzMvOL2VV0NXOXPid6ZgOCCD7IkOkhGBpmAFl1APbmR33j+ sSHbTh8Y1RPlf67MQtb4D1b1lTdszYsxQUEcC+f+9unyWWsRXxCsGCdAOTuHStEojGGSuz viBEGCdiQzocZCuPlXP8gebPKKAHJbPqjRCa44agHKH5j5oBnuluw7424H2WuJF/MvkHYK kO2vcwInRzhPMJUP55Mn+NNHXwvkiDq9/RigJ72rXuasFwRARUHo7GfzP4sg6Q== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1632399086; a=rsa-sha256; cv=none; b=Z9QGFoipxWvbUgQrkpkJEPbFCBHSbuuq18+zR4JZMEc2oLk6WZkp9P8U0YZV/hFuSum+p2 owG5wXe9It+XYllTDIuZOkxaNL3tCGJNl1xLBWSbziyV2hsbX+5O70NoZvdIvoHS3LE2N2 9wBQRB75/0lR9A7vREPFoNJzcxVoh/s6s8mez9yDPsoPHNSqXR7T8NFzBuK3Xoh+2jdXbT xefgJ3EBypFcg79JaFhIp6BsYFFesi0OFZO5P6e7dwMrd1FzP04uKPZ86SCzrDcnk9a7DJ i9Eiu7l2IH/y2+7UPKyTpfs55zKOPM8mt0NWC1mdmHX9rmAXC40VcRKCik5Ixg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b="F/rynzro"; 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=gmail.com header.s=20210112 header.b="F/rynzro"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (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: B6DE9DB8E X-Spam-Score: -1.29 X-Migadu-Scanner: scn0.migadu.com X-TUID: NQ5eOytqt2P3 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