summaryrefslogtreecommitdiff
path: root/nix/tamal
diff options
context:
space:
mode:
author·𐑑𐑴𐑕𐑑𐑩𐑀2025-12-20 18:46:00 +0000
committer·𐑑𐑴𐑕𐑑𐑩𐑀2025-12-20 18:46:00 +0000
commit1ee0de69fff2a03e046eefeece1dfbce66f524f2 (patch)
tree1d24ef663e7adbc3edf5505c60d6b88813f5126b /nix/tamal
parent9974d0ca602d650e34b94843934266f27bfba5db (diff)
downloadnixtaml-1ee0de69fff2a03e046eefeece1dfbce66f524f2.tar
nixtaml-1ee0de69fff2a03e046eefeece1dfbce66f524f2.tar.gz
nixtaml-1ee0de69fff2a03e046eefeece1dfbce66f524f2.tar.bz2
nixtaml-1ee0de69fff2a03e046eefeece1dfbce66f524f2.tar.lz
nixtaml-1ee0de69fff2a03e046eefeece1dfbce66f524f2.tar.xz
nixtaml-1ee0de69fff2a03e046eefeece1dfbce66f524f2.tar.zst
nixtaml-1ee0de69fff2a03e046eefeece1dfbce66f524f2.zip
newlines to fix tab indentation
I really need to just write to my own buffer if Format isn’t gonna support tabs :|
Diffstat (limited to 'nix/tamal')
-rw-r--r--nix/tamal/default.nix23
1 files changed, 11 insertions, 12 deletions
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