[Nix-dev] how to install & load kernel module wl?

Vladimír Čunát vcunat at gmail.com
Wed Oct 10 17:20:37 CEST 2012


Hi.

On 10/10/2012 04:10 PM, Marc Weber wrote:
> man configuration.nix
>
> There is a system option 'extraKernelPackages' or such (boot section).
>
> Why doesn't nix-env -i work? Because modprobe is a wrapper which is
> passed a module directory which is assembled by nixos.
> And that module directory is always represented by
> /var/run/booted-system only (AFAIK) for good reasons.
>
> The booted kernel should always match the modules available.
> So maybe you even have to restart (or manually change such a symlink).
>
> cat `which modprobe` should make you understand if you follow the
> MDULE_DIR path to the store.

Yes, extraKernelPackages + kernelModules is the preferred way. 
Modprobing may also work if you specify somehow the absolute path.

Vlada

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3238 bytes
Desc: S/MIME Cryptographic Signature
Url : http://lists.science.uu.nl/pipermail/nix-dev/attachments/20121010/ec7050b5/attachment.bin 


More information about the nix-dev mailing list