~ruther/guix-local

8a16d064 — Ludovic Courtès 10 years ago
records: Add support for 'innate' fields.

* guix/records.scm (make-syntactic-constructor): Add #:innate parameter.
  [record-inheritance]: Honor it.
  [innate-field?]: New procedure.
  (define-record-type*)[innate-field?]: New procedure.
  Pass #:innate to 'make-syntactic-constructor'.
* tests/records.scm ("define-record-type* & inherit & innate",
  "define-record-type* & thunked & innate"): New tests.
792798f4 — Ludovic Courtès 10 years ago
records: "options" → "properties".

* guix/records.scm (define-record-type*): Change "options" to "properties".
faef3b6a — Ludovic Courtès 10 years ago
records: Factorize field property predicates.

* guix/records.scm (define-field-property-predicate): New macro.
  (define-record-type*)[thunked-field?, delayed-field?]: Use it.
b9c86473 — Ludovic Courtès 10 years ago
records: Separate default-value handling.

* guix/records.scm (make-syntactic-constructor)[default-values]: New
  variable.
  [field-default-value]: New procedure.
  Use them.
39fc041a — Ludovic Courtès 10 years ago
records: Replace 'eval-when' with a proper 'define-syntax'.

* guix/records.scm (make-syntactic-constructor): Remove enclosing
  'eval-when'.  Turn into a 'syntax-rules' macro.
b45ce07a — Mark H Weaver 10 years ago
gnu: gnupg: Update to 2.1.5.

* gnu/packages/gnupg.scm (gnupg): Update to 2.1.5.
4510b2da — 宋文武 10 years ago
gnu: Add librest.

* gnu/packages/gnome.scm (librest): New variable.
8b1c8e4e — Mark H Weaver 10 years ago
gnu: inetutils: Update to 1.9.4.

* gnu/packages/admin.scm (inetutils): Update to 1.9.4.
a43b55f1 — Ludovic Courtès 10 years ago
guix build: Allow directories to be passed to --with-source.

* guix/scripts/build.scm (package-with-source)[tarball-base-name]: Gracefully
  handle file names that lack an extension.
  Pass #:recursive? #t to 'download-to-store'.
* guix/download.scm (download-to-store): Add #:recursive? parameter and pass
  it to 'add-to-store'.
* doc/guix.texi (Invoking guix build): Add an example of --with-source with a
  directory.
c2590362 — Ludovic Courtès 10 years ago
environment: Connect to the store after the command line has been parsed.

* guix/scripts/environment.scm (guix-environment): Call 'parse-command-line'
  outside of 'with-store'.  This allows things like --help to run even if the
  daemon is not running.
57cd353d — Ludovic Courtès 10 years ago
build: Build man pages after the corresponding code.

* doc.am (doc/guix.1): Remove extraneous $(top_builddir)/.
  (doc/guix-daemon.1): Fix dependency.
  (doc/guix-$(1).1): Remove extraneous $(top_builddir)/.  Depend on the .go
  files instead of the .scm file.  Add dependency on scripts/guix.
7887bcbf — Ludovic Courtès 10 years ago
daemon: Internationalize guix-daemon.

* nix/nix-daemon/guix-daemon.cc (n_, _): New macros.
  (guix_textdomain): New variable.
  (doc): Use 'n_'.
  (options): Likewise, and lowercase messages.
  (argp): Add initializer for 'argp_domain' field.
  (parse_opt): Use '_' for messages.
  (main): Likewise, and add calls to 'setlocale', 'bindtextdomain', and
  'textdomain'.
* daemon.am (guix_daemon_CPPFLAGS): Add -DLOCALEDIR.
* po/guix/Makevars (XGETTEXT_OPTIONS): Remove '--language' option.  Add
  '--keyword=n_'.
* po/guix/POTFILES.in: Add guix-daemon.cc.
3dbb0e5f — Mark H Weaver 10 years ago
gnu: qemu: Add fix for CVE-2015-3209.

* gnu/packages/patches/qemu-CVE-2015-3209.patch: New file.
* gnu-system.am (dist_patch_DATA): Add it.
* gnu/packages/qemu.scm (qemu): Add patch.
e51943f8 — Mark H Weaver 10 years ago
gnu: cups: Update to 2.0.3.

* gnu/packages/cups.scm (cups): Update to 2.0.3.
63398a25 — Mark H Weaver 10 years ago
gnu: linux-libre: Update to 4.0.5.

* gnu/packages/linux.scm (linux-libre): Update to 4.0.5.
8ac0368e — Ludovic Courtès 10 years ago
guix-register: Use C++11 range 'for' loop instead of 'foreach' macro.

* nix/guix-register/guix-register.cc (register_validity): Use C++11 range
  'for' loop instead of 'foreach'.
36975584 — Ludovic Courtès 10 years ago
guix-register: Perform deduplication even when --prefix is passed.

Fixes <http://bugs.gnu.org/19044>.

* nix/guix-register/guix-register.cc (register_validity): Change the (optimize
  && prefix.empty ()) condition to just (optimize).  Change settings.nixStore
  around the loop.  Prepend PREFIX to the argument passed to 'optimisePath'.
* tests/guix-register.sh: Use 'guix-register -p' with duplicate files, and
  make sure they are deduplicated on the target.  Adjust existing tests.
4ae1fe14 — Ludovic Courtès 10 years ago
tests: Make the daemon socket explicit in guix-register test.

* tests/guix-register.sh: Define GUIX_DAEMON_SOCKET.  Pass it explicitly to
  'open-connection'.
78acff7c — Ludovic Courtès 10 years ago
guix system: init: Overwrite the items in the target store.

Fixes <http://bugs.gnu.org/20722>.
Reported by Eric Bavier <ericbavier@openmailbox.org>.

* guix/scripts/system.scm (copy-item): Check whether DEST exists and remove it
  if it does.
aea9b232 — Ludovic Courtès 10 years ago
install: Really overwrite TARGET/var/guix/profiles/system-1-link.

* gnu/build/install.scm (populate-root-file-system): Delete system-1-link
  under TARGET, not under /.  Use 'catch' and check for EEXIST instead of
  (false-if-exception (delete-file ...)).
Next