From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id 4Fp/NtD5PF+JXQAA0tVLHw (envelope-from ) for ; Wed, 19 Aug 2020 10:07:12 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id qLJ8MtD5PF+kKgAAB5/wlQ (envelope-from ) for ; Wed, 19 Aug 2020 10:07:12 +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 06BE9940309 for ; Wed, 19 Aug 2020 10:07:10 +0000 (UTC) Received: from localhost ([::1]:49696 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k8Kzt-0000jM-9w for larch@yhetil.org; Wed, 19 Aug 2020 06:07:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:55544) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k8Kzm-0000jA-Fo for bug-guix@gnu.org; Wed, 19 Aug 2020 06:07:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:54617) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1k8Kzm-0006Jq-6r for bug-guix@gnu.org; Wed, 19 Aug 2020 06:07:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1k8Kzm-0005XC-1b for bug-guix@gnu.org; Wed, 19 Aug 2020 06:07:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#42920: conda 4.8.3 on guix cannot activate environments Resent-From: Ricardo Wurmus Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Wed, 19 Aug 2020 10:07:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 42920 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Hugo Buddelmeijer X-Debbugs-Original-Cc: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.159783161921264 (code B ref -1); Wed, 19 Aug 2020 10:07:01 +0000 Received: (at submit) by debbugs.gnu.org; 19 Aug 2020 10:06:59 +0000 Received: from localhost ([127.0.0.1]:37930 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k8Kzi-0005Wu-QP for submit@debbugs.gnu.org; Wed, 19 Aug 2020 06:06:59 -0400 Received: from lists.gnu.org ([209.51.188.17]:57598) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k8Kzg-0005Wl-UU for submit@debbugs.gnu.org; Wed, 19 Aug 2020 06:06:57 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:55524) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k8Kzg-0000iv-Iv for bug-guix@gnu.org; Wed, 19 Aug 2020 06:06:56 -0400 Received: from sender4-of-o51.zoho.com ([136.143.188.51]:21132) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.90_1) (envelope-from ) id 1k8Kze-0006JO-Fe for bug-guix@gnu.org; Wed, 19 Aug 2020 06:06:56 -0400 ARC-Seal: i=1; a=rsa-sha256; t=1597831607; cv=none; d=zohomail.com; s=zohoarc; b=llp/m6Nffty5CpLVmChjFslXD84PacENCzF7jKxmN92OU2nwChrOhvuv1dfkwxbGq2Y/CfvvvJTNh8HY6cbLKb4NHH05WW0QEw/maizyEVBssphlst6wONXZRSIGdcPheQx+erh14RRQ0Qy0aH55dVB9m4oSBHyaajAZFFTfBM8= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1597831607; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=Ibn9EzyfNn0KPNyd2khCGs6iQHWvRndanqkzUBlxGTs=; b=A86wkqzLqbQVLObbO+ONpEhpom1l2z8LX6VI0bbFWQ5/Mmkv2jMOvhQLOrNH2gIkfXAmjIJVCdJXjRUmrVYGCRGbfFJWbj2hx5HTmdhTEWY4H31WoggKeZViPdkEtNBF1UQS+Lbo7QdKxH9jvcLZ1rx+j5pHFWz2lfiI1aNQgDk= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=elephly.net; spf=pass smtp.mailfrom=rekado@elephly.net; dmarc=pass header.from= header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1597831607; s=zoho; d=elephly.net; i=rekado@elephly.net; h=References:From:To:Cc:Subject:In-reply-to:Date:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding; bh=Ibn9EzyfNn0KPNyd2khCGs6iQHWvRndanqkzUBlxGTs=; b=gdQ4aAkEDIHGbrCdemq/ELgoeCviY7zQRVSmjw3L+ItKROaNGODd0d8LFkCJbxGL O78qxYjvBTqvDDTfIfZy4CZe/5rKmFHlRQplwmH73/tsSaM8zZGbWZ9cd0N/dz0YgHp zUEaKGnFTwtC1YLwfiz22dh3tX+f1u8WRp+ksr1c= Received: from localhost (p54ad4c52.dip0.t-ipconnect.de [84.173.76.82]) by mx.zohomail.com with SMTPS id 1597831602234994.0909613050062; Wed, 19 Aug 2020 03:06:42 -0700 (PDT) References: User-agent: mu4e 1.4.10; emacs 26.3 From: Ricardo Wurmus In-reply-to: X-URL: https://elephly.net X-PGP-Key: https://elephly.net/rekado.pubkey X-PGP-Fingerprint: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC Date: Wed, 19 Aug 2020 12:06:38 +0200 Message-ID: <87blj7x841.fsf@elephly.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-ZohoMailClient: External Received-SPF: pass client-ip=136.143.188.51; envelope-from=rekado@elephly.net; helo=sender4-of-o51.zoho.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/08/19 06:06:50 X-ACL-Warn: Detected OS = Linux 3.11 and newer [fuzzy] X-Spam_score_int: -30 X-Spam_score: -3.1 X-Spam_bar: --- X-Spam_report: (-3.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, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -2.3 (--) X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: 42920@debbugs.gnu.org Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=fail (rsa verify failed) header.d=elephly.net header.s=zoho header.b=gdQ4aAkE; dmarc=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-Spam-Score: 3.49 X-TUID: RaTp4FPjC81b Hi Hugo, > The conda 4.8.3 package on guix does not seem to work as expected. Thanks for letting me know. The upgrade took a long time and required quite a bit of patching. > But activating it does not work properly: > > hugo@alex ~$ conda activate testenv > > CommandNotFoundError: Your shell has not been properly configured to use > 'conda activate'. > To initialize your shell, run > > $ conda init This is very unfortunate, but perhaps we can work around this. Initially I noticed that almost none of the Conda features worked without =E2=80=9Cconda init=E2=80=9D, so I decided to run =E2=80=9Cconda in= it=E2=80=9D as part of the build. This installs a whole bunch of shell initialization files into the prefix directory, which =E2=80=94 I assume =E2=80=94 are meant to be ev= aluated when the shell starts. So I suspect that you can get around this by manually sourcing the appropriate shell init files. Which of these need to be sourced probably depends on your current shell. > Unfortunately, conda init does not work well, because it needs root > access: [=E2=80=A6] Yeah, it=E2=80=99s a terrible design decision on the part of the Conda developers. Luckily you won=E2=80=99t need any of that because we already installed all these files at build time. > FWIW, maybe it would be simpler to create a micromamba package than a con= da > package: > https://github.com/TheSnakePit/mamba Why not both? --=20 Ricardo