From mboxrd@z Thu Jan 1 00:00:00 1970 From: Frederick Muriithi Subject: bug#27858: Conda (on guix) does not activate environments Date: Fri, 28 Jul 2017 08:49:26 +0300 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:55660) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dayAx-0002MG-Ez for bug-guix@gnu.org; Fri, 28 Jul 2017 01:51:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dayAw-0000Av-KR for bug-guix@gnu.org; Fri, 28 Jul 2017 01:51:03 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:56418) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dayAw-0000Al-Gi for bug-guix@gnu.org; Fri, 28 Jul 2017 01:51:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dayAw-00018A-Be for bug-guix@gnu.org; Fri, 28 Jul 2017 01:51:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: Received: from eggs.gnu.org ([2001:4830:134:3::10]:55189) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1day9o-0001L2-9l for bug-guix@gnu.org; Fri, 28 Jul 2017 01:49:53 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1day9n-0007lm-7b for bug-guix@gnu.org; Fri, 28 Jul 2017 01:49:52 -0400 Received: from mail-it0-x235.google.com ([2607:f8b0:4001:c0b::235]:36455) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1day9n-0007f8-2y for bug-guix@gnu.org; Fri, 28 Jul 2017 01:49:51 -0400 Received: by mail-it0-x235.google.com with SMTP id v205so76247823itf.1 for ; Thu, 27 Jul 2017 22:49:48 -0700 (PDT) List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: 27858@debbugs.gnu.org I have come across a bug on conda, installed via guix, that does not seem to be present when conda is installed via the process at https://conda.io/docs/install/quick.html#linux-miniconda-install The issue --------- Conda (on guix) does not activate environments Command ran ----------- source activate test-env Expected result --------------- The envinment should be activated, and the prompt changes from `frederick@localhost:/tmp$` to `(test-guix-conda) frederick@localhost:/tmp$` Actual result ------------- The terminal window is exited. Additional information ---------------------- This behaviour is not present on conda installed via the process presented in the conda documentation. The environment(s) created by conda on guix are available on, and can be activated by conda installed via the process in the conda documentation. I ran `bash -c "source activate test-env"` and the following error message was displayed: /gnu/store/f2dr9xbimg93pljm7xgmqb4cm5bxy98r-conda-4.3.16/bin/.deactivate-real: line 59: return: can only `return' from a function or sourced script /gnu/store/f2dr9xbimg93pljm7xgmqb4cm5bxy98r-conda-4.3.16/bin/.deactivate-real: line 94: return: can only `return' from a function or sourced script I would appreciate any help that would help in resolving this issue.