evdi: add missing phase hooks

This commit is contained in:
Pol Dellaiera 2024-01-31 18:03:48 +01:00
parent 25b075dffd
commit 7ae4984c30
No known key found for this signature in database
GPG Key ID: D476DFE9C67467CA

View File

@ -34,8 +34,10 @@ stdenv.mkDerivation (finalAttrs: {
hardeningDisable = [ "format" "pic" "fortify" ];
installPhase = ''
runHook preInstall
install -Dm755 module/evdi.ko $out/lib/modules/${kernel.modDirVersion}/kernel/drivers/gpu/drm/evdi/evdi.ko
install -Dm755 library/libevdi.so $out/lib/libevdi.so
runHook postInstall
'';
enableParallelBuilding = true;