~ruther/guix-local

ref: 2fb5af2c2ba9087abc4cc53652cd02c2c0cd49bb guix-local/guix d---------
d343a60f — Ludovic Courtès 9 years ago
gexp: Slightly simplify 'gexp-inputs'.

* guix/gexp.scm (gexp-inputs)[add-reference-inputs]: Remove unneeded
'if' in the non-native nested gexp case.
5b14a790 — Ludovic Courtès 9 years ago
gexp: Native inputs of nested gexps are properly accounted for.

Previously, 'gexp-native-inputs' would not return the native inputs of
nested gexps.  For example, this:

  (gexp-native-inputs #~(foo #$#~(bar #+coreutils)))

would return '().

* guix/gexp.scm (gexp-inputs)[add-reference-inputs]: In the
non-recursive cases, check whether N? and NATIVE? are the same, and act
accordingly.
[native-input?]: Remove.
Fold over all of (gexp-references exp).
* tests/gexp.scm ("ungexp + ungexp-native, nested, special mixture"):
New test.
* tests/gexp.scm ("input list splicing + ungexp-native-splicing"): Pass
 #:native? #t to 'gexp-input'.
fdbc84b0 — Ricardo Wurmus 9 years ago
import cran: Handle HTTP errors.

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

* guix/import/cran.scm (fetch-description): Return #f in case of HTTP
errors.
d68ba5f4 — Ricardo Wurmus 10 years ago
guix import: Print list of expressions.

* guix/scripts/import.scm (guix-import): Print list of expressions.
64ce53eb — Ricardo Wurmus 10 years ago
import cran: Add "recursive" option.

* guix/scripts/import/cran.scm: (%options): Add "recursive" option.
(guix-import-cran): Handle "recursive" option.
* doc/guix.texi (Invoking guix import): Document it.
94e907b9 — Ricardo Wurmus 10 years ago
import cran: Add recursive importer.

* guix/import/cran.scm (recursive-import): New variable.
(cran->guix-package): Memoize the procedure.
b26abe4f — Ricardo Wurmus 10 years ago
import cran: Ignore default R packages.

* guix/import/cran.scm (default-r-packages): New variable.
(description->package): Drop default R packages from list of inputs.
ad68f7fa — Ricardo Wurmus 10 years ago
import cran: description->package: Also return package dependencies.

* guix/import/cran.scm (description->package): Return package
  dependencies in addition to generated package expression.
bfa0c752 — Ricardo Wurmus 10 years ago
import cran: Move guix-name to top-level.

* guix/import/cran.scm (guix-name): Move to top-level.
2e5f32ce — Ricardo Wurmus 10 years ago
import cran: Remove more invalid characters from package names.

* guix/import/cran.scm (guix-name): Replace period and underscore with
  dash; always prepend package names with "r-".
576eda6d — Ricardo Wurmus 9 years ago
import cran: Handle BSD licenses with LICENSE file.

* guix/import/cran.scm (string->license): Add cases for BSD licenses
with LICENSE file.
741d68c2 — Ricardo Wurmus 9 years ago
import cran: Translate MIT to the Expat license.

* guix/import/cran.scm (string->license): Translate "MIT" license to
Expat license.
13f54d08 — Ricardo Wurmus 9 years ago
import cran: Do not use "or later" licenses by default.

* guix/import/cran.scm (string->license): Use exact license versions.
a6562c7e — Ludovic Courtès 9 years ago
profiles: Remove dependency on 'glibc-utf8-locales' for tests.

Commit 1af0860e8be81c01ad405c1226d6bc4516e62863 added a mandatory
dependency on 'glibc-utf8-locales', which entails long rebuilds for
tests.

* guix/profiles.scm (profile-derivation): Add #:locales? parameter.
Add 'set-utf8-locale' variable.  Use it when LOCALES? is true.
(link-to-empty-profile): Pass #:locales? #f.
* guix/scripts/environment.scm (inputs->profile-derivation): Pass
  #:locales?.
* guix/scripts/package.scm (build-and-use-profile): Likewise.
* tests/packages.scm ("--search-paths with pattern"): Pass #:locales? #f.
* tests/profiles.scm ("profile-derivation")
("profile-derivation, inputs", "profile-manifest, search-paths")
("etc/profile", "etc/profile when etc/ already exists"):
("etc/profile when etc/ is a symlink"): Likewise.
1af0860e — Ludovic Courtès 9 years ago
profiles: Build profiles in a UTF-8 locale.

Fixes <http://bugs.gnu.org/25213>.
Reported by Christopher Baines <mail@cbaines.net>.

* guix/profiles.scm (profile-derivation)[glibc-utf8-locales]: New
variable.
[builder]: Use it to set 'LOCPATH'.
580deec5 — Ludovic Courtès 9 years ago
download: Protect against dangling symlinks in $SSL_CERT_DIR.

Reported by Christopher Baines <mail@cbaines.net>
in <https://bugs.gnu.org/25213>.

* guix/build/download.scm (make-credendials-with-ca-trust-files): Check
whether FILE exists before calling
'set-certificate-credentials-x509-trust-file!'.
99ec0cb3 — Ludovic Courtès 9 years ago
refresh: Make dependency on (guix import crates) weak.

Reported by Tobias Geerinckx-Rice <me@tobias.gr>.

* guix/scripts/refresh.scm: Do not explicitly import (guix import crates).
6976c681 — David Craven 9 years ago
upstream: Determine archive type correctly.

* guix/upstream.scm (package-update): Take the basename of the uri
  before trying to determine the extension.
4d93f312 — Ricardo Wurmus 9 years ago
graph: Add d3js backend.

* d3.v3.js, graph.js: New files.
* Makefile.am (EXTRA_DIST): List them.
* guix/graph.scm (%d3js-backend): New variable.
(emit-d3js-prologue, emit-d3js-epilogue, emit-d3js-node,
emit-d3js-edge): New procedures.
(%graph-backends): Add %d3js-backend.
642339dc — Ricardo Wurmus 9 years ago
graph: Add "list-backend" and "backend" options.

* guix/graph.scm (%graph-backends): New variable.
* guix/scripts/graph.scm (lookup-backend, list-backends): New
procedures.
(%options): Add options for "backend" and "list-backends".
(show-help): Add help texts for "backend" and "list-backend" options.
(%default-options): Add "backend" default.
(guix-graph): Pass backend argument to "export-graph".
* doc/guix.texi (Invoking guix graph): Document the new options.
Next