summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2024-04-07 09:31:43 +0300
committerEfraim Flashner <efraim@flashner.co.il>2024-04-07 09:31:43 +0300
commitf3460a82c84ffa06c3d1c7c095b91f8095c529e6 (patch)
treecdb1c5e1f964cfa4126245faa4bf3615fbce7b26 /gnu
parenteaccfececd0eec362b247efd47861e2118dd9dd8 (diff)
downloadguix-f3460a82c84ffa06c3d1c7c095b91f8095c529e6.tar.gz
gnu: quickjs: Remove pre-generated documentation.
* gnu/packages/javascript.scm (quickjs)[source]: Add snippet to remove
pre-generated documentation.

Change-Id: Ie616fb590ff6b9e6db6c7d6cccc79d029e8e3e14
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/javascript.scm11
1 files changed, 9 insertions, 2 deletions
diff --git a/gnu/packages/javascript.scm b/gnu/packages/javascript.scm
index c6e7443f85..8c5052ef76 100644
--- a/gnu/packages/javascript.scm
+++ b/gnu/packages/javascript.scm
@@ -2,7 +2,7 @@
 ;;; Copyright © 2017 Arun Isaac <arunisaac@systemreboot.net>
 ;;; Copyright © 2017, 2019, 2020, 2022, 2023 Ricardo Wurmus <rekado@elephly.net>
 ;;; Copyright © 2017, 2018, 2020, 2021 Tobias Geerinckx-Rice <me@tobias.gr>
-;;; Copyright © 2017-2020, 2022, 2023 Efraim Flashner <efraim@flashner.co.il>
+;;; Copyright © 2017-2020, 2022-2024 Efraim Flashner <efraim@flashner.co.il>
 ;;; Copyright © 2018 Nicolas Goaziou <mail@nicolasgoaziou.fr>
 ;;; Copyright © 2021 Pierre Neidhardt <mail@ambrevar.xyz>
 ;;; Copyright © 2021 Maxim Cournoyer <maxim.cournoyer@gmail.com>
@@ -833,7 +833,14 @@ roots, or wrestle with obscure build systems.")
                                   version ".tar.xz"))
               (sha256
                (base32
-                "06pywwpmfwjz225h59wf90q96a2fd66qfcw5xa6m6y9k9k7glnx4"))))
+                "06pywwpmfwjz225h59wf90q96a2fd66qfcw5xa6m6y9k9k7glnx4"))
+              (snippet
+               #~(begin (use-modules (guix build utils))
+                        (for-each delete-file
+                                  '("doc/quickjs.pdf"
+                                    "doc/quickjs.html"
+                                    "doc/jsbignum.pdf"
+                                    "doc/jsbignum.html"))))))
     (build-system gnu-build-system)
     (arguments
      (list #:make-flags