diff options
author | Ludovic Courtès <ludo@gnu.org> | 2020-05-14 16:03:56 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2020-05-14 17:21:27 +0200 |
commit | f52fbf7094c9c346d38ad469cc8d92d18387786e (patch) | |
tree | 954c567a163e6547aa7988063f9183c72112df40 /tests/scripts.scm | |
parent | a89df83c79340b5d0dfefcc6250dc69d502f3f5d (diff) | |
download | patches-f52fbf7094c9c346d38ad469cc8d92d18387786e.tar patches-f52fbf7094c9c346d38ad469cc8d92d18387786e.tar.gz |
packages: Ensure bags are insensitive to '%current-target-system'.
Fixes a bug whereby a bag's transitive dependencies would depend on the
global '%current-target-system' value.
Partly fixes <https://issues.guix.gnu.org/41182>.
* guix/packages.scm (bag-transitive-inputs)
(bag-transitive-build-inputs, bag-transitive-target-inputs):
Parameterize '%current-target-system'.
* tests/packages.scm ("package->bag, sensitivity to %current-target-system"):
New test.
Diffstat (limited to 'tests/scripts.scm')
0 files changed, 0 insertions, 0 deletions