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