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 kJTPM0I3nWAzHwEAgWs5BA (envelope-from ) for ; Thu, 13 May 2021 16:27:14 +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 mKp0L0I3nWCMIwAAbx9fmQ (envelope-from ) for ; Thu, 13 May 2021 14:27:14 +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 24D17E716 for ; Thu, 13 May 2021 16:27:14 +0200 (CEST) Received: from localhost ([::1]:55112 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lhCIy-0006Uq-W8 for larch@yhetil.org; Thu, 13 May 2021 10:27:13 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:58962) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lhCIo-0006Ri-Cv for bug-guix@gnu.org; Thu, 13 May 2021 10:27:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:60721) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lhCIo-0000NW-4c for bug-guix@gnu.org; Thu, 13 May 2021 10:27:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lhCIo-0004tD-17 for bug-guix@gnu.org; Thu, 13 May 2021 10:27:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#48398: many packages become nonfunctional if not install in fixed profile like ~/.guix-profile Resent-From: Shyam Saran Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Thu, 13 May 2021 14:27:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 48398 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 48398@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.162091599818763 (code B ref -1); Thu, 13 May 2021 14:27:01 +0000 Received: (at submit) by debbugs.gnu.org; 13 May 2021 14:26:38 +0000 Received: from localhost ([127.0.0.1]:44034 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lhCIP-0004sZ-Ty for submit@debbugs.gnu.org; Thu, 13 May 2021 10:26:38 -0400 Received: from lists.gnu.org ([209.51.188.17]:56234) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lhCIO-0004sR-6M for submit@debbugs.gnu.org; Thu, 13 May 2021 10:26:36 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:58870) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lhCII-0006A0-Qi for bug-guix@gnu.org; Thu, 13 May 2021 10:26:35 -0400 Received: from mail-ej1-x643.google.com ([2a00:1450:4864:20::643]:46892) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lhCID-0008Og-4x for bug-guix@gnu.org; Thu, 13 May 2021 10:26:29 -0400 Received: by mail-ej1-x643.google.com with SMTP id u21so40090307ejo.13 for ; Thu, 13 May 2021 07:26:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=/beN/XeII9W9rpgoBJLFJgmCs9xd2M88Ko+BhApu7zE=; b=sW1a1p0vhGHclB0gb0y/MiDaJzvYynWiWlzCwXuEmGbqXXruEU6ag3GrHrrgBeckt+ /oauwICtmMs9F4MQfm7a1nr6mlvk+DTG4DjF76xebtXxiXmi2X4/uBKifnoCojbO44qQ vWaWKx22AyCCpvXWnOp5puCdzOYSCW2uoY/iOCGLudv6VKDnudPIdfM1j0lUBzz66fIF yThOMZK7/+H/8IqLxTgVSM5od0kFRengB+1Or4ARvA6+iipznTvIDMjpqCdHX6ajZXFl fAeflRb61N9Zv1cftRkI6j3jL6maNRmvK/EItAxcAXGav9JjZ67QbtT1weXBN3A5nRWD 29wA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=/beN/XeII9W9rpgoBJLFJgmCs9xd2M88Ko+BhApu7zE=; b=mTw81fRvwjwdPegV1TJqdtdwPu0+Zhvb941OdjkG8bm++kPCueXkB9oszp1hbURlvS I2vHXC8Za2MqxnzqXbTG/eCw/d4lnN+2B9tQF2MDWrYZtU7yKW++jkXzZR8Ax7GdzFjq xmvuuT0XWSYbmVNOuxXWWYK53AOIUNiRWvVuVsMHoVKjii782jRZK4/f6gH6WQy+oyk2 +MgeNpa3OFjc0n/BKlXqiJI+zuiXxVVBgB1l4cnq8bMgHAyuFFJwDJ5Rk0PHxTy6sGBg Do+07XobmZ1HPf4JROd5j4I1PyRnGQnIgzw1ICyE8nLXJBfvzoGtxGVd7aRBTmny/TX2 MJ6g== X-Gm-Message-State: AOAM530dMex7LVs1ktsAPf2MDmMsI6PU23zv7Gv8chCxuMKMajapSJ8L OEJ+Guz8NrDkejDVNTZvmeTKSJvpkgdGcakPq2zJ4g3I4mk= X-Google-Smtp-Source: ABdhPJwfksVMnk0VWPCHS9HxJw/NGNrhpwd0WqeyfS7q0Hx1WDgLGGqQvJsDUCMW4b2gB/CjyU0LDFZViiBVWbvr+Zg= X-Received: by 2002:a17:906:2504:: with SMTP id i4mr43767959ejb.297.1620915981922; Thu, 13 May 2021 07:26:21 -0700 (PDT) MIME-Version: 1.0 From: Shyam Saran Date: Thu, 13 May 2021 19:56:11 +0530 Message-ID: Content-Type: multipart/alternative; boundary="0000000000005033c705c236e955" Received-SPF: pass client-ip=2a00:1450:4864:20::643; envelope-from=syamsaran12345@gmail.com; helo=mail-ej1-x643.google.com X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.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, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, HTML_MESSAGE=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-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: , 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=1620916034; 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:resent-cc:resent-from:resent-sender: resent-message-id:list-id:list-help:list-unsubscribe:list-subscribe: list-post:dkim-signature; bh=/beN/XeII9W9rpgoBJLFJgmCs9xd2M88Ko+BhApu7zE=; b=pQ7lBRGCnSw+3oAJ4yO8Z7e69qNVbouyTw/o41Suw6Vmu2WWdm7OWgAs+ajdp/5AkUAY4l 21/NfSvzhoTC+7akQgo/QOzJ6ust3jvGV+ZDeFmRra69IY5YJDgcSVLPXI5HLXksazImHO sozH44nhG1/Tjo2AytJ5zK3qOMbcmspKNrp/1bAwhw/sXAok+Sl0PEWveeu8Q86k9msa6d 2cojSHkz8GZDf3VW9DgEHpGmg7zdxiKYhvk5S2cz+rF9zdpDvqO77z66Rz8poWn2Y0e82R zG1KEbPegmGvv5Fs7bZ6gyxhu1TlXqKQZolLIJpCSKabPGzIRpH3633rFgGwNA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1620916034; a=rsa-sha256; cv=none; b=Q8fOodDMq2jMhGjIbGi+lncyVRM8S1AOPz0CDLlBBnmOW4XkY1PjJLcvYuQ7OXTm/SuE8T vVWtkDS2MbgLgqiFdIGAXvbTGJC7yoMcTXn+KWu9tHy8U2Lkq5PBXbtqxWGFXzVjqb0jS6 69sud39OibP6ZPPbn03tJEoz89V9l1/msZ1KjOxYg0aXfuxZaE2J1fK6JrkVzc9F8B3ru9 UgS+cdGaBalHPIJ5tk1xYN8MC9SuooqQbmuJcLW03jR5nArDVc0wqjcAIm20VafXS5JKEr jODbA4hA1/G/74vtY/kLZT1oHAq1vpEa0BAo9uFC1Hax9xx4IL6nVml1VEnLVg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20161025 header.b=sW1a1p0v; 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.35 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20161025 header.b=sW1a1p0v; 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: 24D17E716 X-Spam-Score: -1.35 X-Migadu-Scanner: scn0.migadu.com X-TUID: 1FwBcy/t7xva --0000000000005033c705c236e955 Content-Type: text/plain; charset="UTF-8" many packages become nonfunctional if not install in fixed profiles (e.g. ~/.guix-profile) These are two instances 1. blueman 2. font-conf so most of font like font-lohit will not be available I had noticed that fixed profiles have become part of many packages/services definition which could be the reason that many of these packages/services become dependent on these fixed profiles. It can be checked with $ ag --scheme '.guix-profile' $ grep -r '.guix-profile' in code Also We provides necessary services through putting environment variables in each profiles PROFILE_PATH/etc/profile like for pidgin/purple PURPLE_PLUGIN_PATH for libraries LIBRARY_PATH As suggestion We could first provide augment all variables with guix specific prefix e.g. GUIX_PEV_... (PVS profile environment variables.) So these all variables will become GUIX_PEV_PURPLE_PLUGIN_PATH GUIX_PEV_LIBRARY_PATH then we could or could not (left to user) to set them PURPLE_PLUGIN_PATH=$GUIX_PEV_PURPLE_PLUGIN_PATH LIBRARY_PATH=$GUIX_PEV_LIBRARY_PATH So with prefixed env vars, in first look one will know it is coming from guix related profiles. maybe it will also help in removing dependencies on fixed profiles. /syam --0000000000005033c705c236e955 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
many packages become nonfunctional if not install in = fixed profiles (e.g. ~/.guix-profile)

