Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

omnixrc: Exit when omnix fails #332

Merged
merged 3 commits into from
Oct 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion crates/omnix-health/crate.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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
];
Expand Down
2 changes: 1 addition & 1 deletion doc/src/om/index.md
Original file line number Diff line number Diff line change
@@ -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.
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.
2 changes: 1 addition & 1 deletion omnixrc
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down