From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id gNakGE8X+2NSCQEAbAwnHQ (envelope-from ) for ; Sun, 26 Feb 2023 09:24:47 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id kHLWF08X+2MbNQEAG6o9tA (envelope-from ) for ; Sun, 26 Feb 2023 09:24:47 +0100 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 106FB11C51 for ; Sun, 26 Feb 2023 09:24:47 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pWCKP-0001ji-3Y; Sun, 26 Feb 2023 03:24:17 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pWCKN-0001jZ-Un for help-guix@gnu.org; Sun, 26 Feb 2023 03:24:15 -0500 Received: from lepiller.eu ([2a00:5884:8208::1]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pWCKM-0002aZ-E4 for help-guix@gnu.org; Sun, 26 Feb 2023 03:24:15 -0500 Received: from lepiller.eu (localhost [127.0.0.1]) by lepiller.eu (OpenSMTPD) with ESMTP id 2d5aff42; Sun, 26 Feb 2023 08:24:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=lepiller.eu; h=date:from :to:subject:in-reply-to:references:message-id:mime-version :content-type:content-transfer-encoding; s=dkim; bh=pcmdv+WOwY0b EYJfJH30eFVx9BxQzqacL0EBXSjf4ic=; b=IiV86VgSTfB2Lw6RZc+zC2UIEpRN CsX/5w2UC70F6mBgPFLo0P7QV5uYL1TOoh7hHKAEbkwU037ZQ1MAoQs7oT2za+LH Du9YlOxS1jLQJ4wSLhPIGsgLDv/mU8571E+J1gT+0J/yVwS8TO8pcBP01/iVl+5d eujKIPuCtR/CTIiXsgYutTgcBsm/3h6uTieiiZkdt+7taPcXr8llUWkLp0srRAnn 1tSa88iaGi+2RbYNoz+eOcvzOfGrmctTqQCkBmV34VdMkFm+CtD6aG3DnlS8DYQ5 uNTf1z687L68srsux2YG8bPX3gSUXShPhaYKlw0Wg0bxu2zO3MN41GkcsA== Received: by lepiller.eu (OpenSMTPD) with ESMTPSA id 538a3b94 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Sun, 26 Feb 2023 08:24:08 +0000 (UTC) Date: Sun, 26 Feb 2023 09:23:55 +0100 From: Julien Lepiller To: help-guix@gnu.org, Andy Tai Subject: Re: package store directory in custom location User-Agent: K-9 Mail for Android In-Reply-To: References: Message-ID: <6C6B009D-BD02-458E-9707-23A016943AD1@lepiller.eu> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2a00:5884:8208::1; envelope-from=julien@lepiller.eu; helo=lepiller.eu X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.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, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1677399887; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=0oJ1E7l7AtVaqUP+/J2M1UaKTV3SjDoXzZzRAd4WEvE=; b=C0khEqQW8Xp9A4axx0wRIsojQY6LSATgKG47PNPGhToP5+aq+ToXPYue3zJNgSgVMSrT0g imyxiDMnoc9aJAV9J6BovZ8XoBJFYbtKiCUwWMx+md9wlcClJUCvhyjQ7d9YCPk7MPoN+v gYz5zFn4nz0QXQ2P7CQV8OIzYcrDTnDCJCEuhbBGM6kIasVKJ6Z27AuA9W7LIZUIFp737C 2/yH6A72r3mIehmQtjxj+nUor6lf0zWpswNq15FznIhDFqI1wW5xJjeV8nog9sJk/Msi0z 2826hNAZZMlbRTCqujojarSRN0bmInpTHZzkW6/QbMSzrylcTQqUXZgMq75jog== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=lepiller.eu header.s=dkim header.b=IiV86VgS; dmarc=pass (policy=none) header.from=lepiller.eu; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1677399887; a=rsa-sha256; cv=none; b=N5WsvREAxDFCgWCJvnOrPWIr4YeqLxGkfviM46hWaOcWUYRlonFD47sFop5lFVs06p0dOa EFO+cA6N/SuqqmuRLAgFOPldmm8canSMqMdt+R0fccLtkI1ukOFUPx49nn4ScYDV/8eNb7 iQQ2L9U3XoEQcgbNrInTt/1prBOFU6fHkl5nqMZJJ+sRFRrify2FD/gTZIJCw4InI8aaAs Ek0G5XXKSdw9y1fzCweTB6Ddq9W1CBHqJDFRbuhdT6oV8RzDb3vu08zF2IKhkvnIfU8lDR HP9NEFnTSIObJRpCi9fyfhdAT/R8rEMxHavHr0Gm4rTRkBpuSuSXhda03KFSbA== X-Spam-Score: -6.44 X-Migadu-Queue-Id: 106FB11C51 X-Migadu-Spam-Score: -6.44 X-Migadu-Scanner: scn1.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=lepiller.eu header.s=dkim header.b=IiV86VgS; dmarc=pass (policy=none) header.from=lepiller.eu; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" X-TUID: bsaTb6x7Xn7B Hi Andy, so you could change the store location, but it would just create the same = stone structure as /gnu/store elsewhere, with the same issues and no substi= tutes=2E Instead you could try to create a relocatable pack of python, and untar it= somewhere writable=2E There might be a small runtime penalty, but we're ta= lking about python anyway :) HTH! Le 26 f=C3=A9vrier 2023 02:03:01 GMT+01:00, Andy Tai a = =C3=A9crit=C2=A0: >Hi, is it possible to have a /gnu/store/ directory for a package in a >custom path? A usage scenario is, say, to have a python interpreter, >with its package directory that normally exists as >/gnu/store/, to be somewhere I specified, so it would be >possible to use that python with python's package manager to install >python modules as site packages specific to this python (as it is not >easy to have all python modules available as packages in Guix) > >If this python can only run from the /gnu/store/=2E=2E=2E directory, tryi= ng >to install site packages would normally fail (as /gnu/store/=2E=2E=2E is >read only to non root user) and not good practice anyway (as >/gnu/store/=2E=2E=2E is not meant to be user touched but only managed by >Guix) >