Skip to content

Commit

Permalink
readme: Update om init command
Browse files Browse the repository at this point in the history
resolves #40
  • Loading branch information
srid authored Oct 17, 2024
1 parent eb908f9 commit 78dac57
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,7 @@ A template Rust project with fully functional and no-frills Nix support, as well

You can use [omnix](https://omnix.page/om/init.html)[^omnix] to initialize this template:
```
DIR=~/my-rust-project
mkdir $DIR && cd $DIR
nix --accept-flake-config run github:juspay/omnix -- init github:srid/rust-nix-template -o .
nix --accept-flake-config run github:juspay/omnix -- init github:srid/rust-nix-template -o ~/my-rust-project
```

[^omnix]: If initializing manually, make sure to:
Expand All @@ -18,7 +16,6 @@ nix --accept-flake-config run github:juspay/omnix -- init github:srid/rust-nix-t

## Adapting this template


- There are two CI workflows, and one of them uses Nix which is slower (unless you configure a cache) than the other one based on rustup. Pick one or the other depending on your trade-offs.

## Development (Flakes)
Expand Down

0 comments on commit 78dac57

Please sign in to comment.