diff options
author | David Elsing <[email protected]> | 2025-03-02 22:43:30 +0000 |
---|---|---|
committer | Ludovic Courtès <[email protected]> | 2025-03-08 16:16:02 +0100 |
commit | 70c7b4d7f0cdaa93db8232ae27e9e96a47e982ea (patch) | |
tree | 99a25fb626bc7777edd87b0214c223a1bfa7e1ce /guix.scm | |
parent | 5ead9fa56c9ca97456796b09079fcfe0f24d8aa3 (diff) |
packages: Honor system and target system for graft replacements.
Fixes <https://issues.guix.gnu.org/76110>.
Fixes a regression introduced in
28e4018e59d30efb3d52aa950ce2261f11b69b33 where the system and target
system would be ignored.
* guix/packages.scm (input-graft, input-cross-graft): Wrap graft replacement
in ‘with-parameters’.
* tests/packages.scm ("package-grafts, indirect grafts")
("package-grafts, indirect grafts, propagated inputs")
("package-grafts, same replacement twice")
("package-grafts, dependency on several outputs")
("replacement also grafted"): Adjust accordingly by comparing the replacement
after lowering to a derivation.
("package-grafts, indirect grafts, #:system argument"): New test.
Change-Id: I1663f0cc50842bb9abb53ba4aa9935052022d1f4
Signed-off-by: Ludovic Courtès <[email protected]>
Reported-by: Denis 'GNUtoo' Carikli <[email protected]>
Diffstat (limited to 'guix.scm')
0 files changed, 0 insertions, 0 deletions