diff options
| author | Efraim Flashner <efraim@flashner.co.il> | 2022-05-26 20:36:11 +0300 |
|---|---|---|
| committer | Efraim Flashner <efraim@flashner.co.il> | 2022-05-28 22:01:09 +0300 |
| commit | 3acb615a3828207d55f52873b669c6917a16e10d (patch) | |
| tree | 21cde82bc8dea5c38326eef3844741efa7293126 /gnu | |
| parent | e7fa95dc46e984cdd3b47d89405b8ba304e73dec (diff) | |
gnu: libunistring: Rewrite using gexps.
* gnu/packages/libunistring.scm (libunistring)[arguments]: Rewrite using
gexps. Remove trailing #t.
Diffstat (limited to 'gnu')
| -rw-r--r-- | gnu/packages/libunistring.scm | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/gnu/packages/libunistring.scm b/gnu/packages/libunistring.scm index 30e5048b33c..eccd053a358 100644 --- a/gnu/packages/libunistring.scm +++ b/gnu/packages/libunistring.scm | |||
| @@ -27,6 +27,7 @@ | |||
| 27 | #:use-module (guix licenses) | 27 | #:use-module (guix licenses) |
| 28 | #:use-module (guix packages) | 28 | #:use-module (guix packages) |
| 29 | #:use-module (guix download) | 29 | #:use-module (guix download) |
| 30 | #:use-module (guix gexp) | ||
| 30 | #:use-module (guix build-system gnu) | 31 | #:use-module (guix build-system gnu) |
| 31 | #:use-module (gnu packages) | 32 | #:use-module (gnu packages) |
| 32 | #:use-module (gnu packages base)) | 33 | #:use-module (gnu packages base)) |
| @@ -50,17 +51,16 @@ | |||
| 50 | ;; Work around parallel build issue whereby C files may be compiled before | 51 | ;; Work around parallel build issue whereby C files may be compiled before |
| 51 | ;; config.h is built: see <http://hydra.gnu.org/build/59381/nixlog/2/raw> and | 52 | ;; config.h is built: see <http://hydra.gnu.org/build/59381/nixlog/2/raw> and |
| 52 | ;; <http://lists.openembedded.org/pipermail/openembedded-core/2012-April/059850.html>. | 53 | ;; <http://lists.openembedded.org/pipermail/openembedded-core/2012-April/059850.html>. |
| 53 | '(#:parallel-build? #f | 54 | (list |
| 54 | #:phases (modify-phases %standard-phases | 55 | #:parallel-build? #f |
| 55 | (add-after 'install 'move-static-library | 56 | #:phases |
| 56 | (lambda* (#:key outputs #:allow-other-keys) | 57 | #~(modify-phases %standard-phases |
| 57 | (let ((out (assoc-ref outputs "out")) | 58 | (add-after 'install 'move-static-library |
| 58 | (static (assoc-ref outputs "static"))) | 59 | (lambda* (#:key outputs #:allow-other-keys) |
| 59 | (with-directory-excursion (string-append out "/lib") | 60 | (with-directory-excursion (string-append #$output "/lib") |
| 60 | (install-file "libunistring.a" | 61 | (install-file "libunistring.a" |
| 61 | (string-append static "/lib")) | 62 | (string-append #$output:static "/lib")) |
| 62 | (delete-file "libunistring.a") | 63 | (delete-file "libunistring.a"))))))) |
| 63 | #t))))))) | ||
| 64 | (synopsis "C library for manipulating Unicode strings") | 64 | (synopsis "C library for manipulating Unicode strings") |
| 65 | (description | 65 | (description |
| 66 | "GNU libunistring is a library providing functions to manipulate | 66 | "GNU libunistring is a library providing functions to manipulate |
