summary refs log tree commit diff
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2020-03-04 10:48:59 +0200
committerEfraim Flashner <efraim@flashner.co.il>2020-03-04 10:52:53 +0200
commit4beac3a8983906b83c45e18fa05f418822643909 (patch)
treecc9a108dc55725c26e93696ffa3f6d6d63879f82
parenta18ed1711f4762649fbaa5e8d69e536b4ba22fae (diff)
downloadguix-4beac3a8983906b83c45e18fa05f418822643909.tar.gz
gnu: unicode-cldr-common: Use copy-build-system.
* gnu/packages/unicode.scm (unicode-cldr-common)[build-system]: Switch
to copy-build-system.
[arguments]: Adjust accordingly.
-rw-r--r--gnu/packages/unicode.scm13
1 files changed, 3 insertions, 10 deletions
diff --git a/gnu/packages/unicode.scm b/gnu/packages/unicode.scm
index 44ef279144..d6fe93c2e0 100644
--- a/gnu/packages/unicode.scm
+++ b/gnu/packages/unicode.scm
@@ -120,17 +120,10 @@ Unicode Technological Standard #51.")
        (sha256
         (base32
          "0hxsc3j5zb32hmiaj0r3ajchmklx6zng6zlh1ca6s9plq5b9w9q7"))))
-    (build-system trivial-build-system)
+    (build-system copy-build-system)
     (arguments
-     `(#:modules ((guix build utils))
-       #:builder
-       (let ((out (string-append %output "/share/unicode/cldr/common")))
-         (use-modules (guix build utils))
-         (mkdir-p out)
-         (copy-recursively (string-append (assoc-ref %build-inputs "source")
-                                          "/common")
-                           out)
-         #t)))
+     '(#:install-plan
+       '(("common" "share/unicode/cldr/"))))
     (home-page "https://www.unicode.org")
     (synopsis "Locale data repository")
     (description