[Nix-dev] [Nix-commits] SVN commit: nix - r33428 - in nixpkgs/branches/kmod-MODULE_DIR/pkgs: applications/virtualization/virtualbox applications/virtualization/virtualbox/guest-additions build-support/kernel os-specific/l...

Shea Levy shea at shealevy.com
Mon Mar 26 18:03:30 CEST 2012


On 03/26/2012 11:53 AM, Shea Levy wrote:
> On 03/26/2012 11:49 AM, Yury G. Kudryashov wrote
>>>> Eelco Dolstra wrote:
>>>>> I dislike introducing a /lib/modules.  What was wrong with using an
>>>>> environment variable to point at the modules tree?
>>>> E.g., next udev version relies on libkmod (not `modprobe`) to load
>>>> modules. This way we can switch a symlink on nixos-rebuild switch. Any
>>>> ideas how to do it with env var?
>>> Patch udev to call kmod_new with the appropriate directory, or patch
>>> libkmod to respect the env var.
>> How do you want to *change* udev's env var on the fly when you do nixos-
>> rebuild switch?
> Why would we want to change udev's env var on the fly? We're not
> changing the kernel on the fly...

And even if we were, is there any harm in restarting the udev service? 
It's not like xserver where it will break things if it has to be 
restarted, right?


More information about the nix-dev mailing list