summary refs log tree commit diff
path: root/m4
diff options
context:
space:
mode:
authorLeo Prikler <leo.prikler@student.tugraz.at>2020-12-05 17:20:09 +0100
committerLudovic Courtès <ludo@gnu.org>2020-12-07 12:48:25 +0100
commitf5d952c5f50cd9c6005cdf47dda5bccb6e428119 (patch)
treeaec4d315993e20d59ff3424aa1a0b8717733a4aa /m4
parentb3f21eb6bc895a4eafe903dfbb480de481bbb4c7 (diff)
downloadguix-f5d952c5f50cd9c6005cdf47dda5bccb6e428119.tar.gz
profiles: Remove duplicates in manifest transactions.
Fixes <https://bugs.gnu.org/23874>.
Reported by Ricardo Wurmus <ricardo.wurmus@mdc-berlin.de>.

* guix/profiles.scm (manifest-transaction-effects): Delete duplicates in
install and remove.  Let multiple upgrades and downgrades shadow previous
transactions of the same kind.
* tests/profiles.scm
("manifest-transaction-effects no double install or upgrades")
("manifest-transaction-effects no double downgrade")
("manifest-transaction-effects no double removal"): New tests.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Diffstat (limited to 'm4')
0 files changed, 0 insertions, 0 deletions