summaryrefslogtreecommitdiff
path: root/guix
Commit message (Collapse)AuthorAge
* scripts: import: crate: Handle non-existent package.Simon Tournier2023-04-30
| | | | | | | | | Fixes <https://bugs/gnu.org/63020>. * guix/scripts/import/crate.scm (guix-import-crate): Handle non-existent package input. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
* guix: import: crate: Fix incorrect returned values.Simon Tournier2023-04-30
| | | | | | | * guix/import/crate.scm (crate->guix-package): Return compatible values with 'recursive-import'. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
* build-system/cmake: Add support for the #:disallowed-references key.Leo Famulari2023-04-30
| | | | | * guix/build-system/cmake.scm (cmake-build, cmake-cross-build): Add #:disallowed-references.
* import/cran: Translate from xml2 to libxml2.Ricardo Wurmus2023-04-29
| | | | | * guix/import/cran.scm (transform-sysname): Add translation from xml2 to libxml2.
* import/cran: Add "unix" to list of invalid packages.Ricardo Wurmus2023-04-29
| | | | * guix/import/cran.scm (invalid-packages): Add "unix".
* guix: Upgrade to Bioconductor 3.16.Ricardo Wurmus2023-04-29
| | | | | | * guix/build-system/r.scm (bioconductor-uri): Bump Bioconductor version to 3.17. * guix/import/cran.scm (%bioconductor-version): Same.
* import/pypi: Generate packages using pyproject-build-system.Ricardo Wurmus2023-04-29
| | | | | | * guix/import/pypi.scm (make-pypi-sexp): Generate PACKAGE expression where the value for the BUILD-SYSTEM field is PYPROJECT-BUILD-SYSTEM instead of PYTHON-BUILD-SYSTEM.
* Merge remote-tracking branch 'origin/master' into core-updatesAndreas Enge2023-04-24
|\
| * read-print: 'pretty-print-with-comments' keeps newlines on long strings.Ludovic Courtès2023-04-24
| | | | | | | | | | | | | | * guix/read-print.scm (printed-string)[preserve-newlines?]: New procedure. Use it to preserve newlines on long strings. * tests/read-print.scm: Add test.
* | Merge remote-tracking branch 'origin/master' into core-updatesAndreas Enge2023-04-23
|\|
| * refresh: Support select packages SUBSET by module name.宋文武2023-04-23
| | | | | | | | | | | | | | * guix/scripts/refresh.scm (%options): Support '--select module:NAME'. (show-help): Adjust accordingly. (options->update-specs): Honor the module passed by '--select'. * doc/guix.texi (Invoking guix refresh): Document it.
* | Merge remote-tracking branch 'origin/master' into core-updatesAndreas Enge2023-04-22
|\|
| * packages: 'package-direct-sources' correctly handles non-origin sources.Ludovic Courtès2023-04-21
| | | | | | | | | | | | | | | | | | Previously 'package-direct-sources' would trigger a wrong-type-arg error when passed a package whose 'source' is not an origin, such as 'ruby-sorbet-runtime'. * guix/packages.scm (package-direct-sources): Call 'expand' if and only if (package-source package) is an origin.
| * ssh: Silence remote daemon messages when sending store items.Ludovic Courtès2023-04-17
| | | | | | | | | | | | | | | | | | | | | | | | | | Fixes <https://issues.guix.gnu.org/61839>. Previously, when running 'guix-daemon --debug' on the remote machine, lots of debugging outputs would be printed to stderr; since the client wouldn't read it, we could eventually reach a deadlock where the 'guix repl' process would be stuck writing to stderr while the client is stuck waiting on its stdout. * guix/ssh.scm (store-import-channel)[import]: Parameterize 'current-build-output-port'.
| * substitute: Download nar from another server upon ETIMEDOUT.Ludovic Courtès2023-04-17
| | | | | | | | | | | | | | | | | | | | | | Previously, 'guix substitute' would fail abruptly with something like: guix substitute: warning: while fetching https://ci.guix.gnu.org/nar/lzip/…-example: server is somewhat slow guix substitute: warning: try `--no-substitutes' if the problem persists guix substitute: error: connect*: Connection timed out substitution of /gnu/store/…-example failed * guix/scripts/substitute.scm (network-error?): Add ETIMEDOUT.
| * environment: Really auto-load (guix scripts pack).Ludovic Courtès2023-04-17
| | | | | | | | | | | | | | | | | | | | | | | | | | Fixes a performance regression on cache hits introduced in b31ea797edb4f6e8c14e8fe790da1319607c5cb1, whereby (guix scripts pack) would be loaded eagerly during startup, leading hundreds of (gnu packages *) modules to be loaded. Fixes <https://issues.guix.gnu.org/62899>. * guix/scripts/environment.scm: Autoload (gnu build install). (%options): Add indirection when calling 'symlink-spec-option-parser' so that (guix scripts pack) is auto-loaded only when needed.
* | ssh: Silence remote daemon messages when sending store items.Ludovic Courtès2023-04-19
| | | | | | | | | | | | | | | | | | | | | | | | | | Fixes <https://issues.guix.gnu.org/61839>. Previously, when running 'guix-daemon --debug' on the remote machine, lots of debugging outputs would be printed to stderr; since the client wouldn't read it, we could eventually reach a deadlock where the 'guix repl' process would be stuck writing to stderr while the client is stuck waiting on its stdout. * guix/ssh.scm (store-import-channel)[import]: Parameterize 'current-build-output-port'.
* | substitute: Download nar from another server upon ETIMEDOUT.Ludovic Courtès2023-04-19
| | | | | | | | | | | | | | | | | | | | | | Previously, 'guix substitute' would fail abruptly with something like: guix substitute: warning: while fetching https://ci.guix.gnu.org/nar/lzip/…-example: server is somewhat slow guix substitute: warning: try `--no-substitutes' if the problem persists guix substitute: error: connect*: Connection timed out substitution of /gnu/store/…-example failed * guix/scripts/substitute.scm (network-error?): Add ETIMEDOUT.
* | environment: Really auto-load (guix scripts pack).Ludovic Courtès2023-04-19
| | | | | | | | | | | | | | | | | | | | | | | | | | Fixes a performance regression on cache hits introduced in b31ea797edb4f6e8c14e8fe790da1319607c5cb1, whereby (guix scripts pack) would be loaded eagerly during startup, leading hundreds of (gnu packages *) modules to be loaded. Fixes <https://issues.guix.gnu.org/62899>. * guix/scripts/environment.scm: Autoload (gnu build install). (%options): Add indirection when calling 'symlink-spec-option-parser' so that (guix scripts pack) is auto-loaded only when needed.
* | Merge remote-tracking branch 'origin/master' into core-updatesAndreas Enge2023-04-17
|\|
| * self: Restructure accessing packages.Christopher Baines2023-04-17
| | | | | | | | | | | | | | | | | | | | | | | | | | Both for consistency (always use specification->package as defined in this module) and so that all the packages that are used can be accessed (which comes in useful when applying grafts). * guix/self.scm (%packages): New variable. (specification->package): Use %packages. (locale-data, translate-texi-manuals, info-manual, guix-command, compiled-guix): Use specification->package. Signed-off-by: Christopher Baines <mail@cbaines.net>
| * packages: Export guile-for-grafts.Christopher Baines2023-04-17
| | | | | | | | | | | | | | | | So this can be used in (guix self). * guix/packages.scm (guile-for-grafts): Export. Signed-off-by: Christopher Baines <mail@cbaines.net>
| * build: qt-utils: Revert setting QT_PLUGIN_PATH exactly.Maxim Cournoyer2023-04-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes <https://issues.guix.gnu.org/57742>. The documentation of Qt states that it is a supported use case to mix Qt 5 and Qt 6 plugins in QT_PLUGIN_PATH [0]. This reverts the change to QT_PLUGIN_PATH introduced in 1f466ed6be9 ("build: qt: Add qtbase argument and wrap Qt environment variables exactly."). [0] https://doc.qt.io/qt-6.2/deployment-plugins.html#loading-and-verifying-plugins-dynamically * guix/build/qt-utils.scm (variables-for-wrapping): Wrap QT_PLUGIN_PATH using the prefix method.
| * status: Guard against a numerical overflow condition.Maxim Cournoyer2023-04-10
| | | | | | | | | | | | | | Fixes <https://issues.guix.gnu.org/62766>. * guix/status.scm (update-build): Use 0 as progress when an exception occurs while computing it.
| * import: opam: Tweak doc for '--repo' option.Ludovic Courtès2023-04-08
| | | | | | | | * guix/scripts/import/opam.scm (show-help): Tweak doc for. '--repo'.
| * import: opam: opam->guix-package: Fix default repo argument.Csepp2023-04-08
| | | | | | | | | | | | | | * guix/import/opam.scm (opam->guix-package): Make default repo a list of strings. Update docstring. Co-authored-by: Ludovic Courtès <ludo@gnu.org>
| * svn-download: Default to non-recursive checkouts.Ludovic Courtès2023-04-08
| | | | | | | | | | | | | | | | | | | | As it turns out, all packages that fetch code from Subversion expect it to be non-recursive by default. Clarify that. Reported by Timothy Sample <samplet@ngyro.com>. * guix/svn-download.scm (<svn-reference>)[recursive?]: Default to #f. (<svn-multi-reference>)[recursive?]: Likewise.
| * import: Properly report "no specific version" errors.Ludovic Courtès2023-04-08
| | | | | | | | | | | | | | | | | | | | * guix/import/cpan.scm (latest-release): Use 'raise' instead of 'error'. * guix/import/elpa.scm (latest-release): Likewise. * guix/import/hackage.scm (latest-release): Likewise. * guix/import/minetest.scm (latest-minetest-release): Likewise. * guix/import/opam.scm (latest-release): Likewise. * guix/import/stackage.scm (latest-lts-release): Likewise.
| * packages: Remove 'origin-sha256' procedure.Bruno Victal2023-04-07
| | | | | | | | | | | | | | | | * guix/packages.scm (origin-sha256): Remove procedure. * tests/import-utils.scm (test-import-utils) [alist->package with explicit source]: Use content-hash-value. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
| * po: Do not auto-translate cross-references to other manuals.Florian Pelz2023-04-07
| | | | | | | | | | | | | | | | | | | | | | Reported by Gottfried at <https://lists.gnu.org/archive/html/help-guix/2023-04/msg00000.html>. * guix/build/po.scm (xref-regexp): Dispatch on the number of arguments. Ensure there is no info-manual argument or it is empty. (translate-cross-references): Adapt to changed regexp. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
| * environment: Add '--nesting'.Ludovic Courtès2023-04-06
| | | | | | | | | | | | | | | | | | | | | | | | | | * guix/scripts/environment.scm (show-environment-options-help) (%options): Add '--nesting'. (options/resolve-packages): Handle it. (launch-environment/container): Add #:nesting? and honor it. [nesting-mappings]: New procedure. (guix-environment*): Add support for '--nesting'. * guix/scripts/shell.scm (profile-cached-gc-root): Special-case 'nesting?'. * tests/guix-environment-container.sh: Test it. * doc/guix.texi (Invoking guix shell): Document it.
* | maint: Merge sanity-check-next.py into sanity-check.py.Maxim Cournoyer2023-04-14
| | | | | | | | | | | | | | * gnu/packages/aux-files/python/sanity-check-next.py: Rename to... * gnu/packages/aux-files/python/sanity-check.py: ... this. * guix/build-system/pyproject.scm (sanity-check.py): Adjust file name. * Makefile.am (AUX_FILES): De-register sanity-check-next.py.
* | Merge branch 'master' into core-updates.Maxim Cournoyer2023-04-14
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: gnu/local.mk gnu/packages/build-tools.scm gnu/packages/certs.scm gnu/packages/check.scm gnu/packages/compression.scm gnu/packages/cups.scm gnu/packages/fontutils.scm gnu/packages/gnuzilla.scm gnu/packages/guile.scm gnu/packages/ibus.scm gnu/packages/image-processing.scm gnu/packages/linux.scm gnu/packages/music.scm gnu/packages/nss.scm gnu/packages/pdf.scm gnu/packages/python-xyz.scm gnu/packages/qt.scm gnu/packages/ruby.scm gnu/packages/shells.scm gnu/packages/tex.scm gnu/packages/video.scm gnu/packages/vulkan.scm gnu/packages/web.scm gnu/packages/webkit.scm gnu/packages/wm.scm
| * | status: Guard against a numerical overflow condition.Maxim Cournoyer2023-04-12
| | | | | | | | | | | | | | | | | | | | | Fixes <https://issues.guix.gnu.org/62766>. * guix/status.scm (update-build): Use 0 as progress when an exception occurs while computing it.
| * | import: opam: Tweak doc for '--repo' option.Ludovic Courtès2023-04-12
| | | | | | | | | | | | * guix/scripts/import/opam.scm (show-help): Tweak doc for. '--repo'.
| * | import: opam: opam->guix-package: Fix default repo argument.Csepp2023-04-12
| | | | | | | | | | | | | | | | | | | | | * guix/import/opam.scm (opam->guix-package): Make default repo a list of strings. Update docstring. Co-authored-by: Ludovic Courtès <ludo@gnu.org>
| * | svn-download: Default to non-recursive checkouts.Ludovic Courtès2023-04-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | As it turns out, all packages that fetch code from Subversion expect it to be non-recursive by default. Clarify that. Reported by Timothy Sample <samplet@ngyro.com>. * guix/svn-download.scm (<svn-reference>)[recursive?]: Default to #f. (<svn-multi-reference>)[recursive?]: Likewise.
| * | import: Properly report "no specific version" errors.Ludovic Courtès2023-04-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * guix/import/cpan.scm (latest-release): Use 'raise' instead of 'error'. * guix/import/elpa.scm (latest-release): Likewise. * guix/import/hackage.scm (latest-release): Likewise. * guix/import/minetest.scm (latest-minetest-release): Likewise. * guix/import/opam.scm (latest-release): Likewise. * guix/import/stackage.scm (latest-lts-release): Likewise.
| * | packages: Remove 'origin-sha256' procedure.Bruno Victal2023-04-12
| | | | | | | | | | | | | | | | | | | | | | | | * guix/packages.scm (origin-sha256): Remove procedure. * tests/import-utils.scm (test-import-utils) [alist->package with explicit source]: Use content-hash-value. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
| * | po: Do not auto-translate cross-references to other manuals.Florian Pelz2023-04-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Reported by Gottfried at <https://lists.gnu.org/archive/html/help-guix/2023-04/msg00000.html>. * guix/build/po.scm (xref-regexp): Dispatch on the number of arguments. Ensure there is no info-manual argument or it is empty. (translate-cross-references): Adapt to changed regexp. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
| * | environment: Add '--nesting'.Ludovic Courtès2023-04-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * guix/scripts/environment.scm (show-environment-options-help) (%options): Add '--nesting'. (options/resolve-packages): Handle it. (launch-environment/container): Add #:nesting? and honor it. [nesting-mappings]: New procedure. (guix-environment*): Add support for '--nesting'. * guix/scripts/shell.scm (profile-cached-gc-root): Special-case 'nesting?'. * tests/guix-environment-container.sh: Test it. * doc/guix.texi (Invoking guix shell): Document it.
| * | Merge branch 'master' into stagingMaxim Cournoyer2023-03-31
| |\|
| | * guix: Shorten home page URL in texlive importer.Nicolas Goaziou2023-03-30
| | | | | | | | | | | | * guix/import/texlive.scm (tlpdb->package): Use short URL for home page.
| | * import/texlive: tlpdb->package: Ignore files outside of texmf-dist.Ricardo Wurmus2023-03-29
| | | | | | | | | | | | | | | * guix/import/texlive.scm (tlpdb->package): Ignore files outside of texmf-dist because the code assumes that this is the prefix for all files.
| | * import/texlive: Process license field only when it exists.Ricardo Wurmus2023-03-29
| | | | | | | | | | | | | | | * guix/import/texlive.scm (tlpdb->package): Check "catalogue-license" field before using string->license.
| | * import/texlive: Only process description if it exists.Ricardo Wurmus2023-03-29
| | | | | | | | | | | | | | | * guix/import/texlive.scm (tlpdb->package): Run beautify-description only when the "longdesc" field exists.
| | * import/texlive: Ignore architecture-dependent packages.Ricardo Wurmus2023-03-29
| | | | | | | | | | | | | | | * guix/import/texlive.scm (tlpdb->package): Filter "depend" field to exclude package names ending on ".ARCH".
| * | Merge remote-tracking branch 'origin/master' into stagingMaxim Cournoyer2023-03-28
| |\|
| | * Revert "lint: Append "/info/refs" to git-reference-url."Maxim Cournoyer2023-03-28
| | | | | | | | | | | | | | | | | | | | | This reverts commit c9af27d4ca733b20f09019f1465d3e5fdc1ec724. The change causes 'guix lint' to print URI not reachable (403) errors for GitHub every URLs.
| | * lint: Append "/info/refs" to git-reference-url.Felix Lechner2023-03-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For the atftp package added in the preceeding commit, lint produced this warning: gnu/packages/networking.scm:2924:5: atftp@0.8.0: URI https://git.code.sf.net/p/atftp/code not reachable: 404 ("Not Found") Thanks to Sergey Trofimov for suggesting a fix! [1] [1] https://issues.guix.gnu.org/62156#3 It was implemented here, and the warning disappeared. * guix/lint.scm (check-source): Append "/info/refs" to git-reference-url. Co-authored-by: Sergey Trofimov <sarg@sarg.org.ru> Signed-off-by: Ludovic Courtès <ludo@gnu.org>