Skip to content

Commit

Permalink
doc: Add description on how to update nix flake
Browse files Browse the repository at this point in the history
  • Loading branch information
BenediktBroich committed Jan 3, 2024
1 parent 061f264 commit 7baccfa
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ Add this to you flake.nix
inputs.lobster.url = "github:justchokingaround/lobster";
```

Add this in you configuration.nix
Add this to you configuration.nix

``` nix
environment.systemPackages = [
Expand All @@ -115,6 +115,13 @@ environment.systemPackages = [
nix run github:justchokingaround/lobster#lobster
```

##### Nixos (Flake) update
When encoutering errors first run the nix flake update command in the cloned project and second add new/missing [dependencies](#dependencies) to the default.nix file. Use the [nixos package search](https://search.nixos.org/packages) to find the correct name.

``` nix
nix flake update
```

#### Mac

```sh
Expand Down

0 comments on commit 7baccfa

Please sign in to comment.