mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-30 16:10:36 +00:00
linuxPackages.gcadapter-oc-kmod: install module through modules_install
This commit is contained in:
@@ -24,12 +24,18 @@ stdenv.mkDerivation {
|
||||
|
||||
makeFlags = kernelModuleMakeFlags ++ [
|
||||
"KERNEL_SOURCE_DIR=${kernel.dev}/${kerneldir}/build"
|
||||
"INSTALL_MOD_PATH=$(out)"
|
||||
"INSTALL_MOD_PATH=${placeholder "out"}"
|
||||
"INSTALL_MOD_DIR=extra"
|
||||
"INSTALL_MOD_STRIP=1"
|
||||
"DEPMOD=true"
|
||||
];
|
||||
|
||||
installPhase = ''
|
||||
install -D {,$out/${kerneldir}/extra/}gcadapter_oc.ko
|
||||
'';
|
||||
installTargets = [ "modules_install" ];
|
||||
installFlags = [
|
||||
"-C"
|
||||
"${kernel.dev}/lib/modules/${kernel.modDirVersion}/build"
|
||||
"M=$(PWD)"
|
||||
];
|
||||
|
||||
meta = {
|
||||
description = "Kernel module for overclocking the Nintendo Wii U/Mayflash GameCube adapter";
|
||||
|
||||
Reference in New Issue
Block a user