Skip to content

Commit d16cef0

Browse files
authored
Merge pull request #29 from ethancedwards8/nix-docs
README: add nix installation instructions @ethancedwards8 - thank you so much for publishing for nix users, and updating my readme!
2 parents 23b63c5 + 165c32c commit d16cef0

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

README.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,25 @@ Note: `-it` is required for interaction with the application. Setting the `TERM`
6666
docker run --rm -it -e TERM=xterm-256color -v $(pwd):/data ghcr.io/popey/grummage:latest /data/your-sbom.json
6767
```
6868

69+
### Using Nix (macOS/Linux)
70+
71+
Imperative installation
72+
73+
```shell
74+
# using channels
75+
nix-env -iA grummage
76+
# OR with nix flakes
77+
nix profile install nixpkgs#grummage
78+
```
79+
80+
Declarative installation
81+
82+
```nix
83+
environment.systemPackages = with pkgs; [
84+
grummage
85+
];
86+
```
87+
6988
### Using Snap
7089

7190
```shell

0 commit comments

Comments
 (0)