From c110586746cc6ead182878694235d60838f1368f Mon Sep 17 00:00:00 2001 From: Sridhar Ratnakumar Date: Fri, 25 Oct 2024 11:17:56 -0400 Subject: [PATCH 1/3] doc: Update init status --- doc/src/om/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/src/om/index.md b/doc/src/om/index.md index 81b12dc2..e765d139 100644 --- a/doc/src/om/index.md +++ b/doc/src/om/index.md @@ -1,4 +1,4 @@ # The `om` CLI -The Omnix CLI currently provides a fully-functioning [`health`](health.md) and [`ci`](ci.md) commands. The [`show`](show.md) command has basic functionality, whereas the [`init`](init.md) command is not yet ready for wider use. \ No newline at end of file +The Omnix CLI currently provides a fully-functioning [`health`](health.md) and [`ci`](ci.md) commands. The [`show`](show.md) command has basic functionality, whereas the [`init`](init.md) command can be used to scaffold new projects using Nix. From 16865f160c4a64a99a198a502413e9b3f331df29 Mon Sep 17 00:00:00 2001 From: Sridhar Ratnakumar Date: Fri, 25 Oct 2024 11:18:06 -0400 Subject: [PATCH 2/3] nix: Prevent meta.mainProgram warning --- crates/omnix-health/crate.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/omnix-health/crate.nix b/crates/omnix-health/crate.nix index 0605bb74..836049ea 100644 --- a/crates/omnix-health/crate.nix +++ b/crates/omnix-health/crate.nix @@ -25,7 +25,7 @@ in INSPECT_FLAKE NIX_SYSTEMS ; - CACHIX_BIN = lib.getExe pkgs.cachix; + CACHIX_BIN = pkgs.cachix + /bin/cachix; nativeBuildInputs = with pkgs; [ nix # Tests need nix cli ]; From 4634279ac5dc27a8d14cc27145c8ef2c0b7719ba Mon Sep 17 00:00:00 2001 From: Sridhar Ratnakumar Date: Fri, 25 Oct 2024 11:18:40 -0400 Subject: [PATCH 3/3] omnixrc: Exit on omnix failure --- omnixrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/omnixrc b/omnixrc index ad821d5d..b0585651 100644 --- a/omnixrc +++ b/omnixrc @@ -8,7 +8,7 @@ use_omnix() { --accept-flake-config \ --option builders '' \ -j0 \ - run github:juspay/omnix -- hack --stage=pre-shell $* + run github:juspay/omnix -- hack --stage=pre-shell $* || exit 1 use flake ${*:-.} --accept-flake-config