[Nix-dev] Re: NixOS on embedded systems
Lluís Batlle i Rossell
viriketo at gmail.com
Tue Jul 20 19:07:23 CEST 2010
Salut,
On Tue, Jul 20, 2010 at 06:44:42PM +0200, Ludovic Courtès wrote:
> Lluís Batlle i Rossell <viriketo at gmail.com> writes:
> > On Sat, Jul 17, 2010 at 03:32:04PM +0200, Ludovic Courtès wrote:
> > Additionally, it is a heavy operation for a computer to evaluate the current
> > nixpkgs (2nd point).
>
> That’s indeed a problem. I think a solution would be to have a Nix
> compiler instead of/in addition to the current interpreter, but of
> course we’re far from there.
NixOS looks heavier to evaluate to niksnut; We'd have to test.
>
> > Having those nixpkgs pointing mostly to fetchurl derivations instead of usual
> > stdenv mkDerivations, it makes additionally a fence against building natively or
> > cross-building those packages (3rd point).
>
> You mean that NixOS/Nixpkgs could be “compiled” to some sort of a big
> Nix expression that just does ‘fetchurl’ calls to fetch the pre-compiled
> binaries?
Yes, exactly. This is the idea! :)
>
> It’s a form of compilation, but it’s also a hack. ;-)
Thank you ;)
Amike,
Lluís.
More information about the nix-dev
mailing list