Fixed things
This commit is contained in:
@@ -21,11 +21,14 @@ nix build .#formatter.x86_64-linux
|
||||
|
||||
### Deploying
|
||||
```bash
|
||||
# Rebuild the azos environment for lauretta (this machine) — use this when asked to "rebuild"
|
||||
sudo nixos-rebuild switch --flake '.?submodules=1#lauretta'
|
||||
nix flake update # Update all inputs
|
||||
nix flake lock --update-input X # Update specific input
|
||||
```
|
||||
|
||||
> **Note**: When the user asks to "rebuild", they mean rebuilding the lauretta environment with the command above — NOT building the VM.
|
||||
|
||||
### Dev Shell & REPL
|
||||
```bash
|
||||
nix develop .#shells.x86_64-linux.default
|
||||
@@ -33,6 +36,12 @@ nix repl
|
||||
:lf .
|
||||
```
|
||||
|
||||
### Ad-hoc Commands
|
||||
If an executable doesn't exist on the system, run it ad-hoc with:
|
||||
```bash
|
||||
nix shell nixpkgs#<package> --command <cmd> <args>
|
||||
```
|
||||
|
||||
## Linting/Formatting
|
||||
|
||||
Uses [alejandra](https://github.com/kamadorama/alejandra):
|
||||
|
||||
Reference in New Issue
Block a user