Applied the patch of James Cook.
svn path=/nixos/trunk/; revision=32445
This commit is contained in:
parent
b2910df04e
commit
57af9d74e2
@ -188,12 +188,20 @@ in
|
|||||||
List of directories containing firmware files. Such files
|
List of directories containing firmware files. Such files
|
||||||
will be loaded automatically if the kernel asks for them
|
will be loaded automatically if the kernel asks for them
|
||||||
(i.e., when it has detected specific hardware that requires
|
(i.e., when it has detected specific hardware that requires
|
||||||
firmware to function).
|
firmware to function). If more than one path contains a
|
||||||
|
firmware file with the same name, the first path in the list
|
||||||
|
takes precedence. Note that you must rebuild your system if
|
||||||
|
you add files to any of these directories. For quick testing,
|
||||||
|
put firmware files in /root/test-firmware and add that
|
||||||
|
directory to the list.
|
||||||
|
Note that you can also add firmware packages to this
|
||||||
|
list as these are directories in the nix store.
|
||||||
'';
|
'';
|
||||||
apply = list: pkgs.buildEnv {
|
apply = list: pkgs.buildEnv {
|
||||||
name = "firmware";
|
name = "firmware";
|
||||||
paths = list;
|
paths = list;
|
||||||
pathsToLink = [ "/" ];
|
pathsToLink = [ "/" ];
|
||||||
|
ignoreCollisions = true;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user