diff options
author | Ludovic Courtès <ludo@gnu.org> | 2022-05-05 23:42:36 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2022-05-05 23:56:58 +0200 |
commit | 0f024554e63a49e20c2a7a67e928073c266bf5c5 (patch) | |
tree | b180b949cde3306c08ee00e9dfa1fea4d639e481 /guix | |
parent | 0780164f1f718804d5ece3e7c17fd6639d2e6a1f (diff) |
transformations: Preserve transformation order in package property.
Fixes <https://issues.guix.gnu.org/54942>.
Reported by SeerLite <seerlite@nixnet.email>.
* guix/transformations.scm (options->transformation)
[package-with-transformation-properties]: Add call to 'reverse'.
* tests/transformations.scm ("options->transformation, property order"):
New test.
Diffstat (limited to 'guix')
-rw-r--r-- | guix/transformations.scm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/guix/transformations.scm b/guix/transformations.scm index a0045e5b27..411c4014cb 100644 --- a/guix/transformations.scm +++ b/guix/transformations.scm @@ -959,7 +959,7 @@ to that transformation." . ,(map (match-lambda ((key value _) (cons key value))) - applicable)) + (reverse applicable))) ;preserve order ,@(package-properties p))))) (lambda (obj) |