mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 16:03:23 +00:00
TBS: fix modules
The customized modules need to be xz compressed so that they are loaded instead of the default modules
This commit is contained in:
parent
13b2903169
commit
85c236f7f0
@ -49,8 +49,7 @@ in stdenv.mkDerivation {
|
|||||||
++ kernel.moduleBuildDependencies;
|
++ kernel.moduleBuildDependencies;
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
xz $out/lib/modules/${kernel.modDirVersion}/kernel/drivers/media/dvb-core/dvb-core.ko
|
find $out/lib/modules/${kernel.modDirVersion} -name "*.ko" -exec xz {} \;
|
||||||
xz $out/lib/modules/${kernel.modDirVersion}/kernel/drivers/media/v4l2-core/videodev.ko
|
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
|
Loading…
Reference in New Issue
Block a user