These ar= e two instances

1. blueman
2. font-c= onf so most of font like font-lohit will not be available

I had noticed that fixed profiles have become part of many packages= /services definition
which could be the reason that many of these= packages/services become dependent on
these fixed profiles.

It can be checked with

$ ag = =C2=A0 --scheme =C2=A0'.guix-profile'
$ grep -r '.gui= x-profile'

in code


Also

We provides necessary servic= es through putting environment variables in each profiles

PROFILE_PATH/etc/profile

=C2=A0 like for p= idgin/purple
=C2=A0 PURPLE_PLUGIN_PATH

= =C2=A0 for libraries
=C2=A0 LIBRARY_PATH


As suggestion

We could first provi= de augment all variables with guix specific prefix e.g. GUIX_PEV_...
<= div>(PVS profile environment variables.)

So these = all variables will become


=C2=A0 GU= IX_PEV_PURPLE_PLUGIN_PATH
=C2=A0 GUIX_PEV_LIBRARY_PATH
=
then we could or could not (left to user) to set them
<= div>=C2=A0 PURPLE_PLUGIN_PATH=3D$GUIX_PEV_PURPLE_PLUGIN_PATH
=C2= =A0 LIBRARY_PATH=3D$GUIX_PEV_LIBRARY_PATH


So with prefixed env vars, in first look one will know it is coming = from guix related profiles.
maybe it will also help in removing d= ependencies on fixed profiles.

/syam




--0000000000005033c705c236e955--