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 4MwCHhXAvl/ScgAA0tVLHw (envelope-from ) for ; Wed, 25 Nov 2020 20:35:33 +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 uL3tGRXAvl+tDwAAB5/wlQ (envelope-from ) for ; Wed, 25 Nov 2020 20:35:33 +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 B5BCB940148 for ; Wed, 25 Nov 2020 20:35:32 +0000 (UTC) Received: from localhost ([::1]:38684 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ki1Vj-0000RK-Of for larch@yhetil.org; Wed, 25 Nov 2020 15:35:31 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:47726) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ki1Vb-0000Qn-CM for help-guix@gnu.org; Wed, 25 Nov 2020 15:35:23 -0500 Received: from mail-wm1-x331.google.com ([2a00:1450:4864:20::331]:54281) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ki1VZ-0004K3-Pu for help-guix@gnu.org; Wed, 25 Nov 2020 15:35:23 -0500 Received: by mail-wm1-x331.google.com with SMTP id d142so3122918wmd.4 for ; Wed, 25 Nov 2020 12:35:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=beadling-co-uk.20150623.gappssmtp.com; s=20150623; h=references:user-agent:from:to:subject:in-reply-to:date:message-id :mime-version; bh=IQ7Pit3E6XVYu4c0fx+o2tRkCCABSVvjcze2zyk7HDo=; b=NSWKx5hoEF087JNRwXv2e6r0KEMdrthhk0qr/Dg5nfqjGq46roVdBcpVWzdUfHCPaW DdL3NwlMLXZ9GWfFCUUpNOtav9UQav4+XjUS1lJdRYRWJvOytkNq97MOxSL9QnFPAI4i KOEPqyz3xgl/jJirB6+0CX00g/4WE/lvMyqspdyNPDQHXUZyzoy3zjvQWE9SSPof8Czz iX+VV2NFt8BgKHYmPmP2JdR0e7NG1jETbbUt6K9nbLDI27Sxlf4Tq6EvkGL+GTUhwm+Z V1l9K8tgjiH5x3jOPF0j4qfv42deCOsK4vuwdSsmHpe2mo+3mCC7pCmzuZ/auYPwGRgo s7iw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:references:user-agent:from:to:subject :in-reply-to:date:message-id:mime-version; bh=IQ7Pit3E6XVYu4c0fx+o2tRkCCABSVvjcze2zyk7HDo=; b=c5gzqVHCnExwkFfxCLa4crpbQevs85RzOsJHmV+20m9iI6Lru2H7dvZmT6lHj59wXj Of4Vt0b99U9FaH8ZY4ZrFzpwEhdNh94hbbVnwelcZPOzFvbKNRk8ki/s+VlWHYqjpwjT HP93iTEBiE1HT6RGLdq/WpZlJr5PDvCGydmaBuvDZGla+bKiea6RLrRBPwiGNoZtpx+p 0EGY3Y+FJxxWPsd+N9ZwjkJ+hOnIRNAc56wjgj3Bfk/ZexjvXqyrd+UW7wX92XKnl/8m xR/kxiyNqU+XNZbmgT8d1CRUIW5Vr91Qy03LZTTu9OL6jz1mQmn9E/plDqZkLzxglf3b j77Q== X-Gm-Message-State: AOAM5325KZsj6KklO/jMVEEoJd2nMigEOb4GRSLONM2QPNRRst51gGcG pa1IyE1XNzmaCuoo5VycTi92GcDKBShtxijOZtA= X-Google-Smtp-Source: ABdhPJz2e10aoABEhCtm3QTKRqymtRxK/kLjeiUc8ef+LRPguMNrLiw1yNLCcL+USg0c8AtP5vKeOw== X-Received: by 2002:a7b:c8d3:: with SMTP id f19mr5888503wml.17.1606336519547; Wed, 25 Nov 2020 12:35:19 -0800 (PST) Received: from phil-XPS-13-9360 (88-111-129-212.dynamic.dsl.as9105.com. [88.111.129.212]) by smtp.gmail.com with ESMTPSA id p11sm6256266wrj.14.2020.11.25.12.35.18 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 25 Nov 2020 12:35:18 -0800 (PST) References: <85r1oifz56.fsf@beadling.co.uk> <87y2iqba88.fsf@web.de> User-agent: mu4e 1.2.0; emacs 26.3 From: Phil To: "Dr. Arne Babenhauserheide" , help-guix@gnu.org Subject: Re: Replacing python venv - environment or profile? In-reply-to: <87y2iqba88.fsf@web.de> Date: Wed, 25 Nov 2020 20:35:18 +0000 Message-ID: <857dq9qint.fsf@beadling.co.uk> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: none client-ip=2a00:1450:4864:20::331; envelope-from=phil@beadling.co.uk; helo=mail-wm1-x331.google.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Scanner: ns3122888.ip-94-23-21.eu Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=beadling-co-uk.20150623.gappssmtp.com header.s=20150623 header.b=NSWKx5ho; dmarc=none; spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Spam-Score: -0.21 X-TUID: MljtOoie6xRi Much appreciated Arne - lots of interesting stuff on your website - a few comments below too. Dr. Arne Babenhauserheide writes: > As far as I see it, guix environment is what you get from a virtualenv, > plus a good deal more. I start more complex programs nowadays by pulling > in their dependencies in a small startup file. The following is my > actual command for running IntelliJ with custom libraries and the > correct libstdc++: > > exec -a "$0" guix environment --ad-hoc openjdk@14 openjdk@14:jdk gcc-toolchain@10.2 -- bash -c "LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:/home/arne/.guix-profile/lib:$(realpath ~/.guix-profile/lib/libsqlite3.so):/gnu/store/qj38f3vi4q1d7z30hkpaxyajv49rwamb-gcc-10.2.0-lib/lib/:."' IDEA_JDK="$(dirname $(dirname $(realpath $(which java))))" exec -a "$0" bash -x idea-IU-193.6911.18/bin/idea.sh' Cool so Intellij starts up inside it's own environment with specific toolchain and JDK requirements. One question - is there any reason to use 'guix environment' rather than have a profile setup with packages you need that you could then source and start idea.sh from?