From 31d5a2ec266884db9f790589d41bce6250fee44b Mon Sep 17 00:00:00 2001 From: Rutherther Date: Wed, 9 Jul 2025 22:02:52 +0800 Subject: [PATCH] fix: Support plain packages in cross-shell native-inputs --- modules/cross-shells/cross-profile.scm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/modules/cross-shells/cross-profile.scm b/modules/cross-shells/cross-profile.scm index a20afc81480f01a9394d7d3675a8a14d424d425a..7cb6565ee85905956a5be14698d7e62f886f4877 100644 --- a/modules/cross-shells/cross-profile.scm +++ b/modules/cross-shells/cross-profile.scm @@ -115,7 +115,9 @@ (native-inputs inputs-from base-native-inputs host-system target-system) (filter package? (map (lambda (input) - (car (cdr input))) + (if (package? input) + input + (car (cdr input)))) (transitive-inputs (append (base-native-inputs host-system target-system)