From d5e17162397a260f00be5d437c2405c7dfb52076 Mon Sep 17 00:00:00 2001
From: Ricardo Wurmus <rekado@elephly.net>
Date: Thu, 16 Mar 2017 13:39:53 +0100
Subject: [PATCH] gnu: ncbi-vdb: Install configuration files.

* gnu/packages/bioinformatics.scm (ncbi-vdb)[arguments]: Add phase
"install-configuration-files".
---
 gnu/packages/bioinformatics.scm | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
index eb74da6b284..220e352ea70 100644
--- a/gnu/packages/bioinformatics.scm
+++ b/gnu/packages/bioinformatics.scm
@@ -4519,6 +4519,14 @@ (define-public ncbi-vdb
              (copy-recursively "interfaces"
                                (string-append (assoc-ref outputs "out")
                                               "/include"))
+             #t))
+         ;; These files are needed by sra-tools.
+         (add-after 'install 'install-configuration-files
+           (lambda* (#:key outputs #:allow-other-keys)
+             (let ((target (string-append (assoc-ref outputs "out") "/kfg")))
+               (mkdir target)
+               (install-file "libs/kfg/default.kfg" target)
+               (install-file "libs/kfg/certs.kfg" target))
              #t)))))
     (inputs
      `(("libxml2" ,libxml2)
-- 
GitLab