diff options
author | Ludovic Courtès <ludo@gnu.org> | 2013-11-01 23:11:17 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2013-11-01 23:21:01 +0100 |
commit | a20787706c246a9451b69db075a30ee91d28538b (patch) | |
tree | 5fb67cad6b5f65d4aa4be73966d5747c276f4ba2 /doc | |
parent | 537630c5a743251024b6bbd8b4eecf8811439cc6 (diff) | |
download | patches-a20787706c246a9451b69db075a30ee91d28538b.tar patches-a20787706c246a9451b69db075a30ee91d28538b.tar.gz |
guix package: Allow removal of a specific package output.
Fixes <http://bugs.gnu.org/15756>.
* guix/profiles.scm (<manifest-pattern>): New record type.
(remove-manifest-entry): Remove.
(entry-predicate, manifest-matching-entries): New procedures.
(manifest-remove): Accept a list of <manifest-pattern>.
(manifest-installed?): Replace 'name' parameter by 'pattern', a
<manifest-pattern>.
* guix/scripts/package.scm (options->removable): Return a list of
<manifest-pattern>.
(guix-package)[process-action]: Use 'manifest-matching-entries' to
compute the list of packages to remove.
* tests/profiles.scm: New file.
* Makefile.am (SCM_TESTS): Add it.
Diffstat (limited to 'doc')
0 files changed, 0 insertions, 0 deletions