aboutsummaryrefslogtreecommitdiff
path: root/gnu/build/chromium-extension.scm
Commit message (Collapse)AuthorAge
* chromium-extension: Compute json at argument evaluation time.Josselin Poiret2023-12-27
| | | | | | | | | * gnu/build/chromium-extension.scm (make-chromium-extension): Make use of the make-signing-key procedure inside the argument field, making sure that it is not evaluated at file-load time. This would otherwise try to resolve gnutls when we can't guarantee it's defined because of dependency cycles. Change-Id: Ia7b13acfbca475c2df073e9a88fc8bb9264dd968
* gnu: modifying make-chromium-extension to rely on node-crx3.Nicolas Graves2022-07-20
| | | | | | | * gnu/build/chromium-extension.scm (make-crx): Lift Xorg and Chromium dependencies, rely on node-crx3 instead. Signed-off-by: Marius Bakke <marius@gnu.org>
* chromium-extension: Avoid another usage of the store-mapped /tmp.Marius Bakke2021-12-23
| | | | | * gnu/build/chromium-extension.scm (make-crx): Use a Chromium profile relative to the build directory instead of /tmp. While here, remove obsolete comment.
* chromium-extension: Build .crx files in a deterministic fashion.Marius Bakke2021-12-16
| | | | | | | * gnu/build/chromium-extension.scm (make-crx): Pass #:keep-mtime? #t to COPY-RECURSIVELY. Remove defunct FAKETIME workaround. While at it, pack the extension in the scratch working directory instead of the transient store-mapped /tmp.
* chromium-extension: Avoid usage of gcrypt at evaluation time.Marius Bakke2021-12-16
| | | | | * gnu/build/chromium-extension.scm (make-signing-key): Wrap builder in with-extensions, and compute the seed checksum at build time.
* chromium-extension: Reduce imported-modules scope.Marius Bakke2021-12-16
| | | | | | * gnu/build/chromium-extension.scm (make-crx): Delay with-imported-modules until the builder code. (crx->chromium-json): Remove needless define* while at it.
* chromium-extension: Simplify builder code.Marius Bakke2021-12-16
| | | | | | | | | | * gnu/build/chromium-extension.scm (chromium-json->profile-object): Remove variable. (file-sha256): New variable. (make-chromium-extension): Rename OUTPUT parameter to prevent conflict. Adjust other variable names for clarity. [inputs]: Clear. [arguments]: Inline and simplify the final transformation with a gexp.
* Add (gnu build chromium-extension).Marius Bakke2020-11-08
* gnu/build/chromium-extension.scm: New file. * gnu/local.mk (GNU_SYSTEM_MODULES): Adjust accordingly.