From a51ea9ca17622486ba0d44a68f8bf65eb5b47b33 Mon Sep 17 00:00:00 2001 From: Finn Behrens Date: Fri, 17 Nov 2023 16:14:05 +0100 Subject: [PATCH] nixos: fix bcachefs filesystem with symlinks --- nixos/modules/tasks/filesystems/bcachefs.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/nixos/modules/tasks/filesystems/bcachefs.nix b/nixos/modules/tasks/filesystems/bcachefs.nix index d144ce62dc27e..1a1bbf8f6a810 100644 --- a/nixos/modules/tasks/filesystems/bcachefs.nix +++ b/nixos/modules/tasks/filesystems/bcachefs.nix @@ -20,6 +20,7 @@ let printf "waiting for device to appear $path" for try in $(seq 10); do if [ -e $path ]; then + target=$(readlink -f $path) success=true break else