diff options
author | Ludovic Courtès <ludo@gnu.org> | 2013-10-30 17:13:27 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2013-10-30 22:09:32 +0100 |
commit | f067fc3e77a9e39aec137d02e3c4154bfbecaf70 (patch) | |
tree | d8439a589fa8e32a048985c283b6d35a1dc518fe /guix.scm | |
parent | edac8846244437ea6566463090d26e7868069ef2 (diff) | |
download | guix-f067fc3e77a9e39aec137d02e3c4154bfbecaf70.tar.gz |
guix package: Introduce <manifest> and <manifest-entry> types.
* guix/scripts/package.scm (<manifest>, <manifest-entry>): New record types. (make-manifest, read-manifest, manifest->sexp, sexp->manifest, read-manifest, write-manifest, remove-manifest-entry, manifest-remove, manifest-installed?): New procedures. (profile-derivation): Take a manifest as the second parameter. Use 'manifest->sexp'. Expect <manifest-entry> objects instead of "tuples". Adjust callers accordingly. (search-path-environment-variables): Changes 'packages' parameter to 'entries'. Rename 'package-in-manifest->package' to 'manifest-entry->package'; expect <manifest-entry> objects. (display-search-paths): Rename 'packages' to 'entries'. (options->installable): Change 'installed' to 'manifest'. Have 'canonicalize-deps' return name/path tuples instead of raw packages. Rename 'package->tuple' to 'package->manifest-entry'. Use <manifest-entry> objects instead of tuples. (guix-package)[process-actions]: Likewise. Rename 'packages' to 'entries'. [process-query]: Use 'manifest-entries' instead of 'manifest-packages'.
Diffstat (limited to 'guix.scm')
0 files changed, 0 insertions, 0 deletions