summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* scripts: lint: Add 'whole-file' option with ordering lint.issue-70499Herman Rimm13 days
| | | | | | | | | * guix/scripts/lint.scm (show-help): Describe option. (%options): Add 'whole-file' option. (guix-lint): Lint (order of) packages in files. * doc/guix.texi (Invoking guix lint): Document option. Change-Id: I52b48a9a6982d0c4a03416e3d070887c64716485
* ui: Make 'user-module' parameter of 'load*' optional.Herman Rimm13 days
| | | | | | * guix/ui.scm (load*): Make 'user-module' paramater optional. Change-Id: I4ebf854cd48bb8944bd70ac1c3ece4476fd6710c
* guix: Move ‘package-location<?’ to (guix packages).Herman Rimm13 days
| | | | | | | * guix/scripts/style.scm (package-location<?): Move to… * guix/packages.scm (package-location<?): … here. Change-Id: I8ebb37c261a1bb3fa5772177b27fd62a2553e318
* services: guix: Use Shepherd 0.10 API for actions.base-for-issue-70800base-for-issue-70798base-for-issue-70499Ludovic Courtès14 days
| | | | | | | | | | The ‘action’ method was deprecated in Shepherd 0.10.0. * gnu/services/base.scm (shepherd-set-http-proxy-action) (shepherd-discover-action): Use ‘perform-service-action’ instead of the now-deprecated ‘action’ method. Change-Id: Ibe1c79a44148596292c2c8907011ec787f8a9ddd
* packages: ‘sanitize-inputs’ does not add labels when unnecessary.Ludovic Courtès14 days
| | | | | | | | | | | | | | Fixes a bug introduced in 402d0a9b9d290a2e3c549932c8d7262622c58ce1 whereby labels would be added in cases like: (inputs (list `("label" ,whatever))) This idiom is found for example in the ‘nmon’ package. * guix/packages.scm (add-input-labels): Call ‘maybe-add-input-labels’ instead of (map add-input-label …). Change-Id: I3e86d4607f19482a4e461ef8e7a20cde2a41ead7
* gnu: guix-configuration: Improve offload build-machines.Ian Eure2024-05-04
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It’s currently difficult to programmatically add a build-machine, because the `service-extension' mechanism is the only facility which can do that. It relies on the `guix-service-type', ala: (service-extension guix-service-type (guix-extension (build-machines (list ...)))) ...but `guix-service-type' is already instantiated as part of `%base-services', and replacing it may lose other configuration, like substitute servers and authorized keys. Additionally, a default value of `#f' for the build-machines field requires guarding uses of the field with: (or (guix-build-machines config) '()) Changing the default to be the empty list avoids that. One can now add build-machines with code such as: (modify-services %base-services (guix-service-type config => (guix-configuration (inherit config) (authorized-keys (cons %build-machine-key (guix-configuration-authorized-keys config))) (build-machines (cons #~(build-machine ...) (guix-configuration-build-machines config)))))) * gnu/services/base.scm (guix-configuration): Rename `guix-build-machines' to `guix-configuration-build-machines' and export it. Change the default from `#f' to the empty list. * gnu/services/base.scm (guix-activation): Update the build-machines test and reverse the conditions. Change-Id: I6780c6a5579fd9d4b4f22ee2b2bf7ba7a0454407 Signed-off-by: Ludovic Courtès <ludo@gnu.org>
* gnu: gnucash: Update to 5.6.Steve George2024-05-04
| | | | | | | * gnu/packages/gnucash.scm (gnucash): Update to 5.6. Change-Id: I3646082d628470327fbd9deec6111de8c1eec921 Signed-off-by: Ludovic Courtès <ludo@gnu.org>
* gnu: perl-finance-quote: Update perl-finance-quote.Steve George2024-05-04
| | | | | | | | | | | * gnu/packages/web.scm (perl-finance-quote): Update to 1.59. [source] remove patch * gnu/packages/patches/perl-finance-quote-unuse-mozilla-ca.patch: Remove file. Change-Id: I3646082d628470327fbd9deec6111de8c1eec921 Change-Id: Ibe50f9736bcbe4e628c05f86c0e0be8bd335d4c8 Signed-off-by: Ludovic Courtès <ludo@gnu.org>
* gnu: Add perl-spreadsheet-xlsx.Steve George2024-05-04
| | | | | | | * gnu/packages/perl.scm (perl-spreadsheet-xlsx): New variable. Change-Id: Iec4fc26945bd2f154587d4b13b593fd947bb0e5a Signed-off-by: Ludovic Courtès <ludo@gnu.org>
* gnu: Add perl-spreadsheet-parseexcel.Steve George2024-05-04
| | | | | | | * gnu/packages/perl.scm (perl-spreadsheet-parseexcel): New variable. Change-Id: I0dfbf49f4b8b1865a738edc805d3dc83b038a124 Signed-off-by: Ludovic Courtès <ludo@gnu.org>
* gnu: Add perl-digest-perl-md5.Steve George2024-05-04
| | | | | | | * gnu/packages/perl.scm (perl-digest-perl-md5): New variable. Change-Id: Ic656fef7bbc77790d114812f0c9dcafa1586e357 Signed-off-by: Ludovic Courtès <ludo@gnu.org>
* gnu: Add perl-html-tokeparser-simple.Steve George2024-05-04
| | | | | | | * gnu/packages/web.scm (perl-html-tokeparser-simple): New variable. Change-Id: If779dbe29de05697d87143b38d986d5ff7fa2c8f Signed-off-by: Ludovic Courtès <ludo@gnu.org>
* gnu: Add perl-sub-override.Steve George2024-05-04
| | | | | | | | | | | | * gnu/packages/crates-io.scm (perl-sub-override): New variable. Change-Id: I5a366862bb5bfd777094e2d58239d50aad95577c -- >8 -- Originally part of https://issues.guix.gnu.org/44447 Change-Id: Ib4542ceedcff114e1184fc8bafac0f76985b78be Signed-off-by: Ludovic Courtès <ludo@gnu.org>
* gnu: Add perl-string-util.Steve George2024-05-04
| | | | | | | * gnu/packages/perl.scm (perl-string-util): New variable. Change-Id: Iaef13963efb3d795bcc0c16bcdd72c112894f886 Signed-off-by: Ludovic Courtès <ludo@gnu.org>
* gnu: Add perl-web-scraper.Steve George2024-05-04
| | | | | | | * gnu/packages/web.scm (perl-web-scraper): New variable. Change-Id: I3d0a476ca6c09bc20391303f99b260410f16de65 Signed-off-by: Ludovic Courtès <ludo@gnu.org>
* gnu: Add perl-html-treebuilder-xpath.Steve George2024-05-04
| | | | | | | * gnu/packages/web.scm (perl-html-treebuilder-xpath): New variable. Change-Id: I4069eae36a8c49a507e89c18fed90e0e53fdde4d Signed-off-by: Ludovic Courtès <ludo@gnu.org>
* gnu: Add perl-html-selector-xpath.Steve George2024-05-04
| | | | | | | * gnu/packages/web.scm (perl-html-selector-xpath): New variable. Change-Id: Ib4ccaf4e7f5fdbb90118d6ba16a478be26bbed84 Signed-off-by: Ludovic Courtès <ludo@gnu.org>
* gnu: aqbanking: Update to 6.5.4.Steve George2024-05-04
| | | | | | | * gnu/packages/gnucash (aqbanking): Update to 6.5.4. Change-Id: I8d10562e1fc8517bee946792ad1ac901a26137d5 Signed-off-by: Ludovic Courtès <ludo@gnu.org>
* gnu: gwenhywfar: Update to 5.10.2.Steve George2024-05-04
| | | | | | | | | | | * gnu/packages/gnucash.scm (gwenhywfar): Update to 5.10.2. [inputs]: add libxml2. [arguments]: <configure-flags>: Remove flag that's not recognised --with-openssl-includes; add --with-libxml2-code, --enable-system-certs and --disable-binreloc Change-Id: I4085779e3ed7ecb621dd3d0b5427e92962466033 Signed-off-by: Ludovic Courtès <ludo@gnu.org>
* services: cuirass: Remove use-substitutes? configuration option.Ahmad Draidi2024-05-04
| | | | | | | | | | | | | As of Cuirass commit 9a1452ee021c9f773424961cfeef47ca0b7c5c5a, this option seems to be unused and kept for back compatibility there. * gnu/services/cuirass.scm (<cuirass-configuration>): Remove use-substitutes? field. (cuirass-shepherd-service): Remove the option. * doc/guix.texi (Continuous Integration): Remove option documentation. Change-Id: I933550ce76eecdf918b07891aa8212fd30a7c87e Signed-off-by: Ludovic Courtès <ludo@gnu.org>
* services: cuirass: Add new configuration options.Ahmad Draidi2024-05-04
| | | | | | | | | | * gnu/services/cuirass.scm (<cuirass-configuration>): Add ttl and threads fields. (cuirass-shepherd-service): Handle the new options. * doc/guix.texi (Continuous Integration): Document them. Change-Id: I4387fbd7bf6766f4a54801f35c7ed82ce4eb9645 Signed-off-by: Ludovic Courtès <ludo@gnu.org>
* services: cuirass: Use separate extra options for cuirass web process.Ahmad Draidi2024-05-04
| | | | | | | | | | | | | | | Currently, "extra-options" is passed to both "cuirass register" and "cuirass web" processes. This makes it impractical since the extra parameters have to be intended for and supported by both processes. * gnu/services/cuirass.scm (<cuirass-configuration>): Add a web-extra-options field. (cuirass-shepherd-service): Replace extra-options with web-extra-options for cuirass web. * doc/guix.texi (Continuous Integration): Document the changes. Change-Id: Iba79c559ea8267aaf8f25248f3d18ed7b352cb60 Signed-off-by: Ludovic Courtès <ludo@gnu.org>
* packages: Reduce code bloat due to list allocation in input fields.Ludovic Courtès2024-05-04
| | | | | | | * guix/packages.scm (add-input-labels): New procedure. (sanitize-inputs): Add case for (list …). Change-Id: Ice8241508ded51efd38867b97ca19c262b8c4363
* packages: ‘define-public’ replacement calls ‘module-export!’ directly.Ludovic Courtès2024-05-04
| | | | | | | | | | This reduces code bloat and loading overhead for package modules, which use ‘define-public’ extensively. * guix/packages.scm (define-public*): Use ‘define’ followed by ‘module-export!’ directly instead of ‘define-public’. Change-Id: I7f56d46b391c1e3eeeb0b9a08a9d34b5de341245
* records: Do not inline the constructor.Ludovic Courtès2024-05-04
| | | | | | | | | | | | | | | | Struct initialization uses one instruction per field, which contributes to code bloat in the case of package modules. With this change, the ‘.rtl-text’ section of ‘gnu/packages/tex.go’ goes from 7,334,508 B to 6,356,592 B (-13%; -7% on the whole file size), which alone is still larger than the source file (4,2 MB). * guix/records.scm (make-syntactic-constructor)[record-inheritance]: Use CTOR instead of ‘make-struct/no-tail’. Pass ABI-COOKIE as the first argument to CTOR. (define-record-type*): Define CTOR-PROCEDURE and pass it to ‘make-syntactic-constructor’. Change-Id: Ifd7b4e884e9fbf21c43fb4c3ad963126ef5cb476
* packages: Reduce bloat induced by ‘sanitize-inputs’.Ludovic Courtès2024-05-04
| | | | | | | | | | | At -O1, peval does the bulk of the optimization work and it cannot reduce things like (null? (list 1 2)), unlike what happens in CPS at -O2. Thus, reduce the part of ‘sanitize-inputs’ that’s inlined. * guix/packages.scm (maybe-add-input-labels): New procedure. (sanitize-inputs): Turn into a macro; use ‘maybe-add-input-labels’. Change-Id: Id2283bb5a2f5d714722200bdcfe0b0bfa606923f
* records: Do not inline throws for ABI mismatches.Ludovic Courtès2024-05-04
| | | | | | | * guix/records.scm (record-abi-mismatch-error): New procedure. (abi-check): Use it. Change-Id: I49936599716e117b8fbf26fb9d8f462bbbb8e88b
* gnu: gmime: Update to 3.2.14.base-for-issue-70787Danny Milosavljevic2024-05-04
| | | | | | | * gnu/packages/mail.scm (gmime): Update to 3.2.14. [native-inputs]: Replace autoconf by autoconf-2.71. Change-Id: If72864085d085e55883ea1474b1c05ca1610d21a
* gnu: cava: Update to 0.10.1.Oleg Pykhalov2024-05-04
| | | | | | | | * gnu/packages/audio.scm (cava)[version]: Update to 0.10.1. [native-inputs]: Add pkg-config. [inputs]: Add alsa-lib and pipewire. Change-Id: Iffa80b22199a032111ca06e8ed583139f35f2fab
* gnu: linux-libre 6.1: Update to 6.1.89.Wilko Meyer2024-05-04
| | | | | | | | * gnu/packages/linux.scm (linux-libre-6.1-version): Update to 6.1.89. (linux-libre-6.1-pristine-source): Update hashes. Change-Id: Id48a19cc0d59b11bf17179eb5dd860ed37ac35dc Signed-off-by: Leo Famulari <leo@famulari.name>
* gnu: emacs-lsp-metals: Update to 1.2.0-1.01060e9.base-for-issue-70772base-for-issue-70770base-for-issue-70763base-for-issue-67613Nicolas Goaziou2024-05-02
| | | | | | * gnu/packages/emacs-xyz.scm (emacs-lsp-metals): Update to 1.2.0-1.01060e9. Change-Id: I6d396290aa0935a5c1cba91c95313df28c1c6949
* gnu: dezyne: Update to 2.18.2.Janneke Nieuwenhuizen2024-05-02
| | | | | | * gnu/packages/dezyne.scm (dezyne)[version,source]: Update to 2.18.2. Change-Id: I604b4dc405c28a7ee711ae9f00106ab1b0685f9f
* teams: Add myself to the documentation team.Florian Pelz2024-05-02
| | | | | | * etc/teams.scm (Florian Pelz): Add to documentation team. Change-Id: I904097dbaf32ed0ae80caff5ef966bed287a2a05
* gnu: scilab: Improve package management robustness in scilab-cli.Nicolas Graves2024-05-01
| | | | | | | | | | | | | | * gnu/packages/maths.scm (scilab)[source]<origin>: Improve package management robustness in scilab-cli by allowing tbx_build_help to log the scilab mode incompatibility error and not process the rest of the function instead of failing with it. * gnu/packages/patches/scilab-tbx_build_help.patch : Add patch. * gnu/local.mk(dist_patch_DATA): Add gnu/packages/patches/scilab-tbx_build_help.patch. Change-Id: I8ee94afb4aba906cbc8c7ca67f4c89aa0cf55ae6 Signed-off-by: Ludovic Courtès <ludo@gnu.org>
* gnu: scilab: Fixup and improve compilerDetection.sh script.Nicolas Graves2024-05-01
| | | | | | | | | | | | | | * gnu/packages/maths.scm (scilab) [arguments]<#:phases>: Fix compilerDetection.sh script in phase bootstrap-dynamic_link-scripts. [source]<origin>(patches): Add scilab-better-compiler-detection.patch. * gnu/packages/patches/scilab-better-compiler-detection.patch: Add file. * gnu/local.mk(dist_path_DATA): Add scilab-better-compiler-detection.patch. Change-Id: I7b1c78c4637fa1bc965eca8c516bf0b6cd4b92d1 Signed-off-by: Ludovic Courtès <ludo@gnu.org>
* gnu: scilab: Cleanup.Nicolas Graves2024-05-01
| | | | | | | | | | | | | * gnu/packages/maths.scm (scilab): [arguments]<#:phases>: In pre-build phase, remove unecessary code, due to the former introduction of the rewrap-scilab-cli phase. More robust version setting in the set-version phase. It anticipates for the next release which will not use "main" anymore. [source]<origin>(snippet) Sort dynamic_link deleted files. [inputs]: Add bash-minimal. Change-Id: I49b17886405e1ed8161e71b51655fa393ff7f10b Signed-off-by: Ludovic Courtès <ludo@gnu.org>
* teams: Add myself to the documentation team.Ludovic Courtès2024-05-01
| | | | | | * etc/teams.scm (Ludovic Courtès): Add to documentation team. Change-Id: Icf71ad8e2ebbe2b65ab3b6c0cf8cd8fe60cf2d0a
* teams: Add documentation team.Ludovic Courtès2024-05-01
| | | | | | * etc/teams.scm (documentation): New team. Change-Id: I34d4ed9029f369ebf0d1f510cc0810baca2ced89
* gnu: xdot: Update to 1.3.Artyom V. Poptsov2024-05-01
| | | | | | | | | | | | | | | * gnu/packages/graphviz.scm (xdot): Update to 1.3. [source]: Download the sources from GitHub as the PyPI tarbal is missing some test files. [arguments]: Use Gexps. Add "start-xserver" and "set-test-environment" to setup test environment properly. Simplify "wrap" phase. Replace "check" phase to run "test.py". [native-inputs]: Add "gobject-introspection" and "xorg-server-for-tests". [inputs]: Add "bash-minimal", "mesa", "mesa-opencl", "python-numpy" and "vulkan-loader". Change-Id: I7a68e9f5c1b66a6539b83623a457e16edacff012 Signed-off-by: Ludovic Courtès <ludo@gnu.org>
* gnu: spirv-llvm-translator: Update to 18.1.0.John Kehayias2024-05-01
| | | | | | | | | | | | This fixes a build failure (after mesa-updates merge, perhaps from the spirv-headers update). The package version corresponds to the LLVM version targeted, so inputs needed to be updated. * gnu/packages/vulkan.scm (spirv-llvm-translator): Update to 18.1.0. [inputs]: Replace llvm-15 with llvm-18. [native-inputs]: Ditto. Replace clang-15 with clang-18. Change-Id: I8ad51dd019e508a14b479a7481de62cdae446425
* news: Add entry for ‘guix git authenticate’ changes.Ludovic Courtès2024-05-01
| | | | | | | | | * etc/news.scm: Add entry. Change-Id: I661a0c0bfc373b87a70508ad9a735315c96ba4a5 Co-authored-by: Florian Pelz <pelzflorian@pelzflorian.de> Change-Id: Ibafef9d432df163948c4884279d4ce2579ed0312
* git authenticate: Install pre-push and post-checkout hooks.Ludovic Courtès2024-05-01
| | | | | | | | * guix/scripts/git/authenticate.scm (install-hooks): New procedure. (guix-git-authenticate): Use it. * doc/guix.texi (Invoking guix git authenticate): Document it. Change-Id: I4464a33193186e85b476a12740e54412bd58429c
* git authenticate: Print something upon success.Ludovic Courtès2024-05-01
| | | | | | | | | Until now the command would be silent and exit with 0. * guix/scripts/git/authenticate.scm (guix-git-authenticate): Print something upon success. Change-Id: I08d086c35df6ac74ee847df0479660293c68987d
* git authenticate: Discover the repository.Ludovic Courtès2024-05-01
| | | | | | | | | | | | This allows one to run ‘guix git authenticate’ from a sub-directory of the checkout. * guix/scripts/git/authenticate.scm (%default-options): Remove ‘directory’ key. (guix-git-authenticate): Use ‘repository-discover’ when ‘directory’ option is missing. Change-Id: Ifada00d559254971ed7eeb8c0a8d4ae74ff3defc
* git authenticate: Record introduction and keyring in ‘.git/config’.Ludovic Courtès2024-05-01
| | | | | | | | | | | | | | * guix/scripts/git/authenticate.scm (%default-options): Remove ‘keyring-reference’. (config-value, configured-introduction, configured-keyring-reference) (configured?, record-configuration, current-branch): New procedures. (guix-git-authenticate)[missing-arguments]: New procedure. Use ‘configured-introduction’ when zero arguments are given. Use ‘configured-keyring-reference’ when ‘-k’ is not passed. Add call to ‘record-configuration’. * doc/guix.texi (Invoking guix git authenticate): Document it. Change-Id: I66e111a83f50407b52da71662629947f83a78bbc
* gnu: guile-git: Update to 0.7.0.Ludovic Courtès2024-05-01
| | | | | | * gnu/packages/guile.scm (guile-git): Update to 0.7.0. Change-Id: I7a0a9d50a0f8a788963b05029a37ac9450ffa185
* svn-download: Add dependency on tar+gzip for SWH retrieval.Ludovic Courtès2024-05-01
| | | | | | | | | | | | | | | | Fixes a bug whereby ‘swh-download-directory-by-nar-hash’ would fail due to ‘tar’ not being found in $PATH: $ GUIX_DOWNLOAD_METHODS=swh guix build -S texlive-geometry --check In execvp of tar: No such file or directory SWH: found directory with nar-sha256 hash 217e1c8d33aa6fd063f205453a946509b059b85fa7e8d32b7e80054d5e6e5c26 at 'swh:1:dir:ccb56476fb36b2ba0298e57f2b2e69c735ac0a2f' […] * guix/svn-download.scm (svn-fetch)[tar+gzip]: New variable. [build]: Use it. (svn-multi-fetch): Likewise. Change-Id: I37ba9824a5feb6d38f85743519cbd2b2c3e1a9e8
* gnu: Add emacs-ob-asymptote.Nicolas Goaziou2024-05-01
| | | | | | * gnu/packages/emacs-xyz.scm (emacs-ob-asymptote): New variable. Change-Id: I022557ed6eb6473e26842a5e72d9abdd1d516d35
* gnu: emacs-dockerfile-mode: Update to 1.9.Nicolas Goaziou2024-05-01
| | | | | | * gnu/packages/emacs-xyz.scm (emacs-dockerfile-mode): Update to 1.9. Change-Id: Ie3fd4d3701d720ece886b3e873b9637aeb468fea
* gnu: emacs-polymode-ansible: Update to 0.4.0.Nicolas Goaziou2024-05-01
| | | | | | | * gnu/packages/emacs-xyz.scm (emacs-polymode-ansible): Update to 0.4.0. [propagated-inputs]: Add EMACS-ANSIBLE. Change-Id: I1d15b309332f1bb82a0d515195eb2d1e8bd8cc34