Hi, On 29/07/12 05:09, Shea Levy wrote:
> Log Message: > ----------- > Add first attempt at linux/kernel/manual-config. > > The goal of this function is to make it possible to build a kernel with a > user provided .config. Could you say a bit more about what this means and what the advantages are? > As a secondary goal, it will extract NixOS-relevant features from the config > automatically. > As a tertiary goal, the build will aim to be simpler than the current generic > kernel builder.sh. > > Unfortunately, that simplicity is offset by the complexity of the feature > extraction, especially since nix segfaults when trying to split the file into > lines (so an import from a derivation is used) Unfortunately using an import from a derivation means this shouldn't be in Nixpkgs right now. Won't this cause a build when I do "nix-env -qas"? Also, Nix is not a general-purpose programming language. It's really not the right language for doing things like processing a .config file, especially since this will end up slowing down every "nix-env -qas" call. P.S. a new kernel config system is the sort of feature that would be good to keep in a branch until it's been reviewed/discussed a bit. -- Eelco Dolstra | LogicBlox, Inc. | http://nixos.org/~eelco/ _______________________________________________ nix-dev mailing list [email protected] http://lists.science.uu.nl/mailman/listinfo/nix-dev
