On linux-3.10, build in #! script support

Starting with 3.10, #! script handling can be built modularly (or not
at all). By default the nixpkgs builder sets everything modular, but
since our initird init is a #! script this creates a chicken-and-egg
problem on NixOS.

Signed-off-by: Shea Levy <shea@shealevy.com>
This commit is contained in:
Shea Levy 2013-07-01 14:53:56 -04:00
parent e969c941b3
commit 61fef700ee

@ -244,6 +244,9 @@ let
# Easier debug of NFS issues
SUNRPC_DEBUG y
# Our initrd init uses shebang scripts, so can't be modular
BINFMT_SCRIPT y
${if kernelPlatform ? kernelExtraConfig then kernelPlatform.kernelExtraConfig else ""}
${extraConfig}
'';