From aed1a5c3a42b58c433db8bbf408404600b59782d Mon Sep 17 00:00:00 2001 From: ยท๐‘‘๐‘ด๐‘•๐‘‘๐‘ฉ๐‘ค Date: Wed, 7 Jan 2026 05:44:38 +0000 Subject: lock loader: fix indentation --- lib/lock_loader.ml | 6 +++--- nix/tamal/default.nix | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/lock_loader.ml b/lib/lock_loader.ml index f50e102..c1648a0 100644 --- a/lib/lock_loader.ml +++ b/lib/lock_loader.ml @@ -169,7 +169,7 @@ let pp_body ~version (ppf : Format.formatter) () = if Features.has Features.file feats then Dynarray.add_last builtin_fetch_ifs ( Fmt.str "@[%a@]" (list ~sep: (any "@.") string) [ - {| if k == 0 then|}; + {|if k == 0 then|}; {| builtin-fetch-url {|}; {| inherit name;|}; {| kind = builtins.elemAt input.kd 1;|}; @@ -198,7 +198,7 @@ let pp_body ~version (ppf : Format.formatter) () = {| }|}; ] ); - pf ppf "@[%a@]@." (list ~sep: (any "@.else ") string) (Dynarray.to_list builtin_fetch_ifs); + pf ppf "@[%a@]@." (list ~sep: (any "@. else ") string) (Dynarray.to_list builtin_fetch_ifs); Dynarray.clear builtin_fetch_ifs; pf ppf {| else@.|}; pf ppf {| throw "Unsupported input kind โ€œ${builtins.toString k}โ€.";@.|}; @@ -370,7 +370,7 @@ let pp_body ~version (ppf : Format.formatter) () = {| }|}; ] ); - pf ppf "@[%a@]@." (list ~sep: (any "@.else ") string) (Dynarray.to_list pkgs_fetch_ifs); + pf ppf "@[%a@]@." (list ~sep: (any "@. else ") string) (Dynarray.to_list pkgs_fetch_ifs); Dynarray.clear pkgs_fetch_ifs; pf ppf {| else@.|}; pf ppf {| throw "Unsupported input kind โ€œ${builtins.toString k}โ€.";@.|}; diff --git a/nix/tamal/default.nix b/nix/tamal/default.nix index 88095a6..2402830 100644 --- a/nix/tamal/default.nix +++ b/nix/tamal/default.nix @@ -126,7 +126,7 @@ let kind = builtins.elemAt input.kd 1; hash = input.ha; } -else if k == 3 then + else if k == 3 then fetch-darcs { inherit name; kind = builtins.elemAt input.kd 1; -- cgit v1.2.3