diff options
author | Ludovic Courtès <ludo@gnu.org> | 2014-07-26 22:08:10 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2014-07-26 22:56:59 +0200 |
commit | a54c94a40d3d87c80034793795bf13fd7abf7a6e (patch) | |
tree | 587bce5b2e1be6320870a08014501519cabd1013 /m4 | |
parent | 48704e5b5c9a18a3f381ec5a266d0375219ae122 (diff) | |
download | guix-a54c94a40d3d87c80034793795bf13fd7abf7a6e.tar guix-a54c94a40d3d87c80034793795bf13fd7abf7a6e.tar.gz |
profiles: Switch to gexps.
* guix/profiles.scm (<manifest-entry>)[path]: Rename to...
[item]: ... this. Update users.
(manifest->sexp): Rename to...
(manifest->gexp): ... this. Return a gexp.
(lower-input): Remove.
(profile-derivation): Remove 'store' parameter, and turn into a
monadic procedure.
[inputs]: New variable.
[builder]: Turn into a gexp.
Replace call to 'build-expression->derivation' with call to
'gexp->derivation'.
* guix/scripts/package.scm (link-to-empty-profile): Adjust call to
'profile-derivation', and wrap it in 'run-with-store'.
(show-what-to-remove/install): Rename 'path' to 'item'. Check whether
ITEM is a package, and return its output path if it is.
(input->name+path): Remove.
(options->installable): Set 'item' to P.
(guix-package): Adjust call to 'profile-derivation'.
* tests/profiles.scm (guile-2.0.9): Change 'path' to 'item'.
Diffstat (limited to 'm4')
0 files changed, 0 insertions, 0 deletions