help-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Cross-building GuixSD (and maybe using pre-built toolchains)


From: David Craven
Subject: Re: Cross-building GuixSD (and maybe using pre-built toolchains)
Date: Sat, 3 Sep 2016 14:59:54 +0200

> It’s on purpose, and packages rarely (if even) need to refer to
> #:native-inputs; only a couple of phases in gnu-build-system.scm refer
> to #:native-inputs.
>
> In which context do you need to refer to #:native-inputs?

Cross-compiling the linux kernel.

> ;; Apply the neat patch.
> (system* "patch" "-p1" "--force"
>                "-i" (assoc-ref inputs "patch/freedo+gnu"))

and

> (mit    (assoc-ref inputs "module-init-tools")))

fail for no "real" reason. I could add a (if target native-inputs
inputs) but it seems ugly and think it might be a common problem?



reply via email to

[Prev in Thread] Current Thread [Next in Thread]