diff options
author | Ludovic Courtès <[email protected]> | 2021-03-04 10:57:46 +0100 |
---|---|---|
committer | Ludovic Courtès <[email protected]> | 2021-03-05 12:49:27 +0100 |
commit | 90ea8b16eb519a88d8f739fea5a416c0b99de19f (patch) | |
tree | bc14a6d8b838ed86f173dd5d47abe43994cfda66 /doc | |
parent | c9d42d611c43e485fe39ef0adc2b032a4aec8fae (diff) |
profiles: 'package->manifest-entry' preserves transformations by default.
Previously, transformations applied from a manifest (rather than via
"guix install") would be lost. This change fixes that and simplifies
things.
Reported by zimoun at
<https://lists.gnu.org/archive/html/guix-devel/2021-02/msg00153.html>.
* guix/profiles.scm (default-properties): New procedure.
(package->manifest-entry): Use it for #:properties.
* guix/scripts/pack.scm (guix-pack)[with-transformations]: Remove.
Remove caller.
* guix/scripts/package.scm (transaction-upgrade-entry): Remove calls to
'manifest-entry-with-transformations'.
* tests/guix-package.sh: Add test.
* tests/transformations.scm ("options->transformation + package->manifest-entry"):
New test.
Diffstat (limited to 'doc')
0 files changed, 0 insertions, 0 deletions