aboutsummaryrefslogtreecommitdiffstats
path: root/modules/by-name
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--modules/by-name/lf/lf/module.nix6
1 files changed, 5 insertions, 1 deletions
diff --git a/modules/by-name/lf/lf/module.nix b/modules/by-name/lf/lf/module.nix
index 44b7af0e..1c02092d 100644
--- a/modules/by-name/lf/lf/module.nix
+++ b/modules/by-name/lf/lf/module.nix
@@ -82,7 +82,11 @@ in {
&{{
tmp="$(mktemp)"
${lib.getExe pkgs.lf-make-map} --depth 4 generate ~/media ~/repos ~/school >"$tmp"
- lf -remote "send $id source $tmp"
+
+ until lf -remote "send $id source $tmp"; do
+ sleep 0.2
+ done
+
rm "$tmp"
}}
'';