aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoraecepoglu <aecepoglu@fastmail.fm>2023-02-25 11:54:29 +0000
committer宋文武 <iyzsong@member.fsf.org>2023-03-11 21:38:11 +0800
commit7376424844e0dc1103a9d86799c2fb9bd4aa35eb (patch)
treeeac7452d178305ac67f984f7438c852a2a340b6b
parent60a211ec705ac98483d76da7f2523f2b8966343a (diff)
downloadguix-7376424844e0dc1103a9d86799c2fb9bd4aa35eb.tar.gz
guix-7376424844e0dc1103a9d86799c2fb9bd4aa35eb.zip
gnu: cbqn: Add header files to lib output.
* gnu/packages/bqn.scm (cbqn)[arguments]: Add include/bqnffi.h to lib output. Signed-off-by: 宋文武 <iyzsong@member.fsf.org>
-rw-r--r--gnu/packages/bqn.scm7
1 files 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 @@ by APL.")
(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))