summaryrefslogtreecommitdiff
path: root/guix
Commit message (Collapse)AuthorAge
* Merge branch 'master' into core-updatesMark H Weaver2019-08-29
|\
| * import: cran: Add support for git repositories.Ricardo Wurmus2019-08-29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * guix/import/cran.scm (vcs-file?): New procedure. (download): Support downloading from git. (fetch-description): Add a clause for the 'git repository type. (files-match-pattern?): New procedure. (tarball-files-match-pattern?): Implement in terms of FILES-MATCH-PATTERN?. (directory-needs-fortran?, directory-needs-zlib?, directory-needs-pkg-config?): New procedures. (needs-fortran?, needs-zlib?, needs-pkg-config?): Rename these procedures... (tarball-needs-fortran?, tarball-needs-zlib?, tarball-needs-pkg-config?): ...to this, and use them. (file-hash): New procedure. (description->package): Handle the 'git repository type. * guix/import/utils.scm (package->definition): Handle package expression inside of a let. * guix/scripts/import.scm (guix-import): Handle let expressions. * doc/guix.texi (Invoking guix import): Document it.
| * import: cran: guix-import-cran: Use (guix import utils).Ricardo Wurmus2019-08-29
| | | | | | | | | | * guix/scripts/import/cran.scm (guix-import-cran): Use PACKAGE->DEFINITION from (guix import utils) instead of custom procedure.
| * deploy: Do not quote error messages.Ludovic Courtès2019-08-28
| | | | | | | | * guix/scripts/deploy.scm (guix-deploy): Do not quote the message.
| * remote, ssh: Show the command exit status upon failure.Ludovic Courtès2019-08-28
| | | | | | | | | | | | * guix/remote.scm (remote-pipe-for-gexp): Show the exit status in error message. * guix/ssh.scm (remote-inferior): Likewise.
| * diagnostics: Avoid highlighting complete messages.Ludovic Courtès2019-08-28
| | | | | | | | | | * guix/diagnostics.scm (%highlight-argument): Don't highlight ARG if it contains white space.
| * lint: Log diagnostics with 'info', not 'warning'.Ludovic Courtès2019-08-28
| | | | | | | | | | | | * guix/scripts/lint.scm (emit-warnings): Use 'info', not 'warning'. This removes the unhelpful "warning:" prefix that commit 3d33c93cef67d88bdc9409959f3c1f3857af09cf introduced.
| * swh: Correctly handle visits without a snapshot.Ludovic Courtès2019-08-28
| | | | | | | | | | | | | | | | | | | | | | | | As discussed at <https://sympa.inria.fr/sympa/arc/swh-devel/2019-08/msg00016.html>. * guix/swh.scm (string*): New procedure. (<visit>)[snapshot-url]: Pass 'string*' as the conversion procedure. [status]: Pass 'string->symbol' as the conversion procedure. (visit-snapshot): Return #f when 'visit-snapshot-url' returns #f. (lookup-origin-revision): Filter to visits for which 'visit-snapshot-url' is true.
| * swh: 'swh-download' prints debugging info.Ludovic Courtès2019-08-28
| | | | | | | | | | | | | | * guix/git-download.scm (git-fetch): Print a message before calling 'swh-download'. * guix/swh.scm (swh-download): Add #:log-port. Write debugging messages to LOG-PORT.
| * build/cargo-build-system: Remove 'update-cargo-lock phase.Efraim Flashner2019-08-28
| | | | | | | | | | | | | | | | | | * guix/build/cargo-build-system.scm (update-cargo-lock): Remove procedure. (configure): Delete Cargo.lock file if it exists. (%standard-phases): Remove 'update-cargo-lock. * doc/guix.texi (Build System)[cargo-build-system]: Remove references to the 'update-cargo-lock phase.
| * lint: Correct use of 'with-networking-fail-safe'.Ludovic Courtès2019-08-28
| | | | | | | | | | | | | | | | Fixes <https://bugs.gnu.org/37160>. Reported by Jonathan Brielmaier <jonathan.brielmaier@web.de>. * guix/lint.scm (check-for-updates): Make sure the first argument to 'with-networking-fail-safe' is the whole error message.
| * pack: Create /tmp in Docker images.Ludovic Courtès2019-08-27
| | | | | | | | | | | | | | | | | | | | Fixes <https://bugs.gnu.org/37161>. * guix/scripts/pack.scm (docker-image)[build]: Add a 'directory' entry for "/tmp" to DIRECTIVES. * tests/pack.scm ("docker-image + localstatedir"): Test the presence of /tmp. * gnu/tests/docker.scm (run-docker-test)["Load docker image and run it"]: Test the presence and permission bits of "/tmp".
| * docker: Take a list of directives instead of a list of symlinks.Ludovic Courtès2019-08-27
| | | | | | | | | | | | | | | | | | | | | | * guix/docker.scm (symlink-source, topmost-component): Remove. (directive-file): New procedure. (build-docker-image): Remove #:symlinks and add #:extra-files. Make a sub-directory "extra" and call 'evaluate-populate-directive' for EXTRA-FILES in that directory. * guix/scripts/pack.scm (docker-image)[build](symlink->directives, directives): New procedures. Pass #:extra-files instead of #:symlinks to 'build-docker-image'.
| * import: github: 'github-package?' uses 'package-upstream-name'.Ludovic Courtès2019-08-27
| | | | | | | | | | | | | | * guix/import/github.scm (updated-github-url): Use 'package-upstream-name' instead of 'package-name'. This allows 'github-package?' to match more packages, given an appropriate upstream name.
| * Merge branch 'wip-binaries'Mark H Weaver2019-08-26
| |\
| | * guix: copy-linux-headers: Extract procedure, add headers.Jan Nieuwenhuizen2019-08-15
| | | | | | | | | | | | | | | | | | * guix/build/make-bootstrap.scm (copy-linux-headers): New procedure; extract from make-stripped-libc and add headers for Mes bootstrap. (make-stripped-libc): Use it.
| * | packages: Apply target triplet in bag-transitive-host-inputs.David Thompson2019-08-26
| | | | | | | | | | | | | | | | | | | | | | | | Fixes a bug where propagated inputs that should be cross-compiled are instead compiled for the host system. * guix/packages.scm (bag-transitive-host-inputs): Call transitive-inputs in the context of the bag's target system triplet.
| * | swh: 'swh-download' checks return value of 'vault-fetch'.Ludovic Courtès2019-08-23
| | | | | | | | | | | | | | | | | | | | | | | | Reported by Björn Höfling <bjoern.hoefling@bjoernhoefling.de> in <https://bugs.gnu.org/36931>. * guix/swh.scm (swh-download): Check whether 'vault-fetch' return false before calling 'dump-port'.
| * | pack: '-R' honors the requested output.Ludovic Courtès2019-08-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes <https://bugs.gnu.org/36925>. Reported by Jesse Gibbons <jgibbons2357@gmail.com>. * guix/scripts/pack.scm (wrapped-package): Add 'output*' parameter. [build]: Define 'input' and 'target'; use them instead of #$package and #$output, respectively. (wrapped-manifest-entry): New procedure. (map-manifest-entries): Call PROC directly. (guix-pack): Pass WRAPPED-MANIFEST-ENTRY to 'map-manifest-entries'.
* | | Merge branch 'master' into core-updatesMark H Weaver2019-08-22
|\| |
| * | Revert "import: utils: Add hash-ref*."Mark H Weaver2019-08-22
| | | | | | | | | | | | This reverts commit 8a3b11d1eb21e54b4f3a3cbceffed8ce2c11512e.
| * | Revert "import: cpan: Adapt for the change to guile-json version 3."Mark H Weaver2019-08-22
| | | | | | | | | | | | This reverts commit 01ce7af25add55514f737af48ea6c127bedfde67.
| * | import: cpan: Adapt for the change to guile-json version 3.Christopher Baines2019-08-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In guile-json version 3, JSON objects are represented as hash tables, rather than alists. * guix/import/cpan.scm (string->license): Change the match expression to match on lists, rather than vectors. (module->dist-name, cpan-source-url, cpan-version): Change assoc-ref to hash-ref. (cpan-module->sexp): Change assoc-ref to hash-ref, and assoc-ref* to hash-ref*. * tests/cpan.scm ("source-url-http", "source-url-https"): Convert the alist to a hash table.
| * | import: utils: Add hash-ref*.Christopher Baines2019-08-21
| | | | | | | | | | | | | | | | | | | | | | | | With the change to guile-json version 3, JSON objects are represented as hash tables, rather than alists. The cpan importer uses assoc-ref* on a hash table, so add an equivalent function for hash tables. * guix/import/utils.scm (hash-ref*): New procedure.
| * | upstream: Gracefully handle archive type changes.Ludovic Courtès2019-08-17
| | | | | | | | | | | | | | | | | | | | | | | | | | | Previously, if the currently used archive type (e.g., "bz2") was unavailable for the new version, 'guix refresh -u' would crash instead of updating to the archive with the new type. * guix/upstream.scm (package-update/url-fetch): When URL is #f, pick the first of URLS; likewise for SIGNATURE-URL.
| * | refresh: Use the standard diagnostic procedures.Ludovic Courtès2019-08-17
| | | | | | | | | | | | | | | | | | * guix/scripts/refresh.scm (warn-no-updater): Use 'warning' instead of 'format'. (update-package): Use 'info' and 'warning' instead of 'format'.
| * | import: gnome: Update for Guile-JSON 3.x.Ludovic Courtès2019-08-17
| | | | | | | | | | | | | | | | | | | | | | | | | | | This is a followup to 81c3dc32244a17241d74eea9fa265edfcb326f6d. * guix/import/gnome.scm (jsonish->upstream-source): Use 'assoc-ref' instead of 'hash-ref'. (latest-gnome-release): Match a vector containing an alist, not a hash table. Use 'fold' instead of 'hash-fold' over RELEASES.
| * | derivations: Fix typo in docstring.Ludovic Courtès2019-08-17
| | | | | | | | | | | | | | | * guix/derivations.scm (derivation-build-plan): Fix typo in the docstring.
| * | derivations: Delete duplicate inputs when computing derivation hash.Ludovic Courtès2019-08-16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes <https://bugs.gnu.org/36777>. Reported by Carl Dong <contact@carldong.me>. * guix/derivations.scm (derivation/masked-inputs): Call 'delete-duplicates' on INPUTS. * tests/derivations.scm ("derivation with duplicate fixed-output inputs"): New test.
| * | channels: Add 'profile-channels'.Ludovic Courtès2019-08-16
| | | | | | | | | | | | | | | | | | * guix/channels.scm (profile-channels): New procedure. * guix/scripts/describe.scm (display-profile-info)[channels]: Define in terms of 'profile-channels'.
| * | import: cran: Support experiment and annotation packages.Ricardo Wurmus2019-08-16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * guix/import/cran.scm (%bioconductor-packages-list-url): Replace variable... (bioconductor-packages-list-url): ...with this procedure. (bioconductor-packages-list): Accept optional TYPE argument. (latest-bioconductor-package-version): Same. (fetch-description): Determine package type and use it in calls to LATEST-BIOCONDUCTOR-PACKAGE-VERSION and BIOCONDUCTOR-URI. (description->package): Pass package type to URI helper procedure; include package type in annotation or experiment packages from Bioconducter.
| * | build-system/r: bioconductor-uri: Take optional package type.Ricardo Wurmus2019-08-16
| | | | | | | | | | | | | | | * guix/build-system/r.scm (bioconductor-uri): Take optional TYPE argument to return annotation or experiment URLs.
| * | machine: Use 'become-command'.Jakob L. Kreuze2019-08-16
| | | | | | | | | | | | | | | | | | | | | | | | * gnu/machine/ssh.scm (managed-host-remote-eval): Pass an appropriate 'become-command' to 'remote-eval'. * guix/ssh.scm (remote-authorize-signing-key): Add optional 'become-command' argument. All callers changed.
| * | remote: Resolve missing 'G_'.Jakob L. Kreuze2019-08-16
| |/ | | | | | | * guix/remote.scm: Require (guix i18n).
| * remote: Use (%daemon-socket-uri) rather than hard-coded path.Jakob L. Kreuze2019-08-15
| | | | | | | | | | * guix/remote.scm (remote-eval): Use (%daemon-socket-uri) as the default value of 'socket-name' rather than hard-coded path.
| * machine: Automatically authorize the coordinator's signing key.Jakob L. Kreuze2019-08-15
| | | | | | | | | | | | | | | | | | | | * guix/ssh.scm (remote-authorize-signing-key): New variable. * gnu/machine/ssh.scm (deploy-managed-host): Authorize coordinator's signing key before any invocations of 'remote-eval'. (deploy-managed-host): Display an error if a signing key does not exist. * doc/guix.texi (Invoking guix deploy): Remove section describing manual signing key authorization. (Invoking guix deploy): Add section describing the 'authorize?' field.
| * machine: Implement 'roll-back-machine'.Jakob L. Kreuze2019-08-15
| | | | | | | | | | | | | | | | | | * gnu/machine.scm (roll-back-machine, &deploy-error, deploy-error?) (deploy-error-should-roll-back) (deploy-error-captured-args): New variable. * gnu/machine/ssh.scm (roll-back-managed-host): New variable. * guix/scripts/deploy.scm (guix-deploy): Roll-back systems when a deployment fails.
| * machine: Allow non-root users to deploy.Jakob L. Kreuze2019-08-15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * doc/guix.texi (Invoking guix deploy): Add section describing prerequisites for deploying as a non-root user. * guix/remote.scm (remote-pipe-for-gexp): New optional 'become-command' argument. (%remote-eval): New optional 'become-command' argument. (remote-eval): New 'become-command' keyword argument. * guix/ssh.scm (remote-inferior): New optional 'become-command' argument. (inferior-remote-eval): New optional 'become-command' argument. (remote-authorize-signing-key): New optional 'become-command' argument. * gnu/machine/ssh.scm (machine-become-command): New variable. (managed-host-remote-eval): Invoke 'remote-eval' with the '#:become-command' keyword. (deploy-managed-host): Invoke 'remote-authorize-signing-key' with the '#:become-command' keyword.
| * remote: Remove '--system' argument.Jakob L. Kreuze2019-08-14
| | | | | | | | | | | | | | | | * gnu/services.scm (activation-script): Return a <program-file> rather than a <scheme-file>. * gnu/deploy.scm (guix-deploy): Remove handling for '--system'. (show-help): Remove documentation for '--system'. (%default-options): Remove default setting for 'system'.
| * remote: Build derivations appropriate for the remote'sJakob L. Kreuze2019-08-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * gnu/machine/ssh.scm (machine-ssh-configuration): Add 'system' field. (managed-host-remote-eval): Pass 'system' field to 'remote-eval'. (machine-check-building-for-appropriate-system): New variable. (check-deployment-sanity): Add call to 'machine-check-building-for-appropriate-system'. * doc/guix.texi (Invoking guix deploy): Describe new 'system' field. * guix/ssh.scm (remote-system): New variable. * guix/remote.scm (remote-eval): Use result of 'remote-system' when lowering the G-Expression. (remote-eval): Add 'system' keyword argument. (trampoline): Return a <program-file> rather than a <scheme-file>.
* | Merge branch 'master' into core-updatesMarius Bakke2019-08-13
|\|
| * Merge branch 'master' into stagingMarius Bakke2019-08-08
| |\
| | * import: hackage: Update list of ghc-included packages.Robert Vollmert2019-08-07
| | | | | | | | | | | | | | | | | | | | | It turns out the list in the release notes is incomplete. This updates the list from /gnu/store/<hash>-ghc-8.4.3/lib/ghc-8.4.3. * guix/import/hackage.scm (ghc-standard-libraries): Update list.
| * | Merge branch 'master' into stagingMarius Bakke2019-08-08
| |\|
| | * Merge remote-tracking branch 'origin/master' into wip-texliveRicardo Wurmus2019-08-07
| | |\
| | | * deploy: Use all machine modules when loading deploymentJakob L. Kreuze2019-08-07
| | | | | | | | | | | | | | | | | | | | | | | | * guix/scripts/deploy.scm (load-source-file): Enumerate and include all submodules of (gnu machine) when loading the provided deployment specification.
| | | * reconfigure: Fix GC root installation.Jakob L. Kreuze2019-08-06
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes <https://bugs.gnu.org/36942>. Reported by ison <ison@airmail.cc>. guix/scripts/system/reconfigure.scm (install-bootloader-program): Switch new symlink to the canonical bootloader configuration file. Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
| | * | Merge remote-tracking branch 'origin/master' into wip-texliveRicardo Wurmus2019-08-06
| | |\|
| | * | build-system/texlive: Add texlive-origin.Ricardo Wurmus2019-07-23
| | | | | | | | | | | | | | | | * guix/build-system/texlive.scm (texlive-origin): New procedure.
| | * | guix: Add svn-multi-reference.Ricardo Wurmus2019-07-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * guix/svn-download.scm (<svn-multi-reference>): New record type. (svn-multi-reference-url, svn-multi-reference-revision, svn-multi-reference-locations, svn-multi-reference-user-name, svn-multi-reference-password, svn-multi-fetch): New procedures.