summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2026-01-26 17:28:01 +0100
committerLudovic Courtès <ludo@gnu.org>2026-02-20 22:34:55 +0100
commit390fc5dddb189b2ae6ff982e975dd9476729a7db (patch)
tree089fac6875bdceffa582c357c00cd89be45ea5bd
parentdc29e365099be977a87f31da4ccc57ad7500c64d (diff)
build-system/channel: Honor #:system.
* guix/build-system/channel.scm (build-channels): Pass #:system to ‘channel-instances->derivation’. (channel-build-system): Pass #:system to ‘arguments’. Reported-by: Rutherther <rutherther@ditigal.xyz> Change-Id: I989d110a0386d933ec5c40f7dd1ba03a37b31e5b Signed-off-by: Ludovic Courtès <ludo@gnu.org> Merges: #5930
-rw-r--r--guix/build-system/channel.scm6
1 files changed, 4 insertions, 2 deletions
diff --git a/guix/build-system/channel.scm b/guix/build-system/channel.scm
index 0607dcf4d75..7b906dea28b 100644
--- a/guix/build-system/channel.scm
+++ b/guix/build-system/channel.scm
@@ -1,5 +1,5 @@
;;; GNU Guix --- Functional package management for GNU
-;;; Copyright © 2019-2022, 2024 Ludovic Courtès <ludo@gnu.org>
+;;; Copyright © 2019-2022, 2024, 2026 Ludovic Courtès <ludo@gnu.org>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -60,7 +60,8 @@
(return
(list (checkout->channel-instance
source #:commit commit))))))))
- (channel-instances->derivation instances)))
+ (channel-instances->derivation instances
+ #:system system)))
(define channel-build-system
;; Build system used to "convert" a channel instance to a package.
@@ -72,6 +73,7 @@
(system system)
(build build-channels)
(arguments `(#:source ,source
+ #:system ,system
#:channels ,channels
#:authenticate? ,authenticate?
#:commit ,commit))))))