summary refs log tree commit diff
path: root/host/initramfs/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'host/initramfs/default.nix')
-rw-r--r--host/initramfs/default.nix8
1 files changed, 3 insertions, 5 deletions
diff --git a/host/initramfs/default.nix b/host/initramfs/default.nix
index 1239134..b9b22ae 100644
--- a/host/initramfs/default.nix
+++ b/host/initramfs/default.nix
@@ -91,11 +91,9 @@ stdenvNoCC.mkDerivation {
 
   nativeBuildInputs = [ cpio ];
 
-  installPhase = ''
-    runHook preInstall
-    cp build/initramfs $out
-    runHook postInstall
-  '';
+  makeFlags = [ "dest=$(out)" ];
+
+  dontInstall = true;
 
   enableParallelBuilding = true;
 }