From 4c555645aef4d871859c0ab1f6ce0bf2d29a8137 Mon Sep 17 00:00:00 2001 From: 7c6f434c <7c6f434c@mail.ru> Date: Thu, 1 Jan 2026 22:16:38 +0100 Subject: [PATCH] nixos.lvm: fix the check that the extra-tools work --- nixos/modules/tasks/lvm.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/nixos/modules/tasks/lvm.nix b/nixos/modules/tasks/lvm.nix index 326fdb36f093..cce30c38021e 100644 --- a/nixos/modules/tasks/lvm.nix +++ b/nixos/modules/tasks/lvm.nix @@ -137,7 +137,8 @@ in ''; extraUtilsCommandsTest = mkIf (!config.boot.initrd.systemd.enable) '' - ls ${pkgs.vdo}/bin/ | grep -vE '(adaptlvm|vdorecover)' | while read BIN; do + exclude='adaptlvm|vdorecover|vdocalculatesize' + ls ${pkgs.vdo}/bin/ | grep -vE "($exclude)" | while read BIN; do $out/bin/$(basename $BIN) --help > /dev/null done '';