[Nix-dev] Re: [Nix-commits] SVN commit: nix - 16237 - raskin - in nixos/branches/modular-nixos/modules: . misc

Michael Raskin 7c6f434c at mail.ru
Wed Jul 8 13:41:27 CEST 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Eelco Dolstra wrote:
>>>> +# This module allows you to export something from configuration
>>>> +# Use case: export kernel source expression for ease of configuring 
>>> Can you expand on this a bit?  What is the use case?
>> I use custom patched (well, not so much - mostly -rc) kernels. Sometimes
>> I want to change my kernel config. The simplest way to do it is to
>> unpack the source and run "make menuconfig". But it helps to have the
>> same source as used in the build. I prefer to get my kernel source with
>> one nix-build. 
> 
> So how do you use passthru for this?

In the middle of forming the configuration, there is the point where
kernel patch set is determined. At that point I compose kernelSrc
derivation and export it via passthru.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.12 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iQEcBAEBAgAGBQJKVIXlAAoJEE6tnN0aWvw3otQIALfJSNh7HYkRd1xGXnxJc2xe
d67lkEmat0q76NaNCPpgB8Gieb2RIxawhNZMfLxjtbdBd4WciiA6eSsp3VEIUHnf
CmhweWB6N740ZSoiEOg8uPdGhvrfV2PpT1BiTZUIKojM/E0wQ0ZCq2+zwRc9/Twl
Lq6qOgdRsatmLvtlmLPa6ihsdKURxqI8hmb0yx1ZrUH9O6yzom2JgGz9ZoAFUDvf
7BJbjQtsG8c+1uyFxdaFjLx3YQfeFp+mkf0ekV85m25wmZEgsYlPfFncNWbBnTWs
0Ym8ESCvFzKJwiMouggGaMtxwvJ/5ltUSccj/+jrFUuIgcf4PtzggKtb8y16yt8=
=fiWu
-----END PGP SIGNATURE-----



More information about the nix-dev mailing list