mirror of
https://github.com/CHN-beta/nixpkgs.git
synced 2026-01-12 02:40:31 +08:00
linuxPackages.tuxedo-drivers: enable udevCheckHook
This commit is contained in:
@@ -7,6 +7,7 @@
|
||||
kmod,
|
||||
pahole,
|
||||
gitUpdater,
|
||||
udevCheckHook,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
@@ -29,7 +30,11 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
'';
|
||||
|
||||
buildInputs = [ pahole ];
|
||||
nativeBuildInputs = [ kmod ] ++ kernel.moduleBuildDependencies;
|
||||
nativeBuildInputs = [
|
||||
kmod
|
||||
udevCheckHook
|
||||
]
|
||||
++ kernel.moduleBuildDependencies;
|
||||
|
||||
makeFlags = kernelModuleMakeFlags ++ [
|
||||
"KERNELRELEASE=${kernel.modDirVersion}"
|
||||
@@ -37,6 +42,8 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
"INSTALL_MOD_PATH=${placeholder "out"}"
|
||||
];
|
||||
|
||||
doInstallCheck = true;
|
||||
|
||||
passthru.updateScript = gitUpdater {
|
||||
rev-prefix = "v";
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user