Re: [Nix-dev] How to replace a standard kernel module with a newer version?

2011-09-16 Thread Peter Simons
Hi guys, I found a simple solution: networking = { localCommands = '' ${pkgs.module_init_tools}/sbin/insmod ${config.boot.kernelPackages.e1000e}/lib/modules/*/kernel/drivers/net/e1000e/e1000e.ko ''; }; With that snippet enabled, the Ethernet card 00:19.0 Ethernet

Re: [Nix-dev] How to replace a standard kernel module with a newer version?

2011-09-15 Thread Marc Weber
1) change merging script 2) Change your kernel config to not compile that module 3) create new derivation copying everything from kernel but that one .ko file 4) use newer kernel 5) patch kernel source (so that it builds newer module) ... Marc Weber