diff options
Diffstat (limited to 'gn/packages/genenetwork.scm')
-rw-r--r-- | gn/packages/genenetwork.scm | 39 |
1 files changed, 19 insertions, 20 deletions
diff --git a/gn/packages/genenetwork.scm b/gn/packages/genenetwork.scm index 8454410..5987af8 100644 --- a/gn/packages/genenetwork.scm +++ b/gn/packages/genenetwork.scm @@ -501,26 +501,25 @@ Graphical Fragment Assembly} files and related formats.") #t)) (add-after 'install 'generate-graph (lambda* (#:key inputs outputs #:allow-other-keys) - (begin - (call-with-output-file - (string-append - (assoc-ref outputs "out") - "/lib/python3.8/site-packages" - "/wqflask/dependency-graph.html") - (lambda (port) - (format - port "~a" - ,(call-with-output-string - (lambda (p) - (with-output-to-port p - (lambda () - (run-with-store - (open-connection) - (export-graph - (list this-package) - p - #:node-type %package-node-type - #:backend %d3js-backend)))))))))))) + (call-with-output-file + (string-append + (assoc-ref outputs "out") + "/lib/python3.8/site-packages" + "/wqflask/dependency-graph.html") + (lambda (port) + (format + port "~a" + ,(call-with-output-string + (lambda (p) + (with-output-to-port p + (lambda () + (run-with-store + (open-connection) + (export-graph + (list this-package) + p + #:node-type %package-node-type + #:backend %d3js-backend))))))))))) (add-after 'install 'generate-dependency-file (lambda* (#:key inputs outputs #:allow-other-keys) (call-with-output-file |