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 ''; }