[Nix-dev] crosscompiling question
Lluís Batlle i Rossell
viric at viric.name
Tue Jul 14 09:20:48 CEST 2015
On Tue, Jul 14, 2015 at 09:03:06AM +0200, Tomas Hlavaty wrote:
> Like this, I would like to crosscompile packages on my desktop and then
> copy-closure them to the board. However, they are different paths in
> the store. How can I actually achive this? Is there some trick I am
> missing?
Different recipes give different store paths. The recipe of cross-building
is quite different from the recipe of native building.
If you expect the cross-built 'hello' to have the same hash as the
natively built, I don't know any trick. They are effectively built
differently, and thus, they have a different store path.
I don't know of any way in nix that can relate cross-built packages with
natively built.
--
(Escriu-me xifrat si saps PGP / Write ciphered if you know PGP)
PGP key D4831A8A - https://emailselfdefense.fsf.org/
More information about the nix-dev
mailing list