From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id SD09GvlUT2JsjQAAgWs5BA (envelope-from ) for ; Thu, 07 Apr 2022 23:17:45 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id sEyWF/lUT2LsGQAA9RJhRA (envelope-from ) for ; Thu, 07 Apr 2022 23:17:45 +0200 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 B179422BF9 for ; Thu, 7 Apr 2022 23:17:44 +0200 (CEST) Received: from localhost ([::1]:46358 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ncZVf-0003Kc-KN for larch@yhetil.org; Thu, 07 Apr 2022 17:17:43 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:44132) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nbkg3-00082z-CI for bug-guix@gnu.org; Tue, 05 Apr 2022 11:01:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:33698) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nbkg3-00083H-2n for bug-guix@gnu.org; Tue, 05 Apr 2022 11:01:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nbkg3-0001Yb-1W for bug-guix@gnu.org; Tue, 05 Apr 2022 11:01:03 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#42920: conda 4.8.3 on guix cannot activate environments Resent-From: Dominic Martinez Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Tue, 05 Apr 2022 15:01:02 +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: Ricardo Wurmus Received: via spool by 42920-submit@debbugs.gnu.org id=B42920.16491708335870 (code B ref 42920); Tue, 05 Apr 2022 15:01:02 +0000 Received: (at 42920) by debbugs.gnu.org; 5 Apr 2022 15:00:33 +0000 Received: from localhost ([127.0.0.1]:55815 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nbkfY-0001Wb-HS for submit@debbugs.gnu.org; Tue, 05 Apr 2022 11:00:32 -0400 Received: from mta-15-3.privateemail.com ([198.54.122.111]:52292) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nbkfW-0001WH-7U for 42920@debbugs.gnu.org; Tue, 05 Apr 2022 11:00:31 -0400 Received: from mta-15.privateemail.com (localhost [127.0.0.1]) by mta-15.privateemail.com (Postfix) with ESMTP id 0584B18000AE; Tue, 5 Apr 2022 11:00:24 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=dominicm.dev; s=default; t=1649170824; bh=I+yazx12MzInnIYyxjOKOWUAhV7j6S2jegIcpV8VcWo=; h=References:From:To:Cc:Subject:Date:In-reply-to:From; b=jZrc3T5Sfz5UN5FS9ncHwsa68+3yY0r6iU36YqxCdT8qat13nZ8Fg6XSt7nkvExfz Ws1eCU5xAFeq+cYRGrkXqWw7yxzZxqlL2JV6nBHt7OciWseEv+kSEtC00HDg9uFPMp 9zJG28Wg3/dmajvVRs7L12wMpJzeKUH8WeVYq5VGY+Ztw5E3CmbtMCRRoWXEUJLNMO PW8tI8rE0muoVjxWGN1OKtpYGo8ttI94ywnuAw9KD7ZA2X8vGxTOjCLST/5bLTMCVC 5nXcYTbr4CZLAp+RrgaJGzlM/sCUjsfthE4/SR9qpWFXbpcwv9pWm8KDUnI/NeyU7g xZifmfuIH4/Qw== Received: from guix (unknown [10.20.151.182]) by mta-15.privateemail.com (Postfix) with ESMTPA id 3A70918000AD; Tue, 5 Apr 2022 11:00:22 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=dominicm.dev; s=default; t=1649170823; bh=I+yazx12MzInnIYyxjOKOWUAhV7j6S2jegIcpV8VcWo=; h=References:From:To:Cc:Subject:Date:In-reply-to:From; b=rdoxykSoZiSn1YEIcsFdy0ld5mUc6thmYO0PZi7r9eCW1LRP2fDzHtowB4qbphvej YRUarexWO9t6Py9aJm3rerOFh0wajGeYgZgUV7LqoS175jIevBmNx4Had0b0y9AD3Z AKaz9LMf51/zFGkuiTxBZGG12SygMijCKcLqMgtIv2eY57g3k673izUrA2BuiuiLaG YuJUs8kWmd5/V65O4GtascudOx966HMFLN6GszA3BNI7iGsaPbgM7YJQ0CWaQVQalC TaGentHlnYWJauETC6JcizNvUDzf3YEzhAPoJPsLBJhAbZ3LcHCQuLqz3WsUeyPF7m TmjiezHnpzg8w== References: <875yw3gj6w.fsf@elephly.net> <86ee2bak4i.fsf@gmail.com> <87fsmr3bl7.fsf@elephly.net> User-agent: mu4e 1.6.10; emacs 27.2 From: Dominic Martinez Date: Tue, 05 Apr 2022 10:50:46 -0400 In-reply-to: <87fsmr3bl7.fsf@elephly.net> Message-ID: <87tub7zibj.fsf@dominicm.dev> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Virus-Scanned: ClamAV using ClamSMTP X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Mailman-Approved-At: Thu, 07 Apr 2022 17:17:27 -0400 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-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1649366264; 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=NVUPXu87oCMp0fIk9I7scTtQk0BueCVJkE/x6Y1S7o8=; b=KMbQvyNfY+2kyzT1ONehXY25nOjrUFOcNs9SkJUqdS0kUtGBphFl2OPgNxT19sA2XVHFc5 P3+lqRJmxZCfZZoDBZACXkxv24pg9TymqUFlMbjXpIR+wgeVEPj8D1a7W7MQ9ctWRQtlpX NoK0NulJPQmWdPxKCB7pzxelyukXnu6UbHhKZ8FX7K2jrBpIaEOPtVmbtJcv4Gb8uNxpl1 Jfgp5DVwW4n4Ix2uvc1VIEb1BeCyRPXsif0FFX32cg0cJ1YqtlCyPA3Knf9MwX25TG9b4J 13h5lWxBN7fQXCokzXr9bXlUTabDLjyU8Ey9n4Iku+2DXJwAv+gplpRBfbucdw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1649366264; a=rsa-sha256; cv=none; b=Ap9zNwNlk/3XI26Az3vH5n7+PxU3dDU/dNBQVUEztLjfYGgIDujP3kUQ92e/yijzIFWMbH j+Tpyo0uwsh+zP3XMyw5h9rDg6syqzd/efFe20OlSKd43caZzge8yE02T0t3/HWJNM8XZl 4nWlowGBf3fqqxS0avh4ikUFSgayFujnHNalPuClpXiqzJ5LAy4maHc34fwxI6zsPSlhYE QJJ+ThnPp2/JCU2nbe7UoP/AKwk3kqgGjA+DCBIVpufS4Hxq97PKxjuwapjB6oKDs0HkHk cu5vxeDJp8kMbBUbGq7O+3QWRdsqX+xtQqtX02qM8TwmbyUJ5K97E0Y7G6GBMA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=dominicm.dev header.s=default header.b=jZrc3T5S; dkim=fail ("headers rsa verify failed") header.d=dominicm.dev header.s=default header.b=rdoxykSo; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -0.66 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=dominicm.dev header.s=default header.b=jZrc3T5S; dkim=fail ("headers rsa verify failed") header.d=dominicm.dev header.s=default header.b=rdoxykSo; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: B179422BF9 X-Spam-Score: -0.66 X-Migadu-Scanner: scn0.migadu.com X-TUID: 7axMdmfT3kFY --=-=-= Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable >> On Wed, 18 Aug 2021 at 12:07, Ricardo Wurmus=20 >> wrote: >>> We have since upgraded to 4.10.3, but the problems still=20 >>> persist. Conda still >>> asks users to run =E2=80=9Cconda init=E2=80=9D, which attempts to run = =E2=80=9Csudo=E2=80=9D=20 >>> to modify >>> root-owned files. It=E2=80=99s a big mess. I don't think conda init will ever work on Guix, and it seems out=20 of scope to try and prevent Conda from prompting users to do=20 that. I was able to get conda working with the following steps: 1. Expose the glibc interpreter so that conda python can function #+begin_src scheme (extra-special-file "/lib64/ld-linux-x86-64.so.2" (file-append glibc=20 "/lib/ld-linux-x86-64.so.2")) #+end_src 2. Source the conda environment variables. I do this both in my=20 profile (through home-shell-profile-service-type) and through my=20 rc file for interactive shells, as I think I remember having=20 problems not sourcing it in both. #+begin_src scheme (define-public (home-profile-service script) "Creates a service that sources a home profile.d script provided=20 by a package." (simple-service 'profile.d-service home-shell-profile-service-type `(,(plain-file (string-append script "-profile") (string-append "source=20 ~/.guix-home/profile/etc/profile.d/" script=20 ".sh"))))) (home-profile-service "conda") #+end_src #+begin_src shell source ~/.guix-home/profile/etc/profile.d/conda.sh #+end_src I agree that this setup is not ideal, but I think that guix home=20 has the promise of fixing a lot of these issues with home=20 services! Hopefully in the near future we'll be able to turn these=20 fixed into services for users. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEARYIAB0WIQRtp6gAxeTcYmhxQ/1Bnl1fEVBrXQUCYkxZgAAKCRBBnl1fEVBr XW/0AP4+CQd9Qlwnr1MlsXvUpLIJ9r9ZZjm4bLCr9AaVIVKq2QD/f+EPnIxE4bK5 +MvM8wLsNW55LOv8WdzUCA4Y+E9JKgE= =iIhj -----END PGP SIGNATURE----- --=-=-=--