From 4695031940ffb5574772b214546d001c8f4e210d Mon Sep 17 00:00:00 2001 From: "Alexandre Cavalheiro S. Tiago da Silva" Date: Thu, 24 Oct 2024 22:46:25 -0300 Subject: [PATCH] fix(zenergy): use installTargets instead of installPhase --- specific/kernel/zenergy.nix | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/specific/kernel/zenergy.nix b/specific/kernel/zenergy.nix index e228949..cfdb63d 100644 --- a/specific/kernel/zenergy.nix +++ b/specific/kernel/zenergy.nix @@ -29,16 +29,12 @@ stdenv.mkDerivation { makeFlags = kernel.makeFlags ++ [ "KDIR=${kernelDirectory}" ]; - makeTargets = [ "modules_install" ]; + installTargets = [ "modules_install" ]; preBuild = '' substituteInPlace Makefile --replace-fail "PWD modules_install" "PWD INSTALL_MOD_PATH=$out modules_install" ''; - installPhase = '' - make modules_install KDIR=${kernelDirectory} - ''; - meta = with lib; { description = "Based on AMD_ENERGY driver, but with some jiffies added so non-root users can read it safely."; homepage = "https://github.com/BoukeHaarsma23/zenergy";