gnu: nmoldyn: Adjust for Guile 3.0.
authorMarius Bakke <mbakke@fastmail.com>
Sun, 26 Apr 2020 10:42:35 +0000 (12:42 +0200)
committerMarius Bakke <mbakke@fastmail.com>
Sun, 26 Apr 2020 11:31:16 +0000 (13:31 +0200)
* gnu/packages/chemistry.scm (nmoldyn)[arguments]: Provide explicit
destination in calls to FORMAT.

gnu/packages/chemistry.scm

index 2b3b5d7..855ae2d 100644 (file)
@@ -277,16 +277,16 @@ analogy is that InChI is the bar-code for chemistry and chemical structures.")
                ;; 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'")