Hi all,

With recent patches for build-fhs-*env in master it's now possible to 
(ab)use FHS userenv infrastructure to work with the Android source tree. 
It's, as can be imagined, an enormous (~20 GB!) pile of source code 
together with dynamically-linked binaries and Makefiles/scripts ridden 
with assumptions about OS directory structure and installed packages. 
It's very hard to patch and clean this tree of assumptions everywhere, 
and if done it would be very hard to maintain. Instead with Nix 
expression like [1] you can quickly and conveniently get into an 
FHS-compatible environment that the tree likes with just `nix-shell`. I 
imagine there might be other situations when this quick-and-dirty 
measure can be quite useful (running games distributed as .tar.gz?).

[1]: http://pastebin.com/heqGBMzL

-- 
Nikolay.

_______________________________________________
nix-dev mailing list
[email protected]
http://lists.science.uu.nl/mailman/listinfo/nix-dev

Reply via email to