GNU bug report logs - #61786
[PATCH] gnu: bqn: Add header files to lib output

Previous Next

Package: guix-patches;

Reported by: aecepoglu <aecepoglu <at> fastmail.fm>

Date: Sat, 25 Feb 2023 12:03:01 UTC

Severity: normal

Tags: patch

Done: 宋文武 <iyzsong <at> envs.net>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: aecepoglu <aecepoglu <at> fastmail.fm>
To: 61786 <at> debbugs.gnu.org
Cc: aecepoglu <aecepoglu <at> fastmail.fm>
Subject: [bug#61786] [PATCH] gnu: bqn: Add header files to lib output
Date: Sat, 25 Feb 2023 11:54:29 +0000
* 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





This bug report was last modified 2 years and 69 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.