From 4711bd667636e0c52dc06a0bd075d73d65319982 Mon Sep 17 00:00:00 2001 From: Adam Joseph Date: Sat, 24 Sep 2022 03:10:07 -0700 Subject: [PATCH] userspace: remember to runHook --- src/userspace/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/userspace/default.nix b/src/userspace/default.nix index dc97f8d..d4bb8f1 100644 --- a/src/userspace/default.nix +++ b/src/userspace/default.nix @@ -25,6 +25,7 @@ in stdenv.mkDerivation { bannerText = "ownerboot"; installPhase = '' + runHook preInstall mkdir -p $out/usr cp -r ${busybox}/bin $out/bin chmod -R u+w $out @@ -49,5 +50,6 @@ in stdenv.mkDerivation { #cp ${lib.getBin lvm2}/bin/dmsetup $out/bin/ #cp ${cryptsetup}/bin/cryptsetup $out/bin/ #cp ${kexec-tools}/bin/kexec $out/bin/ + runHook postInstall ''; }