summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorยท๐‘‘๐‘ด๐‘•๐‘‘๐‘ฉ๐‘ค2026-01-02 15:47:47 +0000
committerยท๐‘‘๐‘ด๐‘•๐‘‘๐‘ฉ๐‘ค2026-01-02 15:47:47 +0000
commit1453b79eee3c757ef27ade7d6ca636112b926f80 (patch)
treeed523d9620871bd586998e4cf7985359ddb77486
parent3a4d89a19e18bbc199f006464a7d705da8c0fe28 (diff)
downloadnixtaml-1453b79eee3c757ef27ade7d6ca636112b926f80.tar
nixtaml-1453b79eee3c757ef27ade7d6ca636112b926f80.tar.gz
nixtaml-1453b79eee3c757ef27ade7d6ca636112b926f80.tar.bz2
nixtaml-1453b79eee3c757ef27ade7d6ca636112b926f80.tar.lz
nixtaml-1453b79eee3c757ef27ade7d6ca636112b926f80.tar.xz
nixtaml-1453b79eee3c757ef27ade7d6ca636112b926f80.tar.zst
nixtaml-1453b79eee3c757ef27ade7d6ca636112b926f80.zip
Schema bump: lockfile fields required
-rw-r--r--README.rst2
-rw-r--r--doc/manifest.rst4
-rw-r--r--lib/lock_loader.ml2
-rw-r--r--lib/lockfile.ml2
-rw-r--r--lib/manifest.ml2
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 = [