0
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-13 21:50:33 +03:00

Added option for external firmware.

svn path=/nixos/trunk/; revision=9379
This commit is contained in:
Michael Raskin 2007-09-28 07:58:40 +00:00
parent c43dc7b013
commit cf1140ee11
2 changed files with 13 additions and 1 deletions

View file

@ -964,6 +964,16 @@
";
}
{
name = ["services" "udev" "addFirmware"];
default = [];
example = ["/mnt/big-storage/firmware/"];
description = "
To specify firmware that is not too spread to ensure
a package, or have an interactive process of extraction
and cannot be redistributed.
";
}
{
name = ["installer" "nixpkgsURL"];

View file

@ -30,7 +30,9 @@ import ../upstart-jobs/gather.nix {
inherit (pkgs) stdenv writeText substituteAll udev procps;
inherit (pkgs.lib) cleanSource;
firmwareDirs =
pkgs.lib.optional (config.get ["networking" "enableIntel2200BGFirmware"]) pkgs.ipw2200fw;
pkgs.lib.optional (config.get ["networking" "enableIntel2200BGFirmware"]) pkgs.ipw2200fw
++
(config.get ["services" "udev" "addFirmware"]);
extraUdevPkgs =
pkgs.lib.optional (config.get ["services" "hal" "enable"]) pkgs.hal;
})