summary refs log tree commit diff
path: root/nixos/modules
diff options
context:
space:
mode:
authorFinn Behrens <me@kloenk.de>2023-11-17 16:14:05 +0100
committerBjørn Forsman <bjorn.forsman@gmail.com>2023-11-23 21:33:15 +0100
commit311bee1ee50f621afc7e506a91df1b2aa36b2cab (patch)
tree20f8a8ec378c746368ba0bb5a6c8365b389ab17a /nixos/modules
parent6dae3da25604328648916100d734339e69681b78 (diff)
nixos: fix bcachefs filesystem with symlinks
(cherry picked from commit 6d461357c1350109aa5ce93ec31ef3e27f953980)
Diffstat (limited to 'nixos/modules')
-rw-r--r--nixos/modules/tasks/filesystems/bcachefs.nix1
1 files changed, 1 insertions, 0 deletions
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