Hi,
On Thu, Jan 15, 2009 at 11:35, Eelco Dolstra <[email protected]> wrote:
> Log:
> * The Linux kernel >= 2.6.27 provides firmware, so add it to the
> firmware search path.
So we have to create a system/kernel.nix, ...
> Modified: nixos/trunk/upstart-jobs/default.nix
> ===================================================================
> --- nixos/trunk/upstart-jobs/default.nix 2009-01-14 18:58:44 UTC (rev
> 13769)
> +++ nixos/trunk/upstart-jobs/default.nix 2009-01-15 10:35:00 UTC (rev
> 13770)
> @@ -97,7 +97,8 @@
> ++ pkgs.lib.optional config.networking.enableIntel4965AGNFirmware
> kernelPackages.iwlwifi4965ucode
> ++ pkgs.lib.optional config.networking.enableZydasZD1211Firmware
> pkgs.zd1211fw
> ++ pkgs.lib.optional config.hardware.enableGo7007
> "${kernelPackages.wis_go7007}/firmware"
> - ++ config.services.udev.addFirmware;
> + ++ config.services.udev.addFirmware
> + ++ ["${kernelPackages.kernel}/lib/firmware"];
> extraUdevPkgs =
> pkgs.lib.optional config.services.hal.enable pkgs.hal
> ++ pkgs.lib.optional config.hardware.enableGo7007
> kernelPackages.wis_go7007
... which binds services.udev.addFirmware almost as does
upstrat-jobs/pcmcia.nix and which is included as a default option of
NixOS.
PS: Please do not extend these lists because each element has a
different context and this add more complexity for reading the
reviewing code.
--
Nicolas Pierron
http://www.linkedin.com/in/nicolasbpierron
- If you are doing something twice then you should try to do it once.
_______________________________________________
nix-dev mailing list
[email protected]
https://mail.cs.uu.nl/mailman/listinfo/nix-dev