~ruther/guix-local

ref: be58d01a7e60601eb7b00a5fd3b724fdafb8dd29 guix-local/guix d---------
be58d01a — Ludovic Courtès 12 years ago
build-system/gnu: Write debug files to the "debug" sub-derivation, if any.

* guix/build/gnu-build-system.scm (strip): Add `objcopy-command' keyword
  parameter.
  [debug-output, debug-file-extension]: New variables.
  [debug-file, make-debug-file, add-debug-link]: New procedures.
  [strip-dir]: Use them.
d475b259 — Ludovic Courtès 12 years ago
utils: Re-export `alist-cons' and `alist-delete'.

* guix/build/utils.scm: Re-export `alist-cons' and `alist-delete'.
a3cff41d — Ludovic Courtès 12 years ago
build-system/gnu: `package-with-explicit-inputs' skips non-GBS packages.

* guix/build-system/gnu.scm (package-with-explicit-inputs)[rewritten-input]:
  Leave P unchanged if its build system is not GNU-BUILD-SYSTEM.
7e873a67 — Ludovic Courtès 12 years ago
build-system/gnu: Augment `package-with-explicit-inputs' for cross builds.

* guix/build-system/gnu.scm (package-with-explicit-inputs): Add
  `native-inputs' keyword parameter.  Allow INPUTS and NATIVE-INPUTS to
  be thunks.
ac5c1cec — Ludovic Courtès 12 years ago
build-system/trivial: Don't bind `%target' in the builder.

* guix/build-system/trivial.scm (trivial-cross-build): Don't bind
  `%target' here since this causes problem when BUILDER
  contains (use-modules ...) clauses, and can be achieved differently
  anyway.
f7c34290 — Ludovic Courtès 12 years ago
build-system/gnu: Disable test suite when cross building.

* guix/build-system/gnu.scm (gnu-cross-build): Change #:tests? to
  default to #f.
b15669f3 — Ludovic Courtès 12 years ago
utils: `set-path-environment-variable' calls `unsetenv' for empty values.

* guix/build/utils.scm (set-path-environment-variable): When VALUE is
  the empty string, call `unsetenv' instead of `setenv'.
* gnu/packages/guile.scm (guile-2.0)[arguments]: Remove `unsetenv'
  trick.
2f41f51c — Ludovic Courtès 12 years ago
build-system/gnu: Set #:tests? to #f when cross-compiling.

* guix/build/gnu-build-system.scm (check): Add `target' formal
  parameter.  Change `tests?' to default to (not target).
4ca968eb — Ludovic Courtès 12 years ago
build-system/gnu: Save `environment-variables' after each phase.

* guix/build/gnu-build-system.scm (set-paths): Move `system' call to...
  (gnu-build): ... here.
56c092ce — Ludovic Courtès 12 years ago
build-system/gnu: Unify with (guix build-system gnu-cross-build).

* guix/build/gnu-build-system.scm (set-paths): Add `native-inputs' and
  `native-search-paths' keyword parameters.  Honor them.
  (configure): Add `target' and `native-inputs' keyword parameters.
  Look for Bash in NATIVE-INPUTS or INPUTS.  Pass `--host' when TARGET
  is true.
  (strip): Add `strip-command' keyword parameter.  Use it.
* guix/build/gnu-cross-build.scm: Remove.
* Makefile.am (MODULES): Adjust accordingly.
* gnu/packages/acl.scm, gnu/packages/attr.scm, gnu/packages/base.scm,
  gnu/packages/bash.scm, gnu/packages/gawk.scm,
  gnu/packages/gettext.scm, gnu/packages/guile.scm,
  gnu/packages/libffi.scm, gnu/packages/libsigsegv.scm,
  gnu/packages/linux.scm, gnu/packages/ncurses.scm,
  gnu/packages/readline.scm, guix/build-system/gnu.scm: Replace
  `%standard-cross-phases' by `%standard-phases'.  Remove references
  to (guix build gnu-cross-build).
d501fad1 — Ludovic Courtès 12 years ago
Merge branch 'master' into core-updates

Conflicts:
	gnu/packages/make-bootstrap.scm
fe1818e2 — Ludovic Courtès 12 years ago
package: Fix i18n of the number of packages message.

* guix/scripts/package.scm (guix-package)[process-actions]: Use `N_' for
  i18n of the number of packages message.
a85060ef — Ludovic Courtès 12 years ago
substitute-binary: Report progress while downloading.

* guix/scripts/substitute-binary.scm (decompressed-port): Improve docstring.
  (progress-report-port): New procedure.
  (guix-substitute-binary)["--substitute"]: Use it to report progress.
* guix/build/download.scm: Export `progress-proc' and `uri-abbreviation'.
9af05aa2 — Ludovic Courtès 12 years ago
package: Display the number of installed packages upon completion.

* guix/scripts/package.scm (guix-package)[process-actions]: Display the
  number of packages in the profile upon completion.
7fa37abc — Ludovic Courtès 12 years ago
gnu: Add ImageMagick.

* gnu/packages/imagemagick.scm: New file.
* Makefile.am (MODULES): Add it.
* guix/download.scm (%mirrors): Add `imagemagick' entry.
2207f731 — Ludovic Courtès 12 years ago
substitute-binary: Provide feedback when the server is unresponsive.

* guix/scripts/substitute-binary.scm (%fetch-timeout): New variable.
  (with-timeout): New macro.
  (fetch): Add `timeout?' keyword parameter.  Enclose `http-fetch' call
  in `with-timeout'.
  (guix-substitute-binary): Call `fetch' with #:timeout? #f.
9c71a2ae — Ludovic Courtès 12 years ago
build-system/trivial: Fix introduction of `%target' when cross-building.

* guix/build-system/trivial.scm (trivial-cross-build): Wrap BUILDER in a
  `let' rather than in `begin'.
0bd31a21 — Ludovic Courtès 12 years ago
derivations: Micro-optimize `derivation-hash'.

* guix/derivations.scm (derivation-hash): Use a UTF-8-encoded string
  output port.  This makes things deterministic, and slightly faster.
8e59fdd5 — Ludovic Courtès 12 years ago
guix gc: Add `--requisites'.

* guix/scripts/gc.scm (show-help, %options): Add `--requisites'.
  (guix-gc): Handle it.
* doc/guix.texi (Invoking guix gc): Document `--requisites'.
* NEWS: Update.
3f1e6939 — Ludovic Courtès 12 years ago
store: Add `requisites'.

* guix/store.scm (fold-path, requisites): New procedures.
* tests/store.scm ("requisites"): New test.
Next