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>
This commit is contained in:
aecepoglu 2023-02-25 11:54:29 +00:00 committed by 宋文武
parent 60a211ec70
commit 7376424844
No known key found for this signature in database
GPG key ID: D415BF253B515976

View file

@ -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))