From 7376424844e0dc1103a9d86799c2fb9bd4aa35eb Mon Sep 17 00:00:00 2001 From: aecepoglu Date: Sat, 25 Feb 2023 11:54:29 +0000 Subject: [PATCH] gnu: cbqn: Add header files to lib output. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/bqn.scm (cbqn)[arguments]: Add include/bqnffi.h to lib output. Signed-off-by: 宋文武 --- gnu/packages/bqn.scm | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/gnu/packages/bqn.scm b/gnu/packages/bqn.scm index 9b44ea7992..4d03385d21 100644 --- a/gnu/packages/bqn.scm +++ b/gnu/packages/bqn.scm @@ -193,11 +193,14 @@ (define-public cbqn (let* ((bin (string-append (assoc-ref outputs "out") "/bin")) (lib (string-append (assoc-ref outputs "lib") - "/lib"))) + "/lib")) + (include (string-append (assoc-ref outputs "lib") + "/include"))) (mkdir-p bin) (rename-file "BQN" "bqn") (install-file "bqn" bin) - (install-file "libcbqn.so" lib)))))))) + (install-file "libcbqn.so" lib) + (install-file "include/bqnffi.h" include)))))))) (native-inputs (list dbqn bqn-sources libffi))