From 1453b79eee3c757ef27ade7d6ca636112b926f80 Mon Sep 17 00:00:00 2001 From: ·𐑑𐑴𐑕𐑑𐑩𐑤 Date: Fri, 2 Jan 2026 15:47:47 +0000 Subject: Schema bump: lockfile fields required --- README.rst | 2 +- doc/manifest.rst | 4 ++-- lib/lock_loader.ml | 2 +- lib/lockfile.ml | 2 +- lib/manifest.ml | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/README.rst b/README.rst index 334e138..6c599bd 100644 --- a/README.rst +++ b/README.rst @@ -88,7 +88,7 @@ Set up Fetching latest value for 「nixpkgs」 … Prefetching input 「nixpkgs」 … (this may take a while) Prefetched 「nixpkgs」. - Making manifest file @ version:0.1.0 + Making manifest file @ version:0.1.1 $ tree nix/tamal nix/tamal diff --git a/doc/manifest.rst b/doc/manifest.rst index 3da2154..9d1d74a 100644 --- a/doc/manifest.rst +++ b/doc/manifest.rst @@ -6,7 +6,7 @@ Setting up for pinning down inputs -------------------------------------------------------------------------------- :author: toastal -:version: 0.1.0 +:version: 0.1.1 .. role:: ab .. role:: ac @@ -39,7 +39,7 @@ Default ``manifest.kdl`` .. code:: text - version "0.1.0" + version "0.1.1" inputs { nixpkgs { archive { diff --git a/lib/lock_loader.ml b/lib/lock_loader.ml index 47e804b..f50e102 100644 --- a/lib/lock_loader.ml +++ b/lib/lock_loader.ml @@ -391,7 +391,7 @@ let pp ~version (ppf : Format.formatter) = pf ppf "@.@."; pp_body ~version ppf () -let write ?(version = "0.1.0") () = +let write ?(version = "0.1.1") () = let working_dir = Working_directory.get () in let filepath = Eio.Path.(working_dir / filename) in let () = diff --git a/lib/lockfile.ml b/lib/lockfile.ml index f48452f..36dd069 100644 --- a/lib/lockfile.ml +++ b/lib/lockfile.ml @@ -421,7 +421,7 @@ let jsont : t Jsont.t = |> Object.mem "i" (NameMap.jsont ~kind: "Input" Input'.jsont) ~enc: (fun i -> i.inputs) |> Object.finish -let make ?(version = "0.1.0") () = +let make ?(version = "0.1.1") () = Logs.info (fun m -> m "Making lockfile @@ version:%s …" version); let inputs = Input_foreman.to_lockfile (fun input -> diff --git a/lib/manifest.ml b/lib/manifest.ml index 6c6fa00..1f0f255 100644 --- a/lib/manifest.ml +++ b/lib/manifest.ml @@ -721,7 +721,7 @@ let read () = let () = manifest := Some kdl in Ok kdl -let make ?(version = "0.1.0") () = +let make ?(version = "0.1.1") () = Logs.app (fun m -> m "Making manifest file @@ version:%s" version); let open KDL in let doc = [ -- cgit v1.2.3