aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* tests: Avoid TCP port collision between lint.scm and guix-daemon.sh.Ludovic Courtès2019-06-27
| | | | | | | | This could lead to random deadlocks in one of these two tests when running "make check -j5". * tests/guix-daemon.sh (tcp_socket): Change port to 9998 to avoid collision with tests/lint.scm.
* ui: 'show-derivation-outputs' accepts <derivation-input> records.Ludovic Courtès2019-06-27
| | | | | * guix/ui.scm (show-derivation-outputs): Handle <derivation-input> records.
* ui: 'show-what-to-build' accepts derivation inputs.Ludovic Courtès2019-06-27
| | | | | | | | 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'.
* packages: 'specification->package+output' distinguishes "no output specified".Ludovic Courtès2019-06-27
| | | | | | | | | | | | | 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.
* derivations: 'build-derivations' can be passed derivation inputs.Ludovic Courtès2019-06-27
| | | | | | | * guix/derivations.scm (build-derivations): Accept <derivation-input> records among DERIVATIONS. * tests/derivations.scm ("build-derivations with specific output"): Test it.
* derivations: 'derivation' preserves pointer equality.Ludovic Courtès2019-06-27
| | | | | * guix/derivations.scm (derivation): Check if FILE is already in %DERIVATION-CACHE and return it if it is.
* derivations: <derivation-input> now aggregates a <derivation>.Ludovic Courtès2019-06-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>.
* graph: Use 'derivation-input-derivation'.Ludovic Courtès2019-06-27
| | | | | * guix/scripts/graph.scm (derivation-dependencies): Use 'derivation-input-derivation'.
* ui: 'show-what-to-build' uses 'derivation-build-plan'.Ludovic Courtès2019-06-27
| | | | | | | * 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.
* derivations: Rewrite and replace 'derivations-prerequisites-to-build'.Ludovic Courtès2019-06-27
| | | | | | | | | | | | 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.
* derivations: Add 'derivation-input'.Ludovic Courtès2019-06-27
| | | | | | | * guix/derivations.scm (derivation-input): New procedure. * tests/grafts.scm (make-derivation-input): Remove. ("graft-derivation, unused outputs not depended on"): Use 'derivation-input'.
* ui: Add 'display-search-results' and use it.Ludovic Courtès2019-06-27
| | | | | | | | | | * 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'.
* syscalls: Add 'terminal-rows'.Ludovic Courtès2019-06-27
| | | | | | | * 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.
* ui: 'relevance' considers regexps connected with a logical and.Ludovic Courtès2019-06-27
| | | | | | * guix/ui.scm (relevance)[score]: Change to return 0 when one of REGEXPS doesn't match. * tests/ui.scm ("package-relevance"): New test.
* accounts: Use 'fsync' instead of 'fdatasync'.Ludovic Courtès2019-06-27
| | | | | * gnu/build/accounts.scm (catch-ENOSYS): Remove. (database-writer): Use 'fsync' instead of 'fdatasync'.
* gnu: dosbox: Update to 0.74-3.Rutger Helling2019-06-27
| | | | * gnu/packages/emulators.scm (dosbox): Update to 0.74-3.
* gnu: rep-gtk: Update to 0.90.8.3.Arun Isaac2019-06-27
| | | | | | | | * 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: sawfish: Update to 1.12.0.Benjamin Slade2019-06-27
| | | | | | | | * 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: electron-cash: Update to 4.0.7.Vagrant Cascadian2019-06-26
| | | | * gnu/packages/finance (electron-cash): Update to 4.0.7.
* Revert "gnu: openssh: Don't create the PRIVSEP_PATH directory."Tobias Geerinckx-Rice2019-06-27
| | | | This reverts commit 46475f72ab6127e7818fdea4a0ea9cc07c60a5f4.
* Revert "gnu: openssh: Clean-up custom install phase."Tobias Geerinckx-Rice2019-06-27
| | | | This reverts commit 7754136e464e02284624ad05c196d9ec26099143.
* gnu: supertux: Fix homepage.Nicolas Goaziou2019-06-26
| | | | * gnu/packages/games.scm (supertux)[homepage]: Fix URL.
* gnu: Add texmacs.Andreas Enge2019-06-26
| | | | * gnu/packages/text-editors.scm (texmacs): New variable.
* gnu: python-pathpy: Update to 11.5.0.Ricardo Wurmus2019-06-26
| | | | | | | | * 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: Add python-jaraco-packaging.Ricardo Wurmus2019-06-26
| | | | * gnu/packages/python-xyz.scm (python-jaraco-packaging): New variable.
* gnu: Add python-pytest-virtualenv.Ricardo Wurmus2019-06-26
| | | | * gnu/packages/python-check.scm (python-pytest-virtualenv): New variable.
* gnu: Add python-pytest-fixture-config.Ricardo Wurmus2019-06-26
| | | | * gnu/packages/python-check.scm (python-pytest-fixture-config): New variable.
* gnu: Add python-pytest-shutil.Ricardo Wurmus2019-06-26
| | | | * gnu/packages/python-check.scm (python-pytest-shutil): New variable.
* gnu: Add python-pytest-flake8.Ricardo Wurmus2019-06-26
| | | | * gnu/packages/python-check.scm (python-pytest-flake8): New variable.
* gnu: Add python-pytest-checkdocs.Ricardo Wurmus2019-06-26
| | | | * gnu/packages/python-check.scm (python-pytest-checkdocs): New variable.
* gnu: Add python-importlib-metadata.Ricardo Wurmus2019-06-26
| | | | * gnu/packages/python-xyz.scm (python-importlib-metadata): New variable.
* gnu: Add python-zipp.Ricardo Wurmus2019-06-26
| | | | * gnu/packages/python-compression.scm (python-zipp): New variable.
* gnu: Add python-setuptools-git.Ricardo Wurmus2019-06-26
| | | | * gnu/packages/python-xyz.scm (python-setuptools-git): New variable.
* gnu: Add python-contextlib2.Ricardo Wurmus2019-06-26
| | | | * gnu/packages/python-xyz.scm (python-contextlib2): New variable.
* gnu: Add python-pathlib2.Ricardo Wurmus2019-06-26
| | | | * gnu/packages/python-xyz.scm (python-pathlib2): New variable.
* gnu: Add mesa-opencl-icd.Ricardo Wurmus2019-06-26
| | | | * gnu/packages/gl.scm (mesa-opencl-icd): New variable.
* gnu: Add mesa-opencl.Ricardo Wurmus2019-06-26
| | | | * gnu/packages/gl.scm (mesa-opencl): New variable.
* gnu: Add libclc.Ricardo Wurmus2019-06-26
| | | | * gnu/packages/llvm.scm (libclc): New variable.
* gnu: libcxx: Update hash.Ricardo Wurmus2019-06-26
| | | | | | | This is a follow-up to commit c5296e205b65a9b53553cf45be2ab223d5e82df5, which updated llvm. * gnu/packages/llvm.scm (libcxx): Update hash.
* gnu: Add grampsGuillaume LE VAILLANT2019-06-26
| | | | | | | * gnu/packages/genealogy.scm: New file. * gnu/local.mk (GNU_SYSTEM_MODULES): Add it. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
* gnu: Add osm-gps-mapGuillaume LE VAILLANT2019-06-26
| | | | | | * gnu/packages/geo.scm (osm-gps-map): New variable. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
* gnu: Add python-bsddb3Guillaume LE VAILLANT2019-06-26
| | | | | | * gnu/packages/python-xyz.scm (python-bsddb3): New variable. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
* gnu: python-on-guile: Wrap 'python' executable.Ludovic Courtès2019-06-26
| | | | | * gnu/packages/guile-xyz.scm (python-on-guile)[arguments]: Add 'wrap' phase.
* gnu: python-on-guile: Update to 00a51a2.Ludovic Courtès2019-06-26
| | | | * gnu/packages/guile-xyz.scm (python-on-guile): Update to 00a51a2.
* gnu: Add celestia-gtk.Amar Singh2019-06-26
| | | | | | * gnu/packages/astronomy.scm (celestia-gtk): New variable. Co-authored-by: Ludovic Courtès <ludo@gnu.org>
* gnu: Add celestia.Amar Singh2019-06-26
| | | | | | * gnu/packages/astronomy.scm (celestia): New variable. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
* gnu: Add r-rsubread.Ricardo Wurmus2019-06-26
| | | | * gnu/packages/bioconductor.scm (r-rsubread): New variable.
* gnu: Add sbcl-cl-cookie.Pierre Neidhardt2019-06-26
| | | | * gnu/packages/lisp.scm (sbcl-cl-cookie): New variable.
* gnu: Add sbcl-cl-reexport.Pierre Neidhardt2019-06-26
| | | | * gnu/packages/lisp.scm (sbcl-cl-reexport): New variable.
* gnu: Add sbcl-closure-common.Pierre Neidhardt2019-06-26
| | | | * gnu/packages/lisp.scm (sbcl-closure-common): New variable.