From 4a1cad4c4625355d5fcc5febbbafe07878a067f2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Sun, 23 Feb 2025 22:01:44 +0100 Subject: [PATCH] nixos/filesystems: remove unused variable --- nixos/modules/tasks/filesystems.nix | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/nixos/modules/tasks/filesystems.nix b/nixos/modules/tasks/filesystems.nix index 8581a31d2c8e..f98ef3304635 100644 --- a/nixos/modules/tasks/filesystems.nix +++ b/nixos/modules/tasks/filesystems.nix @@ -355,9 +355,7 @@ in } { assertion = ! (any (fs: fs.formatOptions != null) fileSystems); - message = let - fs = head (filter (fs: fs.formatOptions != null) fileSystems); - in '' + message = '' 'fileSystems..formatOptions' has been removed, since systemd-makefs does not support any way to provide formatting options.