unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: "Ludovic Courtès" <ludo@gnu.org>
To: Lars-Dominik Braun <lars@6xq.net>
Cc: Alexander Asteroth <alexander.asteroth@h-brs.de>, 52139@debbugs.gnu.org
Subject: bug#52139: jupyter trying to modify /gnu/store
Date: Sun, 12 Dec 2021 22:41:21 +0100	[thread overview]
Message-ID: <87k0g94i2m.fsf@gnu.org> (raw)
In-Reply-To: <YbRxLXNkQ4/URUDp@noor.fritz.box> (Lars-Dominik Braun's message of "Sat, 11 Dec 2021 10:36:45 +0100")

[-- Attachment #1: Type: text/plain, Size: 672 bytes --]

Hi Lars,

Lars-Dominik Braun <lars@6xq.net> skribis:

>> The JUPYTER_CONFIG_DIR search path was added to ‘python-jupyter-core’ in
>> commit 1683e9d9677d54f695a54fc44ed309287989fc34.  Lars, what are you
>> thoughts?
> Please *do not* remove this environment variable. It is required, because
> packages like jupyterlab drop a config file into this directory.

But precisely: as Alexander wrote, when JUPYTER_CONFIG_DIR points to the
store, jupyterlab cannot drop a config file there.  Or am I missing
something?

BTW, if JUPYTER_CONFIG_DIR is meant to contain a directory name, as
opposed to a colon-separated search path, we should make this change:


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: Type: text/x-patch, Size: 524 bytes --]

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index b3a350aca4..57f66e18f1 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -8479,6 +8479,7 @@ (define-public python-jupyter-core
     (native-search-paths
      (list (search-path-specification
             (variable "JUPYTER_CONFIG_DIR")
+            (separator #f)                        ;single entry
             (files '("etc/jupyter")))
            (search-path-specification
             (variable "JUPYTER_PATH")

[-- Attachment #3: Type: text/plain, Size: 30 bytes --]


WDYT?

Thanks,
Ludo’.

  parent reply	other threads:[~2021-12-12 21:42 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-27 10:14 bug#52139: jupyter trying to modify /gnu/store Alexander Asteroth
2021-11-27 16:31 ` Alexander Asteroth
2021-12-10 13:27   ` Ludovic Courtès
2021-12-10 13:59     ` Alexander Asteroth
2021-12-11  9:36     ` Lars-Dominik Braun
2021-12-11 12:46       ` Alexander Asteroth
2021-12-12 21:41       ` Ludovic Courtès [this message]
2021-12-13  8:20         ` Lars-Dominik Braun
2021-12-14 15:06           ` Ludovic Courtès
2021-12-16  9:16             ` Lars-Dominik Braun
     [not found]       ` <8735mzpaep.fsf@h-brs.de>
2021-12-21 13:48         ` Lars-Dominik Braun
2021-11-28  1:08 ` bug#52139: (no subject) jgart

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87k0g94i2m.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=52139@debbugs.gnu.org \
    --cc=alexander.asteroth@h-brs.de \
    --cc=lars@6xq.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).