~ruther/guix-local

ref: bce7526f9a7d4e26242d3128157e30c2fa7ecb0c guix-local/guix d---------
bce7526f — Ludovic Courtès 11 years ago
Add comments about global memoization.

* guix/build-system/gnu.scm (standard-inputs): Add comment about
  misplaced memoization.
* guix/packages.scm (cache): Likewise.
2aa6efb0 — Cyril Roelandt 11 years ago
guix package: add a "show" option.

* doc/guix.texi: Update the documentation.
* guix/scripts/package.scm: Add a "show" option.
* tests/guix-package.sh: Add a test for the "show" option.
9c0fc279 — Cyril Roelandt 11 years ago
ui: add the "dependencies" field to package->recutils:

* guix/ui.scm (package->recutils): Print the dependencies of the package.
65ea7111 — Ludovic Courtès 11 years ago
guix refresh: Use (ice-9 format).

* guix/scripts/refresh.scm: Use (ice-9 format).
8334cf5b — Ludovic Courtès 11 years ago
guix system: Factorize 'copy-closure'.

* guix/scripts/system.scm (copy-closure): Rename to...
  (copy-item): ... this.
  (copy-closure): New procedure.
  (install): Use it, and remove redundant code.
7d193ec3 — Eric Bavier 11 years ago
guix: refresh: Add --list-dependent option.

* guix/packages.scm (package-direct-inputs): New procedure.
* gnu/packages.scm (vhash-refq, package-direct-dependents)
  (package-transitive-dependents, package-covering-dependents): New procedures.
* guix/scripts/refresh.scm (%options, show-help, guix-refresh): Add
  --list-dependent option.
* doc/guix.texi (Invoking guix refresh): Document '--list-dependent' option.
516e3b6f — Eric Bavier 11 years ago
guix: utils: Add fold-tree and fold-tree-leaves.

* guix/utils.scm (fold-tree, fold-tree-leaves): New functions.
* tests/utils.scm: Add tests for them.
66c2703f — Ludovic Courtès 11 years ago
install: Set the store's permission to #o1775.

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

* guix/build/install.scm (directives): Add mode #o1775 for STORE.
a52127c0 — Ludovic Courtès 11 years ago
guix system: init: Always use /var/guix as the target state directory.

Fixes <http://bugs.gnu.org/18049>.
Reported by Marek Benc <merkur32@gmail.com>.

* guix/scripts/system.scm (copy-closure): Pass #:state-directory to
  'register-path'.
689142cd — Ludovic Courtès 11 years ago
guix-register: Add '--state-directory' parameter.

* nix/guix-register/guix-register.cc (GUIX_OPT_STATE_DIRECTORY): New
  macro.
  (parse_opt): Honor it.
* tests/guix-register.sh: Add test with '--state-directory'.
* guix/store.scm (register-path): Add #:state-directory parameter.
a1906758 — Ludovic Courtès 11 years ago
records: Report unknown field names in inheriting forms.

* guix/records.scm (define-record-type*)[record-inheritance]: Check for
  unexpected field names.
* tests/records.scm ("define-record-type* with let* behavior"): Return
  #t, not *unspecified*.
  ("define-record-type* & inherit & extra initializers"): New test.
b1353e7a — Ludovic Courtès 11 years ago
records: Factorize error-reporting macro.

* guix/records.scm (record-error): New macro.
  (define-record-type*)[error*]: Remove.
  Use 'record-error' instead.
2cf0ea0d — Ludovic Courtès 11 years ago
gexp: Gracefully handle printing of gexps with spliced references.

* guix/gexp.scm (write-gexp): Wrap 'write' call in
  'false-if-exception'.
* tests/gexp.scm ("printer", "printer vs. ungexp-splicing"): New tests.
dc254e05 — Ludovic Courtès 11 years ago
gexp: Build 'gexp->file' derivations locally.

* guix/gexp.scm (gexp->file): Add #:local-build? argument.
49d91de7 — Eric Bavier 11 years ago
guix: refresh: Correctly identify invalid package names.

* guix/scripts/refresh.scm (guix-refresh): Check for null list
  returned by find-packages-by-name rather than #f.
3942305e — Ludovic Courtès 11 years ago
guix system: reconfigure: Always use "/" as GRUB's target file system.

* guix/scripts/system.scm (perform-action) <reconfigure>: Wrap
  'install-grub' call in 'false-if-exception'.  Always use "/" as the
  target.
314a83ef — Ludovic Courtès 11 years ago
guix system: Fix return value for 'reconfigure'.

* guix/scripts/system.scm (perform-action) <reconfigure>: Add missing
  'return' expression.
3485716f — Ludovic Courtès 11 years ago
install: Make /var/db and /mnt.

* guix/build/install.scm (directives): Add /var/db and /mnt.
8e42796b — Ludovic Courtès 11 years ago
guix system: Convert to monadic style.

* guix/scripts/system.scm (references*, topologically-sorted*,
  show-what-to-build*): New procedures.
  (copy-closure): Turn into a monadic procedure.
  (install): Likewise, and adjust parameter list.
  (switch-to-system): Likewise.
  (system-derivation-for-action, grub.cfg, maybe-build, perform-action):
  New procedures.
  (guix-system): Use them.
66670cf3 — Ludovic Courtès 11 years ago
vm: Add support for i686.

Partially fixes <http://bugs.gnu.org/18002>.
Reported by David Thompson <dthompson2@worcester.edu>.

* guix/build/vm.scm (qemu-command): Add optional 'system' parameter.
  Special-case "^i[3456]86$".
* gnu/system/vm.scm (system-qemu-image/shared-store-script): Use it.
Next