add instructions to diff changes
This commit is contained in:
parent
bf0c92a32a
commit
554449ce31
1 changed files with 21 additions and 0 deletions
21
README.md
21
README.md
|
@ -50,3 +50,24 @@ services. Also, the design will be extendable to allow users to add services not
|
|||
- [X] Database Postgres
|
||||
- [ ] Slow log monitoring.
|
||||
- [ ] Export metrics to Prometheus.
|
||||
|
||||
## Tips
|
||||
|
||||
### Diff changes
|
||||
|
||||
```bash
|
||||
$ nix run nixpkgs#colmena -- build
|
||||
...
|
||||
Built "/nix/store/yyw9rgn8v5jrn4657vwpg01ydq0hazgx-nixos-system-baryum-23.11pre-git"
|
||||
|
||||
# Make some changes
|
||||
|
||||
$ nix run nixpkgs#colmena -- build
|
||||
...
|
||||
Built "/nix/store/16n1klx5cxkjpqhrdf0k12npx3vn5042-nixos-system-baryum-23.11pre-git"
|
||||
|
||||
$ nix run nixpkgs#nix-diff -- \
|
||||
/nix/store/yyw9rgn8v5jrn4657vwpg01ydq0hazgx-nixos-system-baryum-23.11pre-git \
|
||||
/nix/store/16n1klx5cxkjpqhrdf0k12npx3vn5042-nixos-system-baryum-23.11pre-git \
|
||||
--color always | less
|
||||
```
|
||||
|
|
Loading…
Reference in a new issue