Age | Commit message (Expand) | Author |
2020-01-30 | guix: Fix missing export for make-desktop-entry-file.•••* guix/build/utils.scm: Export make-desktop-entry-file.
| Pierre Neidhardt |
2020-01-30 | derivations: Import modules with 'add-file-tree-to-store'.•••This reduces the number of RPCs on "guix build libreoffice -nd" from
2,589 to 2,558 (1%).
* guix/derivations.scm (imported-files): Rewrite to call to
'add-file-tree-to-store'. Remove #:system and #:guile parameters.
(%imported-modules): Adjust docstring to say that result is a store
item, and adjust 'imported-files' call.
(%compiled-modules): Adjust accordingly.
(imported+compiled-modules): Likewise.
(build-expression->derivation): Likewise.
| Ludovic Courtès |
2020-01-30 | gexp: Move 'file-mapping->tree' to (guix store).•••* guix/gexp.scm (%not-slash): Remove.
(file-mapping->tree): Move to...
* guix/store.scm (file-mapping->tree): ... here.
| Ludovic Courtès |
2020-01-26 | build-system/cmake: Specify C++ compiler when cross-compiling.•••* guix/build/cmake-build-system.scm (configure)[args]: Add
"-DCMAKE_CXX_COMPILER" when cross-compiling.
| Marius Bakke |
2020-01-26 | build-system/cmake: Enable parallel tests by default.•••* guix/build-system/cmake.scm (cmake-build, cmake-cross-build): Set
the PARALLEL-TESTS? key to #t.
| Marius Bakke |
2020-01-23 | Merge branch 'staging' into core-updates | Marius Bakke |
2020-01-22 | guix: ocaml: Reuse package-with-ocaml4.01 with ocaml-4.07.•••* guix/build-system/guix.scm (package-with-ocaml4.01)
(strip-ocaml4.01-variant): Rename to...
(package-with-ocaml4.07, strip-ocaml4.07-variant): ... this and rename
internal implementation.
| Julien Lepiller |
2020-01-21 | Merge branch 'staging' into core-updates | Marius Bakke |
2020-01-19 | guix package: Create profiles/per-user/$USER upfront.•••Fixes <https://bugs.gnu.org/39194>.
Reported by Matt Wette <matt.wette@gmail.com>.
* guix/scripts/package.scm (build-and-use-profile): Move
'ensure-default-profile' call to...
(process-actions): ... here.
| Ludovic Courtès |
2020-01-19 | syscalls: Pass the right 'throw' arguments in 'call-with-file-lock/no-wait'.•••Reported by Matt Wette <matt.wette@gmail.com>
in <https://bugs.gnu.org/39194>.
* guix/build/syscalls.scm (call-with-file-lock/no-wait): When
re-throwing, pass KEY in addition to ARGS.
| Ludovic Courtès |
2020-01-19 | repl: Avoid dependency on high-level package modules.•••* guix/scripts/repl.scm: Remove imports of (guix scripts build), (gnu
packages), (guix utils), and (guix packages).
(%options): Define "--load-path" option right here.
| Ludovic Courtès |
2020-01-19 | repl: Adjust "--listen" help message.•••* guix/scripts/repl.scm (show-help): Adjust "--listen" string.
| Ludovic Courtès |
2020-01-19 | repl: Add "-q".•••* guix/scripts/repl.scm (%options, show-help): Add "-q".
(guix-repl): Add 'user-config' and use it. Honor 'ignore-dot-guile?'.
| Ludovic Courtès |
2020-01-18 | refresh: Fix internal variable name.•••* guix/scripts/refresh.scm (%option): Fix internal variable name.
| zimoun |
2020-01-17 | packages: 'patch-and-repack' sets the mtime to 1, not 0.•••* guix/packages.scm (patch-and-repack)[build]: Pass "--mtime=@1" instead
of "--mtime=@0".
| Ludovic Courtès |
2020-01-17 | ui: Ignore 'raise-exception' frames when reporting exceptions.•••* guix/ui.scm (last-frame-with-source): Check whether FRAME corresponds
to 'raise-exception' and skip it if it does.
| Ludovic Courtès |
2020-01-17 | import: texlive: Avoid uses of '@@' in tests.•••* guix/import/texlive.scm (fetch-sxml, sxml->package): Export.
* tests/texlive.scm <top level>: Call '%http-server-port'.
("fetch-sxml: returns SXML for valid XML"): Use 'with-http-server' and
set 'current-http-proxy' instead of using 'mock'.
("sxml->package"): Remove use of '@@'.
| Ludovic Courtès |
2020-01-17 | import: opam: Avoid uses of '@@' in tests.•••* guix/import/opam.scm (string-pat, multiline-string, list-pat)
(dict, condition): Export.
(opam-fetch): Add optional 'repository' parameter.
(opam->guix-package): Add #:repository parameter and pass it to
'opam-fetch'.
* tests/opam.scm ("opam->guix-package"): Remove use of 'mock' and pass
TEST-REPO to 'opam->guix-package' instead.
("parse-strings", "parse-multiline-strings")
("parse-lists", "parse-dicts", "parse-conditions"): Remove uses of '@@',
which are no longer needed.
| Ludovic Courtès |
2020-01-17 | lint: vulnerabilities: Avoid 'mock' in test.•••* guix/lint.scm (check-vulnerabilities): Add 'package-vulnerabilities'
optional parameter.
* tests/lint.scm ("cve: one vulnerability"): Use it instead of 'mock'.
| Ludovic Courtès |
2020-01-17 | lint: derivation: Adjust exception handling for Guile 3.•••This makes sure the "derivation: invalid arguments" test passes on
Guile 3.0.0. Without this change, the lint warning would only include
the format string instead of the key and arguments.
* guix/lint.scm (exception-with-kind-and-args?): New procedure.
(check-derivation): Use it.
| Ludovic Courtès |
2020-01-16 | import: elpa: Rewrite test to use an HTTP server instead of mocking.•••* guix/import/elpa.scm (elpa-url): Add 'gnu/http'.
(elpa->guix-package): Handle it.
* tests/elpa.scm (elpa-package-info-mock, auctex-readme-mock)
(elpa-version->string, package-source-url, ensure-list)
(package-home-page, make-elpa-package): Remove.
<top level>: Call '%http-server-port'.
(eval-test-with-elpa): Remove uses of 'mock'. Use 'with-http-server'
and parameterize 'current-http-proxy' instead.
| Ludovic Courtès |
2020-01-16 | import: cran: Avoid uses of '@@' in the tests.•••* guix/import/cran.scm (description->alist, description->package): Export.
<top level>: Set! 'listify'.
* tests/cran.scm (description-alist, "description->package"): Remove use
of '@@' to access the relevant bindings.
| Ludovic Courtès |
2020-01-16 | import: crate: Export 'string->license'.•••* guix/import/crate.scm (string->license): Export.
* tests/crate.scm (string->license): Remove.
| Ludovic Courtès |
2020-01-16 | lzlib: Define 'dictionary-size+match-length-limit'.•••* guix/lzlib.scm (%compression-levels): Splice the rest of each element.
(dictionary-size+match-length-limit): New procedure.
(make-lzip-output-port, make-lzip-input-port/compressed): Use it.
* tests/lzlib.scm ("Bytevector of size relative to Lzip internal buffers (2 * dictionary)"):
Use 'dictionary-size+match-length-limit' instead of 'assoc-ref'.
| Ludovic Courtès |
2020-01-16 | records: Improve reporting of "invalid field specifier" errors.•••Previously users would just see:
error: invalid field specifier
without source location or hints.
* guix/records.scm (expand): Add optional 'parent-form' parameter and
pass it to 'syntax-violation' when it is true.
(make-syntactic-constructor): Pass S as a third argument to
'report-invalid-field-specifier'.
* guix/ui.scm (report-load-error): For 'syntax-error', show SUBFORM or
FORM in the message.
* tests/records.scm ("define-record-type* & wrong field specifier"): Add
a 'subform' parameter and adjust test accordingly.
("define-record-type* & wrong field specifier, identifier"): New test.
* tests/guix-system.sh: Add test.
| Ludovic Courtès |
2020-01-16 | guix package: Export 'transaction-upgrade-entry'.•••* guix/scripts/package.scm (transaction-upgrade-entry): Add 'store'
parameter and use it instead of (%store). Export.
* tests/packages.scm ("transaction-upgrade-entry, zero upgrades")
("transaction-upgrade-entry, one upgrade")
("transaction-upgrade-entry, superseded package"): Adjust accordingly.
| Ludovic Courtès |
2020-01-16 | publish: Export 'signed-string'.•••* guix/scripts/publish.scm (signed-string): Export and improve docstring.
* tests/publish.scm ("/*.narinfo")
("/*.narinfo with properly encoded '+' sign"): Adjust accordingly.
| Ludovic Courtès |
2020-01-16 | repl: Fix '--help' message.•••* guix/scripts/repl.scm: (show-help): Add '--listen' option message.
| zimoun |
2020-01-16 | repl: Add '--load-path' option.•••* guix/scripts/repl.scm (%option): Add '--load-path' option.
* doc/guix.texi: Document it.
| zimoun |
2020-01-16 | edit: Add '--load-path' option.•••* guix/scripts/edit.scm (%option): Add '--load-path' option.
* doc/guix.texi: Document it.
| zimoun |
2020-01-16 | refresh: Add '--load-path' option.•••* guix/scripts/refresh.scm (%option): Add '--load-path' option.
* doc/guix.texi: Document it.
| zimoun |
2020-01-16 | size: Add '--load-path' option.•••* guix/scripts/size.scm (%option): Add '--load-path' option.
* doc/guix.texi: Document it.
| zimoun |
2020-01-16 | graph: Add '--load-path' option.•••* guix/scripts/graph.scm (%option): Add '--load-path' option.
* doc/guix.texi: Document it.
* tests/guix-graph.sh: Test it.
| Pierre Neidhardt |
2020-01-15 | clojure-utils: Avoid use of '@@'.•••* guix/build/clojure-utils.scm (%doc-regex): Avoid @@, which doesn't
work on Guile 3.
(file-sans-extension): Likewise.
| Ludovic Courtès |
2020-01-15 | serialize: Export 'dump-port*'.•••* guix/serialization.scm (dump): Export as 'dump-port*'.
* guix/scripts/challenge.scm (dump-port*): Remove.
| Ludovic Courtès |
2020-01-15 | import: cpan: Rewrite tests to use an HTTP server instead of mocking.•••* guix/import/cpan.scm (%metacpan-base-url): New variable.
(module->dist-name, cpan-fetch): Refer to it instead of the hard-coded URL.
* tests/cpan.scm ("cpan->guix-package"): Use 'with-http-server' instead
of 'mock'.
| Ludovic Courtès |
2020-01-15 | import: cpan: Rewrite to use 'define-json-mapping'.•••* guix/import/cpan.scm (<cpan-dependency>, <cpan-release>): New
JSON-mapped record types.
(metacpan-url->mirror-url): New procedure.
(cpan-source-url): Rewrite in terms of it.
(cpan-version): Remove.
(cpan-module->sexp): Rewrite to take a <cpan-release> instead of an
alist, and rename 'meta' to 'release'.
[convert-inputs]: Rewrite to use 'cpan-release-dependencies'.
Update calls to 'convert-inputs' to pass a list of symbols.
Replace 'assoc-ref' calls with the appropriate field accessors.
(cpan->guix-package): Rename 'module-meta' to 'release'.
(latest-release): Likewise, and use the appropriate accessors.
* tests/cpan.scm (test-json): Remove "prereqs" record; add "dependency"
list.
("source-url-http", "source-url-https"): Remove.
("metacpan-url->mirror-url, http")
("metacpan-url->mirror-url, https"): New tests.
| Ludovic Courtès |
2020-01-15 | More module autoload adjustments.•••This is a followup to 7a0836cffdfe3ab9ee899602f218277646959144.
* guix/scripts/package.scm: Adjust binding list of the (guix store roots)
autoload.
* guix/inferior.scm: Adjust binding list of the (guix cache) autoload.
| Ludovic Courtès |
2020-01-15 | Avoid warnings for the 'delete' binding of (guix build utils).•••On Guile 3, importing (guix build utils) leads to warnings such as:
WARNING: (gnu packages embedded): imported module (guix build utils) overrides core binding `delete'
* gnu/packages/embedded.scm: Select 'alist-replace' from (guix build utils).
* guix/ui.scm: Hide 'delete' from (guix build utils).
| Ludovic Courtès |
2020-01-15 | substitute: 'http-multiple-get' processes each request only once.•••Fixes <https://bugs.gnu.org/39090>.
Reported by Gábor Boskovits <boskovits@gmail.com>.
Fixes a regression introduced in 9e3f9ac3c00906f5bc647ea8398e4ed5a370614e.
* guix/scripts/substitute.scm (http-multiple-get): In the "Connection: close"
case, pass (drop requests (+ 1 processed)) to 'loop' as the remaining
REQUESTS value.
Previously, we would pass a list containing duplicates, and thus the
final result would also contain duplicates. When sent to the daemon,
that list would lead to a daemon error:
got unexpected path `/gnu/store/…' from substituter
| Ludovic Courtès |
2020-01-15 | Merge branch 'master' into core-updates | Marius Bakke |
2020-01-14 | build-system/texlive: Update to texlive-2019.3, revision 51265.•••* guix/build-system/texlive.scm (%texlive-tag): Change to "2019.3".
(%texlive-revision): Change to 51265.
| Marius Bakke |
2020-01-12 | lint: Check for more packages which should be native.•••* guix/lint.scm (check-inputs-should-be-native): Add gtk-doc.
| Danny Milosavljevic |
2020-01-12 | build: asdf-build-system: Improve reproducibility.•••* guix/build/asdf-build-system.scm (copy-files-to-output): Reset timestamps of
source files before compiling.
| Guillaume Le Vaillant |
2020-01-12 | deprecation: Add a two-element form for simple aliases.•••* guix/deprecation.scm (define-deprecated): Add a two-element form for
simple aliases: (define-deprecated old new).
| Ludovic Courtès |
2020-01-11 | Merge branch 'master' into core-updates | Marius Bakke |
2020-01-09 | channels: Provide a hint when the 'guix' channel is lacking.•••Fixes <https://bugs.gnu.org/39043>.
Reported by Jesse Gibbons <jgibbons2357@gmail.com>.
* guix/channels.scm (channel-instance-derivations): Raise '&fix-hint'
condition in addition to the '&message' condition.
| Ludovic Courtès |
2020-01-09 | lint: Check for more packages which should be native.•••* guix/lint.scm (check-inputs-should-be-native): Add autoconf, automake,
bison, dejagnu, desktop-file-utils, doxygen, flex, gettext,
gobject-introspection, googletest-source, groff, help2man, libtool, swig,
qmake, qttools, texinfo, xorg-server-for-tests, yelp-tools.
| Danny Milosavljevic |
2020-01-08 | build-system/clojure: Provide only the right modules in scope.•••Previously, we used to have a whole bunch of (guix build *-build-system)
modules in scope, which, for example, meant that '%standard-phases' was
clashing. This change clarifies it.
* guix/build-system/clojure.scm (%default-modules): New variable.
(clojure-build): Change the default value of #:modules and that of
#:phases.
| Ludovic Courtès |
2020-01-08 | build: asdf-build-system: Make sbcl-* Lisp packages reproducible.•••The '*.fasl' files produced by SBCL contain the mtime of the source file (see
commit 72843d7ce32bd615f64a0326cf891658b5724ead of SBCL's code repository).
As asdf-build-system makes a copy of the source files before compiling them,
we must set the mtime of these copies to the same date as the originals for
the build to be reproducible.
* guix/build/asdf-build-system.scm (copy-files-to-output): Keep the
modification time of the original source files.
| Guillaume Le Vaillant |