From 519de4f62202b37d68403ceff6f32d424d4b62c7 Mon Sep 17 00:00:00 2001 From: Paul Meyer <49727155+katexochen@users.noreply.github.com> Date: Thu, 24 Oct 2024 10:14:15 +0200 Subject: [PATCH] buildVerityUKI: log files system in use Signed-off-by: Paul Meyer <49727155+katexochen@users.noreply.github.com> --- packages/by-name/buildVerityUKI/package.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packages/by-name/buildVerityUKI/package.nix b/packages/by-name/buildVerityUKI/package.nix index cd9ba87f7..55867a38d 100644 --- a/packages/by-name/buildVerityUKI/package.nix +++ b/packages/by-name/buildVerityUKI/package.nix @@ -15,6 +15,9 @@ nixos-config: boot.kernelParams = lib.optional (roothashPlaceholder != "") "roothash=${roothashPlaceholder}"; }).image.overrideAttrs (oldAttrs: { + preBuild = '' + echo Building on file system $(stat -f -c %T .) + ''; nativeBuildInputs = oldAttrs.nativeBuildInputs ++ [ jq ]; # Replace the placeholder with the real root hash. # The real root hash is only known after we build the image, so this