~ruther/guix-cross-shells

2248828c058fcc718ddb614635622994ab63d089 — Rutherther 2 months ago 121e12b master
fix: respect host-system for native-inputs and target-inputs
1 files changed, 14 insertions(+), 2 deletions(-)

M modules/cross-shells/cross-profile.scm
M modules/cross-shells/cross-profile.scm => modules/cross-shells/cross-profile.scm +14 -2
@@ 174,7 174,13 @@
                         (guix build utils)
                         (guix build union))
                        (let ((inputs-paths
                               (list #$@(collect-cross-profile-target-inputs cross-profile)
                               (list #$@(map
                                         (lambda (package)
                                           (cross-package-job
                                            (package package)
                                            (system host-system)
                                            (target #f)))
                                         (collect-cross-profile-target-inputs cross-profile))
                                     #$@(map (lambda (package)
                                               (cross-package-job
                                                (package package)


@@ 184,7 190,13 @@
                              (cross-profile-path
                               (string-append #$output "/cross/" #$(or target-system "native") "/" #$cross-profile-name))
                              (native-inputs-paths
                               (list #$@(collect-cross-profile-native-inputs cross-profile))))
                               (list #$@(map
                                         (lambda (package)
                                           (cross-package-job
                                            (package package)
                                            (system host-system)
                                            (target #f)))
                                         (collect-cross-profile-native-inputs cross-profile)))))

                          (union-build #$output native-inputs-paths)
                          (mkdir-p (dirname cross-profile-path))