diff options
| author | ยท๐๐ด๐๐๐ฉ๐ค | 2026-01-01 02:43:42 +0000 |
|---|---|---|
| committer | ยท๐๐ด๐๐๐ฉ๐ค | 2026-01-01 02:43:42 +0000 |
| commit | d444bc2cb08ca25e8028ff7335092e31963365a1 (patch) | |
| tree | fab02663b9738420c2d0c04b918f3f04cb1dd3d0 | |
| parent | b8a024754c32acc1cd5d60855828f1756148766e (diff) | |
| download | nixtaml-d444bc2cb08ca25e8028ff7335092e31963365a1.tar nixtaml-d444bc2cb08ca25e8028ff7335092e31963365a1.tar.gz nixtaml-d444bc2cb08ca25e8028ff7335092e31963365a1.tar.bz2 nixtaml-d444bc2cb08ca25e8028ff7335092e31963365a1.tar.lz nixtaml-d444bc2cb08ca25e8028ff7335092e31963365a1.tar.xz nixtaml-d444bc2cb08ca25e8028ff7335092e31963365a1.tar.zst nixtaml-d444bc2cb08ca25e8028ff7335092e31963365a1.zip | |
lock loader: builtins.throw isnโt clearer than throw
| -rw-r--r-- | lib/lock_loader.ml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/lock_loader.ml b/lib/lock_loader.ml index eec3f7c..47e804b 100644 --- a/lib/lock_loader.ml +++ b/lib/lock_loader.ml @@ -120,7 +120,7 @@ let pp_body ~version (ppf : Format.formatter) () = pf ppf {| let failed-urls' = [ url ] ++ failed-urls; in@.|}; pf ppf {| if builtins.length urls <= 0 then@.|}; pf ppf {| let fus = builtins.concatStringsSep " " failed-urls'; in@.|}; - pf ppf {| builtins.throw "Input ใ${name}ใfetchable @@ [ ${fus} ]"@.|}; + pf ppf {| throw "Input ใ${name}ใfetchable @@ [ ${fus} ]"@.|}; pf ppf {| else@.|}; pf ppf {| try-fetch' failed-urls' (builtins.head urls) (builtins.tail urls);@.|}; pf ppf {| in@.|}; |
