From 1ee0de69fff2a03e046eefeece1dfbce66f524f2 Mon Sep 17 00:00:00 2001 From: ·𐑑𐑴𐑕𐑑𐑩𐑀 Date: Sat, 20 Dec 2025 18:46:00 +0000 Subject: newlines to fix tab indentation I really need to just write to my own buffer if Format isn’t gonna support tabs :| --- nix/tamal/default.nix | 23 +++++++++++------------ 1 file changed, 11 insertions(+), 12 deletions(-) (limited to 'nix/tamal/default.nix') diff --git a/nix/tamal/default.nix b/nix/tamal/default.nix index 95a95f7..a995c23 100644 --- a/nix/tamal/default.nix +++ b/nix/tamal/default.nix @@ -39,8 +39,7 @@ let let failed-urls' = [ url ] ++ failed-urls; in if builtins.length urls <= 0 then let fus = builtins.concatStringsSep " " failed-urls'; in - builtins.throw "Input γ€Œ${name}」 fetchable -[ ${fus} ]" + builtins.throw "Input γ€Œ${name}」fetchable @ [ ${fus} ]" else try-fetch' failed-urls' (builtins.head urls) (builtins.tail urls); in @@ -57,11 +56,11 @@ let builtin-to-input = name: input: let k = builtins.head input.kd; in if k == 1 then - builtin-fetch-tarball { - inherit name; - kind = builtins.elemAt input.kd 1; - hash = input.ha; - } + builtin-fetch-tarball { + inherit name; + kind = builtins.elemAt input.kd 1; + hash = input.ha; + } else throw "Unsupported input kind β€œ${builtins.toString k}”."; @@ -88,11 +87,11 @@ let to-input = name: input: let k = builtins.head input.kd; in if k == 1 then - fetch-zip { - inherit name; - kind = builtins.elemAt input.kd 1; - hash = input.ha; - } + fetch-zip { + inherit name; + kind = builtins.elemAt input.kd 1; + hash = input.ha; + } else throw "Unsupported input kind β€œ${builtins.toString k}”."; in -- cgit v1.2.3