Archived
1
0
Fork 0

gnu: repo2docker: Use GUIX_PYTHONPATH.

* gnu/packages/jupyter.scm (repo2docker)[arguments]: Use GUIX_PYTHONPATH
instead of PYTHONPATH.
This commit is contained in:
Ricardo Wurmus 2021-11-19 23:20:28 +01:00
parent 3b2553ee4c
commit cf649c1e0d
No known key found for this signature in database
GPG key ID: 197A5888235FACAC

View file

@ -420,9 +420,9 @@ nix-shell-wrapper|repo2docker-entrypoint)")
(let* ((out (assoc-ref outputs "doc")) (let* ((out (assoc-ref outputs "doc"))
(doc (string-append out "/share/doc/" (doc (string-append out "/share/doc/"
,name))) ,name)))
(setenv "PYTHONPATH" (setenv "GUIX_PYTHONPATH"
(string-append (getcwd) ":" (string-append (getcwd) ":"
(getenv "PYTHONPATH"))) (getenv "GUIX_PYTHONPATH")))
(with-directory-excursion "docs" (with-directory-excursion "docs"
(invoke "make" "html") (invoke "make" "html")
(copy-recursively "build/html" (copy-recursively "build/html"