gnu: next: Compress the executable.

* gnu/packages/web-browsers.scm (next)[arguments]: Compressing the executable
  brings it from about 95 MiB to 22 MiB.
This commit is contained in:
Pierre Neidhardt 2019-09-05 11:53:52 +02:00
parent 33a42f67ce
commit 0e8b91dbc4
No known key found for this signature in database
GPG key ID: 9BDCF497A4BBCC7F

View file

@ -480,6 +480,7 @@ (define expected-fasl (string-append
(build-program (build-program
(string-append (assoc-ref outputs "out") "/bin/next") (string-append (assoc-ref outputs "out") "/bin/next")
outputs outputs
#:compress? #t
#:entry-program '((next:entry-point) 0)))) #:entry-program '((next:entry-point) 0))))
(add-before 'build 'install-assets (add-before 'build 'install-assets
;; Since the ASDF build system generates a new .asd with a ;; Since the ASDF build system generates a new .asd with a