[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
40/163: gnu: manuskript: Wrap with the new Guix PYTHONPATH.
From: |
guix-commits |
Subject: |
40/163: gnu: manuskript: Wrap with the new Guix PYTHONPATH. |
Date: |
Mon, 25 Jan 2021 02:01:25 -0500 (EST) |
apteryx pushed a commit to branch cu/farewell-to-pythonpath
in repository guix.
commit 485f62c3e88d3b78875de27974982a1f72967f96
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Fri Jan 22 22:55:01 2021 -0500
gnu: manuskript: Wrap with the new Guix PYTHONPATH.
* gnu/packages/text-editors.scm (manuskript)
[phases]: Delete trailing #t.
{install}: Wrap with the new Guix PYTHONPATH.
---
gnu/packages/text-editors.scm | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/gnu/packages/text-editors.scm b/gnu/packages/text-editors.scm
index 81915ca..379ae56 100644
--- a/gnu/packages/text-editors.scm
+++ b/gnu/packages/text-editors.scm
@@ -628,7 +628,7 @@ environment with Markdown markup.")
(delete 'configure)
(delete 'build)
(replace 'install
- (lambda* (#:key outputs #:allow-other-keys)
+ (lambda* (#:key inputs outputs #:allow-other-keys)
(let* ((out (assoc-ref outputs "out"))
(share (string-append out "/share/manuskript")))
;; Install data.
@@ -648,9 +648,10 @@ environment with Markdown markup.")
;; Wrap executable in "$out/share/manuskript/bin" and
;; link to it from "$out/bin".
(let ((bin (string-append out "/bin"))
- (executable (string-append share "/bin/manuskript")))
+ (executable (string-append share "/bin/manuskript"))
+ (pythonpath (guix-pythonpath inputs)))
(wrap-program executable
- (list "PYTHONPATH" 'prefix (list (getenv "PYTHONPATH"))))
+ (list pythonpath 'prefix (list (getenv pythonpath))))
(mkdir-p bin)
(with-directory-excursion bin
(symlink (string-append share "/bin/manuskript")
@@ -670,8 +671,7 @@ environment with Markdown markup.")
#:terminal #f
#:type "Application"
#:icon "manuskript"
- #:categories "Office;WordProcessor;"))
- #t))))))
+ #:categories "Office;WordProcessor;"))))))))
(inputs
`(("pandoc" ,pandoc)
("python-lxml" ,python-lxml)
- 115/163: gnu: orca: Wrap with the new Guix PYTHONPATH., (continued)
- 115/163: gnu: orca: Wrap with the new Guix PYTHONPATH., guix-commits, 2021/01/25
- 82/163: gnu: inkscape-1.0: Wrap with the new Guix PYTHONPATH., guix-commits, 2021/01/25
- 114/163: gnu: gnome-todo: Wrap with the new Guix PYTHONPATH., guix-commits, 2021/01/25
- 123/163: gnu: python-typed-ast: Do not set PYTHONPATH., guix-commits, 2021/01/25
- 137/163: gnu: python-flake8-polyfill: Do not set PYTHONPATH., guix-commits, 2021/01/25
- 138/163: gnu: python-msgpack: Do not set PYTHONPATH., guix-commits, 2021/01/25
- 19/163: gnu: python-screed: Adjust following Python build system changes., guix-commits, 2021/01/25
- 43/163: gnu: ghmm: Do not set PYTHONPATH., guix-commits, 2021/01/25
- 67/163: gnu: freecad: Wrap with the new Guix PYTHONPATH., guix-commits, 2021/01/25
- 61/163: gnu: python-django-appconf: Do not alter PYTHONPATH., guix-commits, 2021/01/25
- 40/163: gnu: manuskript: Wrap with the new Guix PYTHONPATH.,
guix-commits <=
- 72/163: gnu: python-hyperkitty: Do not set PYTHONPATH., guix-commits, 2021/01/25
- 79/163: gnu: gdk-pixbuf: Update to 2.42.2., guix-commits, 2021/01/25
- 142/163: gnu: python-libcst: Do not set PYTHONPATH., guix-commits, 2021/01/25
- 140/163: gnu: python-tblib: Do not set PYTHONPATH., guix-commits, 2021/01/25
- 158/163: gnu: python-jsonpickle: Do not set PYTHONPATH., guix-commits, 2021/01/25
- 159/163: gnu: python-databricks-cli: Do not set PYTHONPATH., guix-commits, 2021/01/25
- 161/163: gnu: python-flask-wtf: Do not set PYTHONPATH., guix-commits, 2021/01/25
- 49/163: gnu: cups: Wrap with the new Guix PYTHONPATH., guix-commits, 2021/01/25
- 75/163: gnu: roguebox-adventures: Wrap with the new Guix PYTHONPATH., guix-commits, 2021/01/25
- 89/163: gnu: python-fenics-fiat: Do not alter PYTHONPATH., guix-commits, 2021/01/25