gnu: nmoldyn: Adjust for Guile 3.0.

* gnu/packages/chemistry.scm (nmoldyn)[arguments]: Provide explicit
destination in calls to FORMAT.
This commit is contained in:
Marius Bakke 2020-04-26 12:42:35 +02:00
parent 02de4b1da1
commit 30d0f7fa8f
No known key found for this signature in database
GPG key ID: A2A06DF2A33A54FA

View file

@ -277,16 +277,16 @@ (define-public nmoldyn
;; and Guix contains currently no free molecular viewer that
;; could be substituted.
(("PREFERENCES\\['acroread_path'\\] = ''")
(format "PREFERENCES['acroread_path'] = '~a'"
(format #f "PREFERENCES['acroread_path'] = '~a'"
(which "gv")))
(("PREFERENCES\\['ncdump_path'\\] = ''")
(format "PREFERENCES['ncdump_path'] = '~a'"
(format #f "PREFERENCES['ncdump_path'] = '~a'"
(which "ncdump")))
(("PREFERENCES\\['ncgen_path'\\] = ''")
(format "PREFERENCES['ncgen_path'] = '~a'"
(format #f "PREFERENCES['ncgen_path'] = '~a'"
(which "ncgen3")))
(("PREFERENCES\\['task_manager_path'\\] = ''")
(format "PREFERENCES['task_manager_path'] = '~a'"
(format #f "PREFERENCES['task_manager_path'] = '~a'"
(which "task_manager")))
;; Show documentation as PDF
(("PREFERENCES\\['documentation_style'\\] = 'html'")