~ruther/guix-local

ref: 5899fafbfefcd7682aec8f2caaaad3add678a3c4 guix-local/guix d---------
5899fafb — Roel Janssen 9 years ago
graph: Add Cypher backend.

* guix/graph.scm (%cypher-backend): New variable.
* doc/guix.texi: Add documentation for the Cypher backend of 'guix graph'.
bc0e6c93 — Ludovic Courtès 9 years ago
scripts: Fix singular/plural message mismatch.

* guix/scripts.scm (warn-about-old-distro): Swap singular and plural
forms in 'N_' call.
c6cfec42 — Ben Woodcroft 9 years ago
build-system: Add package-with-ocaml4.01.

* guix/build-system/ocaml.scm (default-ocaml4.01, default-ocaml4.01-findlib,
package-with-explicit-ocaml, package-with-ocaml4.01,
strip-ocaml4.01-variant): New variables.
7fd952e0 — Ludovic Courtès 9 years ago
scripts: Warn about old distro.

Fixes <http://bugs.gnu.org/25852>.
Suggested by Mark H Weaver <mhw@netris.org>.

* guix/scripts.scm (%distro-age-warning): New variable.
(warn-about-old-distro): New procedure.
* guix/scripts/package.scm (process-actions): Call
'warn-about-old-distro'.
* guix/scripts/system.scm (process-action): Likewise.
30d2397f — Ludovic Courtès 9 years ago
ui: 'string->duration' correctly handles hours.

* guix/ui.scm (string->duration): Add missing '=>' for hours.
* tests/ui.scm ("duration, 2 hours"): New test.
59135f0d — Hartmut Goebel 9 years ago
guix: Add java-utils.

* guix/build/java-utils.scm: New file.
* guix/build-system/ant.scm: Use it.
* Makefile.am (MODULES): Add it.

Co-authored-by: Ricardo Wurmus <rekado@elephly.net>
52a791f5 — Ricardo Wurmus 9 years ago
ant-build-system: Add default "check" target.

* guix/build-system/ant.scm (ant-build): Change default test target to
"check"; add "test-dir" argument.
* guix/build/ant-build-system.scm (default-build.xml): Add "test-dir"
argument; add ant targets "compile-tests" and "check".
(configure): Add "test-dir" argument; pass it to "default-build.xml".
8df64f73 — Hartmut Goebel 9 years ago
ant-build-system: Allow specifying source directory.

* guix/build-system/ant.scm (ant-build),
guix/build/ant-build-system.scm (default-build.xml): Add parameter
source-dir.
* guix/build/ant-build-system.scm (configure): Pass source-dir on to
default-build.xml.
* doc/guix.texi (Build Systems): Document it.

Co-authored-by: Ricardo Wurmus <rekado@elephly.net>
07a0f68f — Ludovic Courtès 9 years ago
pull: Build package modules without optimizations on Guile 2.2.

* guix/build/pull.scm (%default-optimizations)
(%lightweight-optimizations): New variables.
(optimization-options): New procedure.  Taken from
build-aux/compile-all.scm.
(build-guix): Pass it to 'compile-file'.
838ba73d — Ludovic Courtès 9 years ago
pull: Build with the matching Guile major version.

Previously, 'guix pull' would always build with Guile 2.0.
Now it builds with the Guile that matches (effective-version).

* build-aux/build-self.scm (false-if-wrong-guile)
(package-for-current-guile): New procedures.
(guile-json, guile-ssh): Use it.
(guile-for-build): New procedure.
(build): Use (effective-version) instead of the hard-coded "/2.0".
Add (guix modules) closure to #:modules argument.  Pass
\#:guile-for-build argument to 'gexp->derivation'.
* guix/build/pull.scm (depends-on-guile-ssh?, all-scheme-files): New
procedures.
(build-guix): Show the output of (version).  Use the above procedures.
Filter out files that match 'depends-on-guile-ssh?' when (ssh session)
is missing.
402e98c5 — Ludovic Courtès 9 years ago
pull: Use 'with-store'.

* guix/scripts/pull.scm (guix-pull): Remove call to 'open-connection'.
Use 'with-store' instead.
4902d3c4 — Ludovic Courtès 9 years ago
pull: Honor the standard build options.

Reported by Niall Dooley <dooleyn@gmail.com>
in <https://lists.gnu.org/archive/html/help-guix/2017-05/msg00038.html>.

* guix/scripts/pull.scm (%options): Add --dry-run and all of
%STANDARD-BUILD-OPTIONS.
(show-help): Add call to 'show-build-options-help'.
(%default-options): Add 'system', 'substitutes?', 'graft?',
'max-silent-time', and 'verbosity'.
(guix-pull)[parse-options]: Remove.
Use 'parse-command-line' instead.  Honor --dry-run.
ba2260db — Ludovic Courtès 9 years ago
git-download: Fix 'git-predicate' file membership.

Previously, it the predicate would return #t for "m4/ChangeLog" if
"ChangeLog" (in the top-level directory) was in FILES.  This commit
fixes the ambiguity.

* guix/git-download.scm (git-predicate): Add 'inodes' variable.  Use it
to determine file membership.
950d51c9 — Ludovic Courtès 9 years ago
store: Use 'TCP_NODELAY' when connecting to a daemon over PF_INET.

* guix/store.scm (open-inet-socket): Add 'cond-expand' form to define
'TCP_NODELAY' when needed.  Add call to 'setsockopt' after 'connect'.
40d728a8 — Leo Famulari 9 years ago
Revert "guix: git: Add new module."

This reverts commit a70b784708fb5e1b78430aa793d89ca04bc641a8.

Commit a70b784708f caused `guix pull` to fail:

ERROR: In procedure scm-error:
ERROR: no code for module (git)
a70b7847 — Mathieu Othacehe 9 years ago
guix: git: Add new module.

* guix/git.scm: New file.
* configure.ac: Check for (guile git).
* Makefile.am: Build guix/git.scm if (guile git) is available.
7e3f7acb — Danny Milosavljevic 9 years ago
scripts: Remove profile-grub-entries.

* guix/scripts/system.scm (profile-grub-entries): Delete variable.
bf8b0916 — Danny Milosavljevic 9 years ago
system: grub: Use boot-parameters instead of menu-entry where possible.

* gnu/system/grub.scm (boot-parameters->menu-entry): New variable.
(grub-configuration-file): Use boot-parameters
instead of menu-entry where possible.
* guix/scripts/system.scm (profile-boot-parameters): Update docstring.
(reinstall-grub): Use profile-boot-parameters.
(perform-action): Use profile-boot-parameters.
0315abe6 — Danny Milosavljevic 9 years ago
scripts: Make boot-parameters label include generation number and time.

* guix/scripts/system.scm (system->boot-parameters): Make label include
generation number and time.
9530e73b — Danny Milosavljevic 9 years ago
system: Introduce read-boot-parameters-file.

* gnu/system.scm (read-boot-parameters): Remove export.
(read-boot-parameters-file): New variable. Export it.
* guix/scripts/system.scm (profile-boot-parameters): Use
read-boot-parameters-file.
(profile-grub-entries): Use read-boot-parameters-file.
(reinstall-grub): Use read-boot-parameters-file.
(display-system-generation): Use read-boot-parameters-file.
Next