aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorMaxim Cournoyer <maxim.cournoyer@gmail.com>2021-01-24 00:46:49 -0500
committerMaxim Cournoyer <maxim.cournoyer@gmail.com>2021-02-01 11:53:55 -0500
commit210a97cf7d2c40992d375dc9cffa7907d0441404 (patch)
tree083f7c3c25f35d4579cc59d147ebc8ea27d50729 /gnu/packages
parent5271099e824ce0650c9efc9dd536e2806a7b30b2 (diff)
downloadguix-210a97cf7d2c40992d375dc9cffa7907d0441404.tar.gz
guix-210a97cf7d2c40992d375dc9cffa7907d0441404.zip
gnu: python-matplotlib-documentation: Do not read PYTHONPATH.
* gnu/packages/python-xyz.scm (python-matplotlib-documentation): Delete trailing #t. [phases]{build}: Do not read PYTHONPATH from the environment.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/python-xyz.scm7
1 files changed, 2 insertions, 5 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 8ecf057166..c5bbc82c24 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -5175,9 +5175,7 @@ toolkits.")
(replace 'build
(lambda _
(chdir "doc")
- (setenv "PYTHONPATH"
- (string-append (getenv "PYTHONPATH")
- ":" (getcwd) "/../examples/units"))
+ (setenv "PYTHONPATH" "../examples/units")
(substitute* "conf.py"
;; Don't use git.
(("^SHA = check_output.*")
@@ -5212,8 +5210,7 @@ toolkits.")
"./matplotlib-figures")
(invoke "makeinfo" "--no-split"
"-o" "matplotlib.info" "matplotlib.texi"))
- (install-file "build/texinfo/matplotlib.info" info))
- #t)))))
+ (install-file "build/texinfo/matplotlib.info" info)))))))
(home-page (package-home-page python-matplotlib))
(synopsis "Documentation for the python-matplotlib package")
(description (package-description python-matplotlib))