diff options
| -rw-r--r-- | lib/lock_loader.ml | 6 | ||||
| -rw-r--r-- | 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 "@[<v 1>%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; |
