| Commit message (Collapse) | Author | Age |
|
|
|
|
| |
* guix/ui.scm (show-derivation-outputs): Handle <derivation-input>
records.
|
|
|
|
|
|
|
|
| |
This is a followup to f8a9f99cd602ce1dc5307cb0c21ae718ad8796bb.
* guix/ui.scm (show-what-to-build)[inputs]: New variables.
[substitutable-info]: Build the derivation list from INPUTS.
Pass INPUTS to 'derivation-build-plan'.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Until now the caller couldn't tell the different between a spec like
"foo:out" and one like "foo". This change allows users to distinguish
between these two cases.
* gnu/packages.scm (specification->package+output): Disable output
membership test when OUTPUT = #f and SUB-DRV = #f.
* tests/packages.scm ("specification->package+output")
("specification->package+output invalid output")
("specification->package+output no default output")
("specification->package+output invalid output, no default"): New tests.
|
|
|
|
|
|
|
| |
* guix/derivations.scm (build-derivations): Accept <derivation-input>
records among DERIVATIONS.
* tests/derivations.scm ("build-derivations with specific output"): Test
it.
|
|
|
|
|
| |
* guix/derivations.scm (derivation): Check if FILE is already in
%DERIVATION-CACHE and return it if it is.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Consequently, the whole graph of <derivation> object is readily
available without having to go through 'read-derivation-from-file',
which could have cache misses if the requested <derivation> object had
been GC'd in the meantime. This is an important property for the
performance of things like 'derivation-build-plan' that traverse the
derivation graph.
* guix/derivations.scm (<derivation-input>): Replace 'path' field by
'derivation'.
(derivation-input-path): Adjust accordingly.
(derivation-input-key): New procedure.
(derivation-input-output-paths): Adjust accordingly.
(coalesce-duplicate-inputs): Likewise.
(derivation-prerequisites): Use 'derivation-input-key' to compute keys
for INPUT-SET.
(derivation-build-plan): Likewise.
(read-derivation): Add optional 'read-derivation-from-file' parameter.
[make-input-drvs]: Call it.
(write-derivation)[write-input]: Adjust to new <derivation-input>.
(derivation/masked-inputs): Likewise, and remove redundant
'coalesce-duplicate-inputs' call.
(derivation)[input->derivation-input]: Change to consider only the
derivation case. Update call to 'make-derivation-input'.
[input->source]: New procedure.
Separate sources from inputs.
(map-derivation): Adjust to new <derivation-input>.
* tests/derivations.scm ("parse & export"): Pass a second argument to
'read-derivation'.
("build-expression->derivation and derivation-prerequisites")
("derivation-prerequisites and valid-derivation-input?"): Adjust to new
<derivation-input>.
|
|
|
|
|
| |
* guix/scripts/graph.scm (derivation-dependencies): Use
'derivation-input-derivation'.
|
|
|
|
|
|
|
| |
* guix/ui.scm (show-what-to-build)[build-or-substitutable?]: Remove.
Use 'derivation-build-plan' instead of
'derivation-prerequisites-to-build', passing it all of DRV at once, and
remove 'fold2' shenanigans and postprocessing of BUILD.
|
|
|
|
|
|
|
|
|
|
|
|
| |
The new 'derivation-build-plan' procedure has a more appropriate
signature: it takes a list of <derivation-inputs> instead of taking one
<derivation>. Its body is also much simpler.
* guix/derivations.scm (derivation-build-plan): New procedure.
(derivation-prerequisites-to-build): Express in terms of
'derivation-build-plan' and mark as deprecated.
* tests/derivations.scm: Change 'derivation-prerequisites-to-build'
tests to 'derivation-build-plan' and adjust accordingly.
|
|
|
|
|
|
|
| |
* guix/derivations.scm (derivation-input): New procedure.
* tests/grafts.scm (make-derivation-input): Remove.
("graft-derivation, unused outputs not depended on"): Use
'derivation-input'.
|
|
|
|
|
|
|
|
|
|
| |
* guix/ui.scm (display-search-results): New procedure.
* guix/scripts/package.scm (find-packages-by-description): Remove
'unzip2' call and return a list of pairs.
(process-query): Change to use 'display-search-results'.
* guix/scripts/system/search.scm (find-service-types): Remove 'unzip2'
call and return a list of pairs.
(guix-system-search): Use 'display-search-results'.
|
|
|
|
|
|
|
| |
* guix/build/syscalls.scm (terminal-dimension): New procedure.
(terminal-columns): Rewrite in terms of 'terminal-dimension'.
(terminal-rows): New procedure.
* tests/syscalls.scm ("terminal-rows"): New test.
|
|
|
|
|
|
| |
* guix/ui.scm (relevance)[score]: Change to return 0 when one of REGEXPS
doesn't match.
* tests/ui.scm ("package-relevance"): New test.
|
|
|
|
|
| |
* gnu/build/accounts.scm (catch-ENOSYS): Remove.
(database-writer): Use 'fsync' instead of 'fdatasync'.
|
|
|
|
| |
* gnu/packages/emulators.scm (dosbox): Update to 0.74-3.
|
|
|
|
|
|
|
|
| |
* gnu/packages/sawfish.scm (rep-gtk): Update to 0.90.8.3.
[source]: Use HTTPS URI.
[arguments]: Add remove-autogen phase.
[native-inputs]: Add autoconf, automake and libtool.
[home-page]: Update URI.
|
|
|
|
|
|
|
|
| |
* gnu/packages/sawfish.scm (sawfish): Update to 1.12.0.
[source]: Use HTTPS URI.
[home-page]: Update URI.
Signed-off-by: Arun Isaac <arunisaac@systemreboot.net>
|
|
|
|
| |
* gnu/packages/finance (electron-cash): Update to 4.0.7.
|
|
|
|
| |
This reverts commit 46475f72ab6127e7818fdea4a0ea9cc07c60a5f4.
|
|
|
|
| |
This reverts commit 7754136e464e02284624ad05c196d9ec26099143.
|
|
|
|
| |
* gnu/packages/games.scm (supertux)[homepage]: Fix URL.
|
|
|
|
| |
* gnu/packages/text-editors.scm (texmacs): New variable.
|
|
|
|
|
|
|
|
| |
* gnu/packages/python-xyz.scm (python-pathpy): Update to 11.5.0.
[outputs]: Add separate "doc" output.
[native-inputs]: Add python-jaraco-packaging.
[arguments]: Enable tests; uncomment "build-doc" and "install-doc" phases;
replace "check" phase to skip flaky test.
|
|
|
|
| |
* gnu/packages/python-xyz.scm (python-jaraco-packaging): New variable.
|
|
|
|
| |
* gnu/packages/python-check.scm (python-pytest-virtualenv): New variable.
|
|
|
|
| |
* gnu/packages/python-check.scm (python-pytest-fixture-config): New variable.
|
|
|
|
| |
* gnu/packages/python-check.scm (python-pytest-shutil): New variable.
|
|
|
|
| |
* gnu/packages/python-check.scm (python-pytest-flake8): New variable.
|
|
|
|
| |
* gnu/packages/python-check.scm (python-pytest-checkdocs): New variable.
|
|
|
|
| |
* gnu/packages/python-xyz.scm (python-importlib-metadata): New variable.
|
|
|
|
| |
* gnu/packages/python-compression.scm (python-zipp): New variable.
|
|
|
|
| |
* gnu/packages/python-xyz.scm (python-setuptools-git): New variable.
|
|
|
|
| |
* gnu/packages/python-xyz.scm (python-contextlib2): New variable.
|
|
|
|
| |
* gnu/packages/python-xyz.scm (python-pathlib2): New variable.
|
|
|
|
| |
* gnu/packages/gl.scm (mesa-opencl-icd): New variable.
|
|
|
|
| |
* gnu/packages/gl.scm (mesa-opencl): New variable.
|
|
|
|
| |
* gnu/packages/llvm.scm (libclc): New variable.
|
|
|
|
|
|
|
| |
This is a follow-up to commit c5296e205b65a9b53553cf45be2ab223d5e82df5, which
updated llvm.
* gnu/packages/llvm.scm (libcxx): Update hash.
|
|
|
|
|
|
|
| |
* gnu/packages/genealogy.scm: New file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
|
|
|
|
|
|
| |
* gnu/packages/geo.scm (osm-gps-map): New variable.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
|
|
|
|
|
|
| |
* gnu/packages/python-xyz.scm (python-bsddb3): New variable.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
|
|
|
|
|
| |
* gnu/packages/guile-xyz.scm (python-on-guile)[arguments]: Add 'wrap'
phase.
|
|
|
|
| |
* gnu/packages/guile-xyz.scm (python-on-guile): Update to 00a51a2.
|
|
|
|
|
|
| |
* gnu/packages/astronomy.scm (celestia-gtk): New variable.
Co-authored-by: Ludovic Courtès <ludo@gnu.org>
|
|
|
|
|
|
| |
* gnu/packages/astronomy.scm (celestia): New variable.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
|
|
|
|
| |
* gnu/packages/bioconductor.scm (r-rsubread): New variable.
|
|
|
|
| |
* gnu/packages/lisp.scm (sbcl-cl-cookie): New variable.
|
|
|
|
| |
* gnu/packages/lisp.scm (sbcl-cl-reexport): New variable.
|
|
|
|
| |
* gnu/packages/lisp.scm (sbcl-closure-common): New variable.
|
|
|
|
| |
* gnu/packages/lisp.scm (sbcl-ieee-floats): New variable.
|