Subject: bug#61786: closed (Re: bug#61786: [PATCH] gnu: bqn: Add header files to lib output)

From: [email-masked] (GNU bug Tracking System)
Date: Sat, 11 Mar 2023 13:41:04 +0000

Your bug report

#61786: [PATCH] gnu: bqn: Add header files to lib output

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
61786: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=61786
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#61786: [PATCH] gnu: bqn: Add header files to lib output
From: 宋文武 <[email-masked]>
To: aecepoglu <[email-masked]>
Cc: [email-masked]
Date: Sat, 11 Mar 2023 21:41:02 +0800
List-Id: <debbugs-submit.debbugs.gnu.org>

aecepoglu <[email-masked]> writes:

> * gnu/packages/guix.scm (cbqn): Add include/bqnffi.h to lib output
Changed to gnu/packages/bqn.scm (cbqn): ...

Applied, thank you!

Subject: [PATCH] gnu: bqn: Add header files to lib output
From: aecepoglu <[email-masked]>
To: [email-masked]
Cc: aecepoglu <[email-masked]>
Date: Sat, 25 Feb 2023 11:54:29 +0000
List-Id: <debbugs-submit.debbugs.gnu.org>

* gnu/packages/guix.scm (cbqn): Add include/bqnffi.h to lib output
---
 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))
-- 
2.39.